'jsform', 'class'=>'tab-content mt-1' )); // Token CSRF echo Bootstrap::formInputHidden(array( 'name'=>'tokenCSRF', 'value'=>$security->getTokenCSRF() )); // Parent echo Bootstrap::formInputHidden(array( 'name'=>'parent', 'value'=>'' )); // UUID echo Bootstrap::formInputHidden(array( 'name'=>'uuid', 'value'=>$pages->generateUUID() )); // Status = published, draft, sticky, static echo Bootstrap::formInputHidden(array( 'name'=>'type', 'value'=>'published' )); // Cover image echo Bootstrap::formInputHidden(array( 'name'=>'coverImage', 'value'=>'' )); // Content echo Bootstrap::formInputHidden(array( 'name'=>'content', 'value'=>'' )); ?>
g('Cancel') ?>

Cover Image

coverImagePreview $L->g('External Cover Image'))); echo Bootstrap::formInputTextBlock(array( 'name'=>'externalCoverImage', 'placeholder'=>"https://", 'value'=>'', 'tip'=>'Set a cover image from external URL, such as a CDN or some server dedicated for images.' )); ?>

Advanced

'date', 'label'=>'Date', 'placeholder'=>'', 'value'=>Date::current(DB_DATE_FORMAT), 'tip'=>'Date format: YYYY-MM-DD Hours:Minutes:Seconds' )); // Type echo Bootstrap::formSelect(array( 'name'=>'typeTMP', 'label'=>'Type', 'selected'=>'', 'options'=>array( 'published'=>'- Default -', 'sticky'=>'Sticky', 'static'=>'Static' ), 'tip'=>'???' )); // Parent echo Bootstrap::formInputText(array( 'name'=>'parentTMP', 'label'=>$L->g('Parent'), 'placeholder'=>'', 'tip'=>'Start typing a page title to see a list of suggestions.', 'value'=>'' )); // Position echo Bootstrap::formInputText(array( 'name'=>'position', 'label'=>$L->g('Position'), 'tip'=>'Field used when ordering content by position', 'value'=>$pages->nextPositionNumber() )); // Template echo Bootstrap::formInputText(array( 'name'=>'template', 'label'=>'Template', 'placeholder'=>'', 'value'=>'', 'tip'=>'Write a template name to filter the page in the theme and change the style of the page.' )); echo Bootstrap::formTitle(array('title'=>'SEO')); // Tags echo Bootstrap::formInputText(array( 'name'=>'tags', 'label'=>'Tags', 'placeholder'=>'', 'tip'=>'Write the tags separated by comma' )); // Friendly URL echo Bootstrap::formInputText(array( 'name'=>'slug', 'tip'=>$L->g('URL associated with the content'), 'label'=>$L->g('Friendly URL'), 'placeholder'=>'Leave empty for autocomplete by Bludit.' )); echo Bootstrap::formCheckbox(array( 'name'=>'noindex', 'label'=>'Robots', 'labelForCheckbox'=>'Apply noindex to this page', 'placeholder'=>'', 'class'=>'mt-4', 'checked'=>false, 'tip'=>'This tells search engines not to show this page in their search results.' )); echo Bootstrap::formCheckbox(array( 'name'=>'nofollow', 'label'=>'', 'labelForCheckbox'=>'Apply nofollow to this page', 'placeholder'=>'', 'checked'=>false, 'tip'=>'This tells search engines not to follow links on this page.' )); echo Bootstrap::formCheckbox(array( 'name'=>'noarchive', 'label'=>'', 'labelForCheckbox'=>'Apply noarchive to this page', 'placeholder'=>'', 'checked'=>false, 'tip'=>'This tells search engines not to save a cached copy of this page.' )); ?>