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.

eZ debug

Timing: Jan 20 2025 00:33:16
Script start
Timing: Jan 20 2025 00:33:16
Module start 'layout'
Timing: Jan 20 2025 00:33:16
Module start 'content'
Timing: Jan 20 2025 00:33:17
Module end 'content'
Timing: Jan 20 2025 00:33:17
Script end

Main resources:

Total runtime1.2791 sec
Peak memory usage4,096.0000 KB
Database Queries63

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0054 590.4219152.6406
Module start 'layout' 0.00540.0028 743.062539.4922
Module start 'content' 0.00831.2692 782.5547565.5938
Module end 'content' 1.27740.0016 1,348.148416.1250
Script end 1.2790  1,364.2734 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00330.2545160.0002
Check MTime0.00130.1054160.0001
Mysql Total
Database connection0.00090.068510.0009
Mysqli_queries1.213294.8463630.0193
Looping result0.00070.0539610.0000
Template Total1.245397.420.6226
Template load0.00220.172820.0011
Template processing1.243097.180620.6215
Template load and register function0.00010.008010.0001
states
state_id_array0.00090.068710.0009
state_identifier_array0.00090.067320.0004
Override
Cache load0.00190.1501400.0000
Sytem overhead
Fetch class attribute can translate value0.00050.039020.0002
Fetch class attribute name0.00140.106070.0002
XML
Image XML parsing0.00120.091420.0006
class_abstraction
Instantiating content class attribute0.00000.0018100.0000
General
dbfile0.00250.1974220.0001
String conversion0.00000.000740.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1node/view/full.tplfull/forum_topic.tplextension/sevenx/design/simple/override/templates/full/forum_topic.tplEdit templateOverride template
5content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
5content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
9content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
4content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
1content/datatype/view/ezxmltags/literal.tpl<No override>extension/community/design/standard/templates/content/datatype/view/ezxmltags/literal.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 26
 Number of unique templates used: 7

Time used to render debug report: 0.0001 secs