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 :/
Where's the html stored?
-
garvinhicking
- Core Developer
- Posts: 30022
- Joined: Tue Sep 16, 2003 9:45 pm
- Location: Cologne, Germany
- Contact:
Re: Where's the html stored?
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
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
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/