mirror of
https://github.com/e107inc/e107.git
synced 2025-08-06 06:38:00 +02:00
Added media-category example to _blank plugin. Added 'profile' template to Pages.
This commit is contained in:
@@ -118,8 +118,22 @@ $sc_style['CPAGENAV|default']['post'] = '</div>';
|
|||||||
$PAGE_TEMPLATE['custom']['tableRender'] = '';
|
$PAGE_TEMPLATE['custom']['tableRender'] = '';
|
||||||
|
|
||||||
|
|
||||||
|
$PAGE_WRAPPER['profile']['CMENUIMAGE: template=profile'] = '<span class="news-images-main pull-left col-xs-12 col-sm-4 col-md-4">{---}</span>';
|
||||||
|
$PAGE_TEMPLATE['profile'] = $PAGE_TEMPLATE['default'];
|
||||||
|
$PAGE_TEMPLATE['profile']['body'] = '
|
||||||
|
{CPAGEMESSAGE}
|
||||||
|
{CPAGESUBTITLE}
|
||||||
|
<div class="clear"><!-- --></div>
|
||||||
|
|
||||||
|
{CPAGENAV|default}
|
||||||
|
{SETIMAGE: w=320}
|
||||||
|
{CMENUIMAGE: template=profile}
|
||||||
|
{CPAGEBODY}
|
||||||
|
|
||||||
|
<div class="clear"><!-- --></div>
|
||||||
|
{CPAGERATING}
|
||||||
|
{CPAGEEDIT}
|
||||||
|
';
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
@@ -26,5 +26,8 @@
|
|||||||
<extendedFields>
|
<extendedFields>
|
||||||
<field name="custom" type='EUF_TEXTAREA' default='0' active="true" />
|
<field name="custom" type='EUF_TEXTAREA' default='0' active="true" />
|
||||||
<field name="custom2" type='EUF_ADDON' data="str" default='0' active="true" system="false" text="My Label" />
|
<field name="custom2" type='EUF_ADDON' data="str" default='0' active="true" system="false" text="My Label" />
|
||||||
</extendedFields>
|
</extendedFields>
|
||||||
|
<mediaCategories>
|
||||||
|
<category type="image">Blank Images</category>
|
||||||
|
</mediaCategories>
|
||||||
</e107Plugin>
|
</e107Plugin>
|
||||||
|
Reference in New Issue
Block a user