当前位置: 首页>>代码示例>>PHP>>正文


PHP ff_get_section_preview_image_url函数代码示例

本文整理汇总了PHP中ff_get_section_preview_image_url函数的典型用法代码示例。如果您正苦于以下问题:PHP ff_get_section_preview_image_url函数的具体用法?PHP ff_get_section_preview_image_url怎么用?PHP ff_get_section_preview_image_url使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。


在下文中一共展示了ff_get_section_preview_image_url函数的11个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。

示例1: ff_get_section_preview_image_url

<?php

/** @var $s ffOneStructure */
################################################################################
# CONTACT FORM 1 START
################################################################################
$s->startSection('contact-form-2', ffOneSection::TYPE_REPEATABLE_VARIATION)->addParam('section-name', 'Contact Form 2')->addParam('hide-default', true)->addParam('advanced-picker-menu-title', 'Common')->addParam('advanced-picker-menu-id', 'common')->addParam('advanced-picker-section-image', ff_get_section_preview_image_url('contact-form-2'));
$s->addElement(ffOneElement::TYPE_TABLE_START);
$s->addElement(ffOneElement::TYPE_TABLE_DATA_START, '', 'Preview');
$s->addElement(ffOneElement::TYPE_HTML, '', '<img src="' . ff_get_section_preview_image_url('contact-form-2') . '" width="250">');
$s->addElement(ffOneElement::TYPE_TABLE_DATA_END);
ff_load_section_options('section-settings-block', $s);
$s->addElement(ffOneElement::TYPE_TABLE_DATA_START, '', 'Contact Form');
$s->startSection('contact-form');
$s->addOption(ffOneOption::TYPE_TEXT, 'name', 'Name', 'name');
$s->addElement(ffOneElement::TYPE_NEW_LINE);
$s->addOption(ffOneOption::TYPE_TEXT, 'email', 'Email', 'email');
$s->addElement(ffOneElement::TYPE_NEW_LINE);
$s->addOption(ffOneOption::TYPE_TEXT, 'subject', 'Subject', 'subject');
$s->addElement(ffOneElement::TYPE_NEW_LINE);
$s->addOption(ffOneOption::TYPE_TEXT, 'message', 'Message', 'message');
$s->addElement(ffOneElement::TYPE_NEW_LINE);
$s->addOption(ffOneOption::TYPE_TEXT, 'button', 'Button', 'Submit');
$s->addElement(ffOneElement::TYPE_NEW_LINE);
$s->endSection();
$s->addElement(ffOneElement::TYPE_TABLE_DATA_END);
$s->addElement(ffOneElement::TYPE_TABLE_DATA_START, '', 'Contact Form User Data');
$s->startSection('contact-form-user-input');
$s->addOption(ffOneOption::TYPE_TEXT, 'email', 'Your email address (where to receive emails)', 'your@email.com');
$s->addElement(ffOneElement::TYPE_NEW_LINE);
$s->addOption(ffOneOption::TYPE_TEXT, 'subject', 'Subject of the emails received', 'Milo contact form');
开发者ID:migumuno,项目名称:nordicainteriores,代码行数:31,代码来源:contact-form-2-section.php

示例2: ff_get_section_preview_image_url

<?php

