Roundcube Community Forum

 

Adding something to every page

Started by Omir, October 24, 2014, 06:56:39 AM

Previous topic - Next topic

Omir

Sorry it's probably been asked before but I couldn't find from a search.

I'm looking for the easiest way to add a custom div to every page from PHP side rather than inserting to the dom with JS?

JohnDoh

it depends where on the screen you want it. both the classic and larry skins have have an includes folder with header/footer files. you can also do it with a plugin using the render_page hook.
Roundcube Plugins: Contextmenu, SpamAssassin Prefs, and more...

Omir

I want to add it as first child of the body tag ideally