3.4 -> pagelayout.tpl. How to add external "module" ?

Author Message

laurent le cadet

Wednesday 23 June 2004 8:07:21 am

Hi,

Since the last release of eZp, the pagelayout.tpl is very very different.
It seems to be base on modules which are organise by the Menu Management.

So now there no more <table> in the code of the pagelayout.tpl.

I just want to add few lines :

		{literal}
		<SCRIPT LANGUAGE="JavaScript" SRC="http://www.meteofrance.com/FR/partenaires/vignetteMeteoVille3.jsp?LIEUID=FR29058" TYPE="text/javascript"></SCRIPT>
		{/literal}

To print the weather forecast under the left menu but only on one override pagelayout.
So I can't write the additional script directely in the flat_left.tpl.

I tryed in the pagelayout itself but I can't manage to print it under the left menu with the main content at the right place.

I think it's just a question of stylesheet, but I can't find the solution.

I hope that it is comprehensible.

Laurent.

Alex Jones

Wednesday 23 June 2004 8:39:12 am

Laurent, if it is a stylesheet issue, we will need to see the page and the stylesheet it uses to diagnose the problem.

Regarding flat_left.tpl, can you not copy that file into a new one where you can add the code and then override flat_left.tpl for just the page you want it to show up on?

Alex

Alex
[ bald_technologist on the IRC channel (irc.freenode.net): #eZpublish ]

<i>When in doubt, clear the cache.</i>

laurent le cadet

Wednesday 23 June 2004 8:47:42 am

Hi Alex,

Everythings seems to be so different that I forgot the basics of eZp. :))
SURE ! I'll override the flat_left.tpl.

Sorry and thanks.

Laurent

Alex Jones

Wednesday 23 June 2004 8:55:16 am

No problem. :) It happens to all of us.

Alex

Alex
[ bald_technologist on the IRC channel (irc.freenode.net): #eZpublish ]

<i>When in doubt, clear the cache.</i>

laurent le cadet

Friday 25 June 2004 2:45:22 am

Hi...back again :)

I told about basics of eZp but the 3.4 is different.
I made a custom flat_left.tpl, my_flat_left.tpl and I put it in .../mysite_design/templates/parts.

But I don't know where and how to declare it for a specific section (I can't find where the original flat_left.tpl is declare).

I need more help. Sorry.

Laurent.

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