default layout.php?

Skinning and designing Serendipity (CSS, HTML, Smarty)
Post Reply
skixc
Regular
Posts: 6
Joined: Wed Dec 13, 2006 6:24 pm

default layout.php?

Post by skixc »

Hi - I am trying to find the default layout.php file. Documentation says that it is located in the templates/default/ but it is not there. I would like to be able to edit this file, but have searched the entire serendipity installation, and it only exists as a modified version within a specific theme (newspaper).

Any help would be appreciated.

Thank you!
carl_galloway
Regular
Posts: 1331
Joined: Sun Dec 04, 2005 5:43 pm
Location: Andalucia, Spain
Contact:

Post by carl_galloway »

Unfortunately that documentation only applies to older versions of Serendipity. The recent versions don't use layout.php anymore. Instead, all templates have their own folder filled with smarty template files. Typically you will want to edit index.tpl and style.css but if you have specific questions then post them here and one of us will point you in the right direction.
skixc
Regular
Posts: 6
Joined: Wed Dec 13, 2006 6:24 pm

default?

Post by skixc »

Thank you - that makes sense. If no template is included in a theme does it use the corresponding template in the templates/default/ folder?
carl_galloway
Regular
Posts: 1331
Joined: Sun Dec 04, 2005 5:43 pm
Location: Andalucia, Spain
Contact:

Post by carl_galloway »

yup, so if you need to edit a file that doesn't exist in your chosen template then copy the file from the default folder into your template folder
Post Reply