/**********************************************************************************************************************/
/* Twitter sections
/**********************************************************************************************************************/
$s->startSection('twitter', ffOneSection::TYPE_REPEATABLE_VARIATION)->addParam('section-name', 'Twitter')->addParam('hide-default', true)->addParam('advanced-picker-menu-title', 'Common')->addParam('advanced-picker-menu-id', 'common')->addParam('advanced-picker-section-image', ff_get_section_preview_image_url('twitter'));
$s->addElement(ffOneElement::TYPE_TABLE_START);
$s->addElement(ffOneElement::TYPE_TABLE_DATA_START, '', 'Preview');
$s->addElement(ffOneElement::TYPE_HTML, '', '<img src="' . ff_get_section_preview_image_url('twitter') . '" width="250">');
$s->addElement(ffOneElement::TYPE_TABLE_DATA_END);
//
ff_load_section_options('section-settings-block', $s);
//
//		ff_load_section_options( '/templates/onePage/blocks/section-background-block.php', $s);
$s->addElement(ffOneElement::TYPE_TABLE_DATA_START, '', 'Twitter');
$s->startSection('fw_twitter');
$s->addOption(ffOneOption::TYPE_TEXT, 'username', 'Username', '_freshface');
$s->addElement(ffOneElement::TYPE_NEW_LINE);
$s->addOption(ffOneOption::TYPE_TEXT, 'number-of-tweets', 'Number of Tweets', '5');
$s->addElement(ffOneElement::TYPE_NEW_LINE);
$s->addOption(ffOneOption::TYPE_TEXT, 'caching-time-in-minutes', 'Caching time in minutes', '60');
$s->addElement(ffOneElement::TYPE_NEW_LINE);
// $this->_auth['consumerKey'], $this->_auth['consumerSecret'], $this->_auth['accessToken'], $this->_auth['accessTokenSecret']
$s->addOption(ffOneOption::TYPE_TEXT, 'consumer-key', 'Consumer Key');
$s->addElement(ffOneElement::TYPE_NEW_LINE);
$s->addOption(ffOneOption::TYPE_TEXT, 'consumer-secret', 'Consumer Secret');
$s->addElement(ffOneElement::TYPE_NEW_LINE);
$s->addOption(ffOneOption::TYPE_TEXT, 'access-token', 'Access Token');
$s->addElement(ffOneElement::TYPE_NEW_LINE);
$s->addOption(ffOneOption::TYPE_TEXT, 'access-token-secret', 'Access Token Secret');
$s->addElement(ffOneElement::TYPE_NEW_LINE);
开发者ID:migumuno,项目名称:nordicainteriores,代码行数:31,代码来源:twitter-section.php

示例3: ff_get_section_preview_image_url

<?php

/**********************************************************************************************************************/
/* Blog Archive Masonry
/**********************************************************************************************************************/
/** @var ffOneStructure $s  */
$s->startSection('blog-archive-masonry', ffOneSection::TYPE_REPEATABLE_VARIATION)->addParam('section-name', 'Blog Archive Masonry')->addParam('hide-default', true)->addParam('advanced-picker-menu-title', 'Blog')->addParam('advanced-picker-menu-id', 'blog')->addParam('advanced-picker-section-image', ff_get_section_preview_image_url('blog-archive-masonry'));
$s->addElement(ffOneElement::TYPE_TABLE_START);
$s->addElement(ffOneElement::TYPE_TABLE_DATA_START, '', 'Preview');
$s->addElement(ffOneElement::TYPE_HTML, '', '<img src="' . ff_get_section_preview_image_url('blog-archive-masonry') . '" width="250">');
$s->addElement(ffOneElement::TYPE_TABLE_DATA_END);
ff_load_section_options('section-settings-block', $s);
//
//		ff_load_section_options( '/templates/onePage/blocks/section-settings-block.php', $s);
//
//		ff_load_section_options( '/templates/onePage/blocks/section-background-block.php', $s);
ff_load_section_options('blog-meta-block', $s);
$s->addElement(ffOneElement::TYPE_TABLE_DATA_START, '', 'General');
$s->addOption(ffOneOption::TYPE_SELECT, 'number-of-columns', 'Number of columns', 3)->addSelectNumberRange(1, 5);
$s->addElement(ffOneElement::TYPE_NEW_LINE);
$s->addOption(ffOneOption::TYPE_TEXT, 'number-of-posts', 'Number of posts', '0');
$s->addElement(ffOneElement::TYPE_DESCRIPTION, '', 'Set how many posts should be rendered. This does not influence WP loop (use our Fresh Custom Loops plugin for that)');
$s->addElement(ffOneElement::TYPE_NEW_LINE);
$s->addOption(ffOneOption::TYPE_CHECKBOX, 'readmore-show', 'Show Read More', 1);
$s->addElement(ffOneElement::TYPE_NEW_LINE);
$s->addOption(ffOneOption::TYPE_TEXT, 'readmore-trans', 'Read More', 'Read More');
$s->addElement(ffOneElement::TYPE_NEW_LINE);
$s->addElement(ffOneElement::TYPE_TABLE_DATA_END);
$s->addElement(ffOneElement::TYPE_TABLE_DATA_START, '', 'Categories');
ff_load_section_options('loop-influence-post-block', $s);
$s->addElement(ffOneElement::TYPE_TABLE_DATA_END);
开发者ID:migumuno,项目名称:nordicainteriores,代码行数:31,代码来源:blog-archive-masonry-section.php

