Forums / Setup & design / pagelayout.tpl true override [solved]

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

eZ debug

Timing: Jan 30 2025 21:41:54
Script start
Timing: Jan 30 2025 21:41:54
Module start 'content'
Timing: Jan 30 2025 21:41:54
Module end 'content'
Timing: Jan 30 2025 21:41:54
Script end

Main resources:

Total runtime0.0280 sec
Peak memory usage4,096.0000 KB
Database Queries4

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0076 588.0313370.2891
Module start 'content' 0.00760.0137 958.32031,001.6563
Module end 'content' 0.02140.0065 1,959.976670.7031
Script end 0.0279  2,030.6797 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00269.3664120.0002
Check MTime0.00113.8334120.0001
Mysql Total
Database connection0.00093.247510.0009
Mysqli_queries0.00196.947040.0005
Looping result0.00000.042620.0000
Template Total0.006121.710.0061
Template load0.00093.041110.0009
Template processing0.005218.656810.0052
Override
Cache load0.00062.068110.0006
General
dbfile0.00186.5061100.0002
String conversion0.00000.023030.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1pagelayout.tpl<No override>extension/sevenx/design/simple/templates/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