Different pagelayout.tpl file in same site????

Author Message

Leandro Alves

Tuesday 10 June 2003 10:51:58 am

Hi All!!!

How Can I have different pagelayout.tpl files for different parts of my site or dynamically change it based on e.g. the current user???

Sample:

Main pagelayout.tpl

| table | table | table |
| menu-left | Content | news |

When I choose an option on the menu-left I want the page (pagelayout.tpl) like that:

| table | table |
| menu-left | Content |

How Can I do this??

I have only one site... I don´t have many of this for use "pagelayout_section"

Any doubts??? :-)

Please replay!!!

Regards,
Leandro

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 18 2025 11:00:09
Script start
Timing: Jan 18 2025 11:00:09
Module start 'layout'
Timing: Jan 18 2025 11:00:09
Module start 'content'
Timing: Jan 18 2025 11:00:09
Module end 'content'
Timing: Jan 18 2025 11:00:09
Script end

Main resources:

Total runtime0.0188 sec
Peak memory usage2,048.0000 KB
Database Queries3

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0070 589.1641152.6406
Module start 'layout' 0.00700.0042 741.804739.4766
Module start 'content' 0.01120.0051 781.281385.2578
Module end 'content' 0.01640.0025 866.539130.3047
Script end 0.0188  896.8438 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.002915.3007140.0002
Check MTime0.00137.0469140.0001
Mysql Total
Database connection0.00105.423710.0010
Mysqli_queries0.003719.489630.0012
Looping result0.00000.106310.0000
Template Total0.001910.210.0019
Template load0.00115.619810.0011
Template processing0.00094.548210.0009
Override
Cache load0.00084.166110.0008
General
dbfile0.00031.332280.0000
String conversion0.00000.054440.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 1
 Number of unique templates used: 1

Time used to render debug report: 0.0001 secs