示例4: ff_get_section_preview_image_url

<?php

/** @var $s ffOneStructure */
################################################################################
# NUMBERED SERVICES START
################################################################################
$s->startSection('numbered-services', ffOneSection::TYPE_REPEATABLE_VARIATION)->addParam('section-name', 'Numbered services')->addParam('hide-default', true)->addParam('advanced-picker-menu-title', 'Common')->addParam('advanced-picker-menu-id', 'common')->addParam('advanced-picker-section-image', ff_get_section_preview_image_url('numbered-services'));
$s->addElement(ffOneElement::TYPE_TABLE_START);
$s->addElement(ffOneElement::TYPE_TABLE_DATA_START, '', 'Preview');
$s->addElement(ffOneElement::TYPE_HTML, '', '<img src="' . ff_get_section_preview_image_url('numbered-services') . '" width="250">');
$s->addElement(ffOneElement::TYPE_TABLE_DATA_END);
ff_load_section_options('section-settings-block', $s);
$s->addElement(ffOneElement::TYPE_TABLE_DATA_START, '', 'Numbered services');
$s->startSection('numbered-services', ffOneSection::TYPE_REPEATABLE_VARIABLE);
$s->startSection('one-service', ffOneSection::TYPE_REPEATABLE_VARIATION)->addParam('section-name', 'One service');
//                    $s->addElement( ffOneElement::TYPE_TABLE_START );
ff_load_section_options('bootstrap-columns-block', $s, array('sm' => 3));
//                    $s->addElement( ffOneElement::TYPE_TABLE_END );
$s->addOption(ffOneOption::TYPE_TEXT, 'title', 'Title', 'Identity');
$s->addElement(ffOneElement::TYPE_NEW_LINE);
$s->addOption(ffOneOption::TYPE_TEXTAREA, 'description', 'Description', 'Lorem ipsum dolor sit amet, unde lactus ur elit, sed do eiusmod omis.');
$s->addElement(ffOneElement::TYPE_NEW_LINE);
$s->addOption(ffOneOption::TYPE_TEXT, 'link', 'Link', '#');
$s->addElement(ffOneElement::TYPE_NEW_LINE);
$s->addOption(ffOneOption::TYPE_TEXT, 'link-text', 'Link Text', 'Read More');
$s->endSection();
$s->endSection();
$s->addElement(ffOneElement::TYPE_TABLE_DATA_END);
$s->addElement(ffOneElement::TYPE_TABLE_END);
$s->endSection();
################################################################################
开发者ID:migumuno,项目名称:nordicainteriores,代码行数:31,代码来源:numbered-services-section.php

示例5: ff_get_section_preview_image_url

<?php

