Forums / Extensions / eZ Flow / Custom the layout list selon the section or object

"Please Note:
  • At the specific request of Ibexa we are changing this projects name to "Exponential" or "Exponential (CMS)" effective as of August, 11th 2025.
  • This project is not associated with the original eZ Publish software or its original developer, eZ Systems or Ibexa".

Custom the layout list selon the section or object

Author Message

Bin LIU

Friday 18 April 2008 3:21:19 am

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

=== Lagardère Active ===

Fetch random
http://projects.ez.no/la_fetch_random
LA Static Cache
http://projects.ez.no/lastaticcache
LA Bookmarks (jquery)
http://projects.ez.no/labookmark
LA Calendar (jquery)
http://projects.ez.no/lacalendar

My site ez
http://lingping.info