mirror of
https://github.com/e107inc/e107.git
synced 2025-03-14 01:19:44 +01:00
Added media-category example to _blank plugin. Added 'profile' template to Pages.
This commit is contained in:
parent
1e61f3f374
commit
d9ca7d9791
@ -118,8 +118,22 @@ $sc_style['CPAGENAV|default']['post'] = '</div>';
|
||||
$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>
|
||||
<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" />
|
||||
</extendedFields>
|
||||
</extendedFields>
|
||||
<mediaCategories>
|
||||
<category type="image">Blank Images</category>
|
||||
</mediaCategories>
|
||||
</e107Plugin>
|
||||
|
Loading…
x
Reference in New Issue
Block a user