/**********************************************************************************************************************/
/* Blog Classic Archive
/**********************************************************************************************************************/
/** @var ffOneStructure $s  */
$s->startSection('portfolio-archive-parallax', ffOneSection::TYPE_REPEATABLE_VARIATION)->addParam('section-name', 'Portfolio Archive Parallax')->addParam('hide-default', true)->addParam('advanced-picker-menu-title', 'Portfolio')->addParam('advanced-picker-menu-id', 'portfolio')->addParam('advanced-picker-section-image', ff_get_section_preview_image_url('portfolio-archive-parallax'));
$s->addElement(ffOneElement::TYPE_TABLE_START);
$s->addElement(ffOneElement::TYPE_TABLE_DATA_START, '', 'Preview');
$s->addElement(ffOneElement::TYPE_HTML, '', '<img src="' . ff_get_section_preview_image_url('portfolio-archive-parallax') . '" width="250">');
$s->addElement(ffOneElement::TYPE_TABLE_DATA_END);
$s->addElement(ffOneElement::TYPE_TABLE_DATA_START, '', 'Featured Image');
$s->startSection('featured-image');
$s->addOption(ffOneOption::TYPE_SELECT, 'link', 'Link points to', 'lightbox')->addSelectValue('Specified in portfolio single (item or external link)', 'button')->addSelectValue('Nowhere', 'nowhere');
$s->addElement(ffOneElement::TYPE_NEW_LINE);
$s->addOption(ffOneOption::TYPE_CHECKBOX, 'resize', 'Resize featured image?', 0);
$s->addElement(ffOneElement::TYPE_NEW_LINE);
$s->addElement(ffOneElement::TYPE_DESCRIPTION, 'd', 'Original size is 1920x1500 px');
$s->addElement(ffOneElement::TYPE_NEW_LINE);
$s->addOption(ffOneOption::TYPE_TEXT, 'width', 'Width (px)', 1920);
$s->addElement(ffOneElement::TYPE_NEW_LINE);
$s->addOption(ffOneOption::TYPE_TEXT, 'height', 'Height (px)', 1500);
$s->addElement(ffOneElement::TYPE_NEW_LINE);
$s->endSection();
$s->addElement(ffOneElement::TYPE_TABLE_DATA_END);
$s->addElement(ffOneElement::TYPE_TABLE_DATA_START, '', 'General');
$s->addOption(ffOneOption::TYPE_TEXT, 'date-format', 'Date Format', 'd F Y');
$s->addElement(ffOneElement::TYPE_NEW_LINE);
$s->addOption(ffOneOption::TYPE_CHECKBOX, 'readmore-show', 'Show Read More', 1);
$s->addElement(ffOneElement::TYPE_NEW_LINE);
$s->addOption(ffOneOption::TYPE_TEXT, 'readmore-trans', 'Read More', 'Continue Reading');
开发者ID:migumuno,项目名称:nordicainteriores,代码行数:31,代码来源:portfolio-archive-parallax-section.php

示例6: ff_get_section_preview_image_url

<?php

/** @var $s ffOneStructure */
################################################################################
# GENERAL SERVICE START
################################################################################
$s->startSection('title-and-breadcrumbs', ffOneSection::TYPE_REPEATABLE_VARIATION)->addParam('section-name', 'Title and Breadcrumbs')->addParam('hide-default', true)->addParam('advanced-picker-menu-title', 'Header')->addParam('advanced-picker-menu-id', 'header')->addParam('advanced-picker-section-image', ff_get_section_preview_image_url('title-and-breadcrumbs'));
$s->addElement(ffOneElement::TYPE_TABLE_START);
$s->addElement(ffOneElement::TYPE_TABLE_DATA_START, '', 'Preview');
$s->addElement(ffOneElement::TYPE_HTML, '', '<img src="' . ff_get_section_preview_image_url('title-and-breadcrumbs') . '" width="250">');
$s->addElement(ffOneElement::TYPE_TABLE_DATA_END);
// ff_load_section_options( 'section-settings-block', $s );
$s->startSection('background');
$s->addElement(ffOneElement::TYPE_TABLE_DATA_START, '', 'Color type');
$s->addOption(ffOneOption::TYPE_SELECT, 'color-type', '', '')->addSelectValue('Light BG / Dark text', '')->addSelectValue('Dark BG / Light text, version #1', 'dark-1')->addSelectValue('Dark BG / Light text, version #2', 'dark-2');
$s->addElement(ffOneElement::TYPE_NEW_LINE);
$s->addOption(ffOneOption::TYPE_SELECT, 'margin-bottom', 'Margin bottom (px)', 'default')->addSelectValue('Default', 'default')->addSelectValue('0', '0')->addSelectNumberRange(5, 250, 5);
$s->addElement(ffOneElement::TYPE_TABLE_DATA_END);
$s->addElement(ffOneElement::TYPE_TABLE_DATA_START, '', 'Background');
ff_load_section_options('section-background-block', $s);
$s->addElement(ffOneElement::TYPE_TABLE_DATA_END);
$s->endSection();
$s->addElement(ffOneElement::TYPE_TABLE_DATA_START, '', 'Title');
$s->addOption(ffOneOption::TYPE_CHECKBOX, 'show-title', 'Show title', 1);
$s->addElement(ffOneElement::TYPE_NEW_LINE);
$s->startSection('translation');
$s->addOption(ffOneOption::TYPE_TEXT, 'title-front-page', 'Front Page', get_bloginfo('name'));
$s->addElement(ffOneElement::TYPE_NEW_LINE);
$s->addOption(ffOneOption::TYPE_TEXT, 'title-posts-page', 'Posts Page', 'Blog');
$s->addElement(ffOneElement::TYPE_NEW_LINE);
$s->addOption(ffOneOption::TYPE_TEXT, 'title-404', '404', '404 Not Found');
开发者ID:migumuno,项目名称:nordicainteriores,代码行数:31,代码来源:title-and-breadcrumbs-section.php

