phpbb specific forum page styles
I am using phpbb on a site for a client, and the client has requested that each different forum page have a different background color.
Such functionality is not built into phpbb (from what I can tell), so how should I go about doing this? Can I modify th开发者_Go百科e code of phpbb directly?
My other thought was to use a js conditional statement, but seeing as the only difference on the forums page would be the page title, I don't know how I could format this.
If you can include a js in a way that won't break when the software is updated then that would be preferable, using the forum id from the url perhaps?
Otherwise, this is a stab in the dark, but try this:
- Find where phpbb outputs the <head>
- Use a switch/case statement and output the necessary css based on the forum ids.
- Document exactly where you made the changes, and remember that you may need to make them again when phpbb is updated to new versions.
精彩评论