Author Topic: Adding something to every page  (Read 2662 times)

Offline Omir

  • Jr. Member
  • **
  • Posts: 26
Adding something to every page
« on: October 24, 2014, 06:56:39 AM »
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?

Offline JohnDoh

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 2,855
Re: Adding something to every page
« Reply #1 on: October 24, 2014, 08:27:27 AM »
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ā€¦

Offline Omir

  • Jr. Member
  • **
  • Posts: 26
Re: Adding something to every page
« Reply #2 on: October 24, 2014, 09:42:01 AM »
I want to add it as first child of the body tag ideally