示例7: ff_get_section_preview_image_url

<?php

/** @var $s ffOneStructure */
################################################################################
# PORTFOLIO START
################################################################################
$s->startSection('portfolio-single-description', ffOneSection::TYPE_REPEATABLE_VARIATION)->addParam('section-name', 'Portfolio Single Description')->addParam('hide-default', true)->addParam('advanced-picker-menu-title', 'Common')->addParam('advanced-picker-menu-id', 'common')->addParam('advanced-picker-section-image', ff_get_section_preview_image_url('portfolio-single-description'));
$s->addElement(ffOneElement::TYPE_TABLE_START);
$s->addElement(ffOneElement::TYPE_TABLE_DATA_START, '', 'Preview');
$s->addElement(ffOneElement::TYPE_HTML, '', '<img src="' . ff_get_section_preview_image_url('portfolio-single-description') . '" width="250">');
$s->addElement(ffOneElement::TYPE_TABLE_DATA_END);
ff_load_section_options('section-settings-block', $s);
$s->addElement(ffOneElement::TYPE_TABLE_DATA_START, '', 'General');
$s->startSection('boxes', ffOneSection::TYPE_REPEATABLE_VARIABLE);
$s->startSection('detail-box', ffOneSection::TYPE_REPEATABLE_VARIATION)->addParam('section-name', 'Detail box');
ff_load_section_options('bootstrap-columns-block', $s, array('sm' => 4));
$s->startSection('details', ffOneSection::TYPE_REPEATABLE_VARIABLE);
$s->startSection('one-detail', ffOneSection::TYPE_REPEATABLE_VARIATION)->addParam('section-name', 'One detail');
$s->addOption(ffOneOption::TYPE_TEXT, 'title', 'Detail title', 'Client:');
$s->addElement(ffOneElement::TYPE_NEW_LINE);
$s->addOption(ffOneOption::TYPE_TEXT, 'content', 'Detail content', 'Soft easy company');
$s->addElement(ffOneElement::TYPE_NEW_LINE);
$s->endSection();
$s->endSection();
$s->endSection();
$s->startSection('text-box', ffOneSection::TYPE_REPEATABLE_VARIATION)->addParam('section-name', 'Text box');
ff_load_section_options('bootstrap-columns-block', $s, array('sm' => 4));
$s->addOption(ffOneOption::TYPE_CHECKBOX, 'show-title', 'Show title', 1);
$s->addElement(ffOneElement::TYPE_NEW_LINE);
$s->addOption(ffOneOption::TYPE_TEXT, 'title', 'Detail title', 'Sed ut omis elit unde om nis iste natus volupta.');
$s->addElement(ffOneElement::TYPE_NEW_LINE);
开发者ID:migumuno,项目名称:nordicainteriores,代码行数:31,代码来源:portfolio-single-description-section.php

示例8: ff_get_section_preview_image_url

<?php

