Author Topic

Pascal France

Wednesday 24 May 2006 2:35:18 am

Comment22078

To solve the problem, I have to set $module_result.path[1] to $module_result.path[2] in line 32 and 33

Now, I would like to use my new double_top.tpl only when users are logged in and use the section X
So, I did a pagelayout.tpl override:

  3 [pagelayout]
  4 Source=pagelayout.tpl
  5 MatchFile=my_pagelayout.tpl
  6 Subdir=templates
  7 Match[section]=X

But how can I define that my_pagelayout.tpl use "my_double_top.tpl" ?
I tried {include uri="design:my_double_top.tpl"} instead of {menu name=TopMenu} but of course, it doesn't work.

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