pagelayout.tpl true override [solved]

Author Message

minius minius

Monday 20 April 2009 12:52:26 am

hi,

Can somebody help...

Instalation plain_site.
I override pagelayout (by all condition):

[pagelayout_puslapis]
Source=pagelayout.tpl
MatchFile=pagelayout_puslapis.tpl
Subdir=templates

It works, but show news titles, welcom information (node_id - 2)..
How it remove from pagelayout ?? That pagelayout will be clear..

Maybe need override some other templates ?

I solved it by my self - i override folder_full.tpl and it's ok :)

Olivier Portier

Tuesday 28 April 2009 2:44:42 am

Hi,

The node_id 2 is the default node for index page.
To change the content you can :
1- edit the node 2 and change is content,

2- switch any content with node 2, you can do that with the administration interface, left click on the little icone in front of any content,

3- define a specific node as IndexPage by changing some configuration in the <i>settings/siteaccess/plain_site/site.ini.append.php</i> :

[SiteSettings]
...
IndexPage=/content/view/full/2/
...

Change 2 by the node your home content node_id.

4- If you want to clear the result from the root page, do a override rule on node 2 and load a empty template.

Hope this will help you
Regards
Olivier

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 31 2025 01:35:13
Script start
Timing: Jan 31 2025 01:35:13
Module start 'layout'
Timing: Jan 31 2025 01:35:13
Module start 'content'
Timing: Jan 31 2025 01:35:13
Module end 'content'
Timing: Jan 31 2025 01:35:13
Script end

Main resources:

Total runtime0.0278 sec
Peak memory usage6,144.0000 KB
Database Queries3

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0065 588.2500151.2266
Module start 'layout' 0.00650.0044 739.4766220.7031
Module start 'content' 0.01100.0152 960.1797997.9141
Module end 'content' 0.02610.0016 1,958.093829.9922
Script end 0.0277  1,988.0859 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.002910.2831140.0002
Check MTime0.00114.1277140.0001
Mysql Total
Database connection0.00103.753510.0010
Mysqli_queries0.003211.578030.0011
Looping result0.00000.054110.0000
Template Total0.00124.210.0012
Template load0.00093.109910.0009
Template processing0.00031.083010.0003
Override
Cache load0.00062.087910.0006
General
dbfile0.00238.314580.0003
String conversion0.00000.024940.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