/** @var $s ffOneStructure */
################################################################################
# INFO SLIDER START
################################################################################
$s->startSection('info-slider', ffOneSection::TYPE_REPEATABLE_VARIATION)->addParam('section-name', 'Info slider')->addParam('hide-default', true)->addParam('advanced-picker-menu-title', 'Common')->addParam('advanced-picker-menu-id', 'common')->addParam('advanced-picker-section-image', ff_get_section_preview_image_url('info-slider'));
$s->addElement(ffOneElement::TYPE_TABLE_START);
ff_load_section_options('section-settings-block', $s);
$s->addElement(ffOneElement::TYPE_TABLE_DATA_START, '', 'Info slider');
$s->startSection('items', ffOneSection::TYPE_REPEATABLE_VARIABLE);
$s->startSection('one-item', ffOneSection::TYPE_REPEATABLE_VARIATION)->addParam('section-name', 'One item');
$s->addOption(ffOneOption::TYPE_TEXT, 'over-title', 'Over title', 'It\'s responsive');
$s->addElement(ffOneElement::TYPE_NEW_LINE);
$s->addOption(ffOneOption::TYPE_TEXT, 'title', 'Title', 'Take a look');
$s->addElement(ffOneElement::TYPE_NEW_LINE);
$s->addOption(ffOneOption::TYPE_TEXTAREA, 'description', 'Description', 'Sed ut perspiciatis unde omnis iste natus error sit voluptatem accusantium doloremque laudantium, totamrem aperiam, eaque ipsa quae ab illo invent ore veritatis et quasi architecto beatae vitae dicta sunt explicabo. Nemo enim ipsam voluptatem quia voluptas sit.');
$s->addElement(ffOneElement::TYPE_NEW_LINE);
$s->addOption(ffOneOption::TYPE_IMAGE, 'picture', 'Photo', '');
$s->endSection();
$s->endSection();
$s->addElement(ffOneElement::TYPE_TABLE_DATA_END);
$s->addElement(ffOneElement::TYPE_TABLE_END);
$s->endSection();
################################################################################
# INFO SLIDER START
################################################################################
开发者ID:migumuno,项目名称:nordicainteriores,代码行数:27,代码来源:info-slider-section.php

示例9: ff_get_section_preview_image_url

<?php

################################################################################
# HTML START
################################################################################
/** @var $s ffOneStructure */
$s->startSection('html', ffOneSection::TYPE_REPEATABLE_VARIATION)->addParam('section-name', 'HTML')->addParam('hide-default', true)->addParam('advanced-picker-menu-title', 'Special')->addParam('advanced-picker-menu-id', 'special')->addParam('advanced-picker-section-image', ff_get_section_preview_image_url('html'));
$s->addElement(ffOneElement::TYPE_TABLE_START);
$s->addElement(ffOneElement::TYPE_TABLE_DATA_START, '', 'Preview');
$s->addElement(ffOneElement::TYPE_HTML, '', '<img width="250" src="' . ff_get_section_preview_image_url('html') . '">');
$s->addElement(ffOneElement::TYPE_TABLE_DATA_END);
$s->startSection('html-section-settings');
ff_load_section_options('section-settings-block', $s);
$s->endSection();
// ff_load_section_options( '/templates/onePage/blocks/section-background-block.php', $s);
$s->addElement(ffOneElement::TYPE_TABLE_DATA_START, '', 'HTML');
$s->addOption(ffOneOption::TYPE_CHECKBOX, 'wrap-with-section', 'Wrap with section (settings above)', 1);
$s->addElement(ffOneElement::TYPE_NEW_LINE);
$s->addOption(ffOneOption::TYPE_TEXTAREA, 'html', 'HTML', '');
$s->addElement(ffOneElement::TYPE_TABLE_DATA_END);
$s->addElement(ffOneElement::TYPE_TABLE_END);
$s->endSection();
################################################################################
# HTML END
################################################################################
开发者ID:migumuno,项目名称:nordicainteriores,代码行数:25,代码来源:html-section.php

示例10: ff_get_section_preview_image_url

<?php

