current template is using a deprecated template method

Skinning and designing Serendipity (CSS, HTML, Smarty)
Post Reply
Guest

current template is using a deprecated template method

Post by Guest »

I see this in my admin. (depreciated is mispelled in the error message) I am using the very latest snapshot. Does this mean that the newer snapshots are not using layout.php? If so, where do I now place my headers and footers to embed into my website?

I also cannot CHANGE the style in the ADMIN section. How is that done?


thanks
tomsommer
Core Developer
Posts: 240
Joined: Tue Sep 02, 2003 6:43 pm
Location: Denmark
Contact:

Post by tomsommer »

0.8 uses smarty and not layout.php for templating. While layout.php still works, it is considered deprecated and use of Smarty is recommended.

You can change everything in the admin by copying the admin folder from the default folder to your theme folder, however be advised that 0.8 is still in alpha state, and the administration is bound to change in some ways - which means you have to sync your admin theme to the changes made in the default theme.

PS. "deprecated" is spelled correctly: http://dictionary.reference.com/search?q=deprecated -- read http://en.wikipedia.org/wiki/Deprecated
Tom Sommer (Serendipity Core Developer)
http://blog.dreamcoder.dk
Guest

Post by Guest »

Thanks for the response.

one more question...Since I use layout.php to put my header and footer in to wrap the blog into my site (the easy method), are the files to edit now in template_c folder?
tomsommer
Core Developer
Posts: 240
Joined: Tue Sep 02, 2003 6:43 pm
Location: Denmark
Contact:

Post by tomsommer »

Anonymous wrote:Thanks for the response.

one more question...Since I use layout.php to put my header and footer in to wrap the blog into my site (the easy method), are the files to edit now in template_c folder?
no, never touch templates_c, those are compiled templates.

Anyway, you should edit the .tpl files, but first move them into your own theme folder.
Tom Sommer (Serendipity Core Developer)
http://blog.dreamcoder.dk
Post Reply