Hi!
You can use the serendipity_event_page_nugget plugin. You can install it as often as you need and place code on different position of the page.
Regards
Mario
Placing PHP code in head
Re: Need help?
Please forget what I wrote.
Changes in these files will be overwritten with each update of the theme, so you should fork it (i.e. make your own theme by copying everything to a new directory, changing the theme name in the info.txt file and add your modifications).
There may be another way to do what you want to accomplish with adding that php code, but that depends on what you want to do .
You can add something to the <head> area with serendipity_event_head_nugget. To add something on top of a page, you'll need to edit the template.
You'll find the templates in .../templates/NAME_OF_YOUR_THEME
Changes in these files will be overwritten with each update of the theme, so you should fork it (i.e. make your own theme by copying everything to a new directory, changing the theme name in the info.txt file and add your modifications).
There may be another way to do what you want to accomplish with adding that php code, but that depends on what you want to do .
That won't help with adding something to the <head> area of the HTML file, I think, and if that works for the php code will depend on what that code does ...
Re: Need help?
Hm, I'm using the plugin exactly for that. There are several options to place the nugget on different positions of the html-code:That won't help with adding something to the <head> area of the HTML file, I think, and if that works for the php code will depend on what that code does ...
https://hommel-net.de/owncloud/index.ph ... FtWCbJ9HdM
Re: Need help?
Wow. Didn't know that and didn't check the plugin name. - You're right!MarioH wrote: ↑Fri Jun 22, 2018 4:56 pmHm, I'm using the plugin exactly for that. There are several options to place the nugget on different positions of the html-code:That won't help with adding something to the <head> area of the HTML file, I think, and if that works for the php code will depend on what that code does ...
https://hommel-net.de/owncloud/index.ph ... FtWCbJ9HdM