Forums / Developer / To override a custom zonelayout
Romeo Antony
Monday 12 July 2010 5:31:09 am
Do anyone know how to overide the custom zonelatout.tpl
is this done the same was as we override templates?
Nicolas Pastorino
Monday 12 July 2010 10:28:52 am
Hi Romeo,
After having defined your new zone layout in an override of zone.ini.append.php, you "just" need to write your custom zone template (copy and modify a standard eZ Flow one). Here is how the zone configuration could look :
[General] AllowedTypes[]=BigPic_and_2columns [BigPic_and_2columns] ZoneTypeName=Big picture at the top, 2 columns below Zones[]=big_picture Zones[]=left_column Zones[]=right_column ZoneName[big_picture]=Big Picture ZoneName[left_column]=Left Column ZoneName[right_column]=Right Column ZoneThumbnail=BigPic_and_2columns.png Template=BigPic_and_2columns.tpl AvailableForClasses[]=frontpage
Let us know,Cheers,
-- Nicolas Pastorino Director Community - eZ Member of the Community Project Board eZ Publish Community on twitter: http://twitter.com/ezcommunity t : http://twitter.com/jeanvoye G+ : http://plus.tl/jeanvoye