New pagelayout for article view ?

New pagelayout for article view ?

Thursday 25 May 2006 6:23:08 am - 3 replies

Author Message

Pascal France

Thursday 25 May 2006 12:43:59 pm

Hi André,

I think you are French, so I would suggest you to read the eZ publish doc that you can find in french (not all the doc, but enough to know what you need to begin with eZP):

http://www.linuxorable.net/ez_publish/index.php/linuxorable/documentation_ez_publish

Related to your override problem, you can read:

http://www.linuxorable.net/ez_publish/index.php/linuxorable/documentation_ez_publish/templates_modeles/the_template_override_system_systeme_de_surcharge_de_template

Regards

Pascal

Ce qui embellit le désert c'est qu'il cache un puits... quelque part... (A. de Saint-Exupéry) - http://luxpopuli.fr/eZ-Publish

Marcin Drozd

Friday 26 May 2006 1:44:08 am

Hi André

You can override pagelayout.tpl for class 'article' and remove a part of template code (with {menu name=LeftMenu} and change {$maincontentstyle} in <div id="maincontent" class="{$maincontentstyle}">
or
in your original pagelayout.tpl add code

{if $module_result.content_info.class_identifier|eq('article')}
 do without leftmenu
{else}
 with leftmenu
{/if}

http://ez-publish.pl

André Deschamps

Saturday 27 May 2006 6:19:20 am

Hello Pascal !

Thank you for the doclink. Excellent work.

Hello Marcin !

Thanks for your generosity. Very helpful.

André

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

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.