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