eZ Community » Forums » Extensions » eZ Flow » Custom the layout list selon the...
expandshrink

Custom the layout list selon the section or object

Custom the layout list selon the section or object

Friday 18 April 2008 12:21:19 pm

By default ezflow, it list all layout in each frontpage.

for custom the layout list selon the section or object

Overload the content/datatype/edit/ezpage.tpl line 13

{foreach ezini( 'General', 'AllowedTypes', 'zone.ini' ) as $allowed_type}

by

{foreach ezini( "Section_name or object ID or whatever param", 'AllowedTypes', 'zone.ini' ) as $allowed_type}

and zone.ini :

[section_toto]
AllowedTypes[]=4ZonesTOTO1
[section_titi]
AllowedTypes[]=3zoneTITI
AllowedTypes[]=2zoneTITI

No reply yet!

expandshrink

You must be logged in to post messages in this topic!

36 542 Users on board!

Forums menu

Proudly Developed with from