Page 1 of 1
current template is using a deprecated template method
Posted: Mon Dec 20, 2004 11:26 pm
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
Posted: Tue Dec 21, 2004 12:11 am
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
Posted: Wed Dec 22, 2004 3:15 pm
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?
Posted: Wed Dec 22, 2004 3:56 pm
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.