Page 1 of 1
Where's the html stored?
Posted: Sat Nov 12, 2005 11:42 am
by blehz0r
I need to place 1 line of php code on top of a page, and 2 lines script tags in <head>
where do I do this? can't find the files that contain the html or where it's generated :/
Re: Where's the html stored?
Posted: Sat Nov 12, 2005 11:54 am
by garvinhicking
It's in the *.tpl files of your template. Look at templates/XXX/index.tpl (the index.tpl from the default template is used if it doesn't exist in your directory)
You can place any Smarty markup there. If you need to include PHP code, please follow the advisory of
http://www.s9y.org/78.html.
You can also create Serendipity plugins to insert any PHP or HTML code at the HTML <head> place. The serendipity_event_pagenugget or headnugget for example do that to offer generic HTML metaparts within a plugin, without modifying files.
Regards,
Garvin