Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email
?
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
Home
Help
Search
Login
Register
Roundcube Community Forum
»
News and Announcements
»
General Discussion
»
Adding something to every page
« previous
next »
Print
Pages: [
1
]
Author
Topic: Adding something to every page (Read 2662 times)
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?
Logged
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.
Logged
Roundcube Plugins
: Contextmenu, SpamAssassin Prefs, and moreā¦
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
Logged
Print
Pages: [
1
]
« previous
next »
Roundcube Community Forum
»
News and Announcements
»
General Discussion
»
Adding something to every page