Page 1 of 1
default layout.php?
Posted: Wed Dec 13, 2006 6:30 pm
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!
Posted: Wed Dec 13, 2006 6:38 pm
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.
default?
Posted: Wed Dec 13, 2006 6:50 pm
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?
Posted: Wed Dec 13, 2006 6:59 pm
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