/** @var $s ffOneStructure */
################################################################################
# PRICING tables START
################################################################################
$s->startSection('pricing-tables', ffOneSection::TYPE_REPEATABLE_VARIATION)->addParam('section-name', 'Pricing Tables')->addParam('hide-default', true)->addParam('advanced-picker-menu-title', 'Common')->addParam('advanced-picker-menu-id', 'common')->addParam('advanced-picker-section-image', ff_get_section_preview_image_url('pricing-tables'));
$s->addElement(ffOneElement::TYPE_TABLE_START);
$s->addElement(ffOneElement::TYPE_TABLE_DATA_START, '', 'Preview');
$s->addElement(ffOneElement::TYPE_HTML, '', '<img src="' . ff_get_section_preview_image_url('pricing-tables') . '" width="250">');
$s->addElement(ffOneElement::TYPE_TABLE_DATA_END);
ff_load_section_options('section-settings-block', $s);
$s->addElement(ffOneElement::TYPE_TABLE_DATA_START, '', 'Pricing table');
$s->startSection('tables', ffOneSection::TYPE_REPEATABLE_VARIABLE);
$s->startSection('one-table', ffOneSection::TYPE_REPEATABLE_VARIATION)->addParam('section-name', 'One table');
$s->addElement(ffOneElement::TYPE_TABLE_START);
$s->addElement(ffOneElement::TYPE_TABLE_DATA_START, '', 'Bootstrap Columns Options and animations');
ff_load_section_options('bootstrap-columns-block', $s, array('sm' => 4));
ff_load_section_options('animation-block', $s);
$s->addElement(ffOneElement::TYPE_TABLE_DATA_END);
$s->addElement(ffOneElement::TYPE_TABLE_DATA_START, '', 'Header');
$s->addOption(ffOneOption::TYPE_TEXT, 'title', 'Title', 'Starter');
$s->addElement(ffOneElement::TYPE_NEW_LINE);
$s->addOption(ffOneOption::TYPE_TEXT, 'price', 'Price', '25');
$s->addElement(ffOneElement::TYPE_NEW_LINE);
$s->addOption(ffOneOption::TYPE_TEXT, 'currency', 'Currency', '$');
$s->addElement(ffOneElement::TYPE_NEW_LINE);
$s->addOption(ffOneOption::TYPE_TEXT, 'time-period', 'Time period', 'per month');
$s->addElement(ffOneElement::TYPE_NEW_LINE);
$s->addElement(ffOneElement::TYPE_TABLE_DATA_END);
$s->addElement(ffOneElement::TYPE_TABLE_DATA_START, '', 'Content');
开发者ID:migumuno,项目名称:nordicainteriores,代码行数:31,代码来源:pricing-tables-section.php

示例11: ff_get_section_preview_image_url

<?php

/** @var $s ffOneStructure */
################################################################################
# FUN FACTS WITH COUNTERS START
################################################################################
$s->startSection('fun-facts-with-counters', ffOneSection::TYPE_REPEATABLE_VARIATION)->addParam('section-name', 'Fun facts with counters')->addParam('hide-default', true)->addParam('advanced-picker-menu-title', 'Common')->addParam('advanced-picker-menu-id', 'common')->addParam('advanced-picker-section-image', ff_get_section_preview_image_url('fun-facts-with-counters'));
$s->addElement(ffOneElement::TYPE_TABLE_START);
$s->addElement(ffOneElement::TYPE_TABLE_DATA_START, '', 'Preview');
$s->addElement(ffOneElement::TYPE_HTML, '', '<img src="' . ff_get_section_preview_image_url('fun-facts-with-counters') . '" width="250">');
$s->addElement(ffOneElement::TYPE_TABLE_DATA_END);
ff_load_section_options('section-settings-block', $s);
$s->addElement(ffOneElement::TYPE_TABLE_DATA_START, '', 'Fun facts');
$s->startSection('facts', ffOneSection::TYPE_REPEATABLE_VARIABLE);
$s->startSection('one-fact', ffOneSection::TYPE_REPEATABLE_VARIATION)->addParam('section-name', 'One fact');
ff_load_section_options('bootstrap-columns-block', $s, array('sm' => 3));
$s->addOption(ffOneOption::TYPE_ICON, 'icon', '', 'ff-font-miu icon-chat56');
$s->addElement(ffOneElement::TYPE_NEW_LINE);
$s->addElement(ffOneElement::TYPE_NEW_LINE);
$s->addOption(ffOneOption::TYPE_TEXT, 'title', 'Title', 'Satisfied clients');
$s->addElement(ffOneElement::TYPE_NEW_LINE);
$s->addOption(ffOneOption::TYPE_TEXT, 'quantity', 'Quantity', '139');
$s->addElement(ffOneElement::TYPE_NEW_LINE);
$s->endSection();
$s->endSection();
$s->addElement(ffOneElement::TYPE_TABLE_DATA_END);
$s->addElement(ffOneElement::TYPE_TABLE_END);
$s->endSection();
################################################################################
# FUN FACTS WITH COUNTERS END
################################################################################
开发者ID:migumuno,项目名称:nordicainteriores,代码行数:31,代码来源:fun-facts-with-counters-section.php


注:本文中的ff_get_section_preview_image_url函数示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。