Tweeki
Tweeki copied to clipboard
Dynamic Sidebar Content
Hello.
Is it possible to have content in one of the sidebars be different based on the page you are displaying?
I have some content I'd like displayed, but it wouldn't exist for every page and when it did, it would be unique to that page.
This is currently not easily achievable but it's a feature I've already been thinking about. If you're fluent in PHP I could provide you with some hints on how a possible implementation could look like. Patches are always warmly welcome ;) I will probably implement this myself but it could take a while...
Unfortunately, my PHP is lackluster. I've really only made it this far by studying what code does, breaking it repeatedly until I get it to do what I want. If I could contribute I would, but I have a feeling this is a little out of my purview. I'll just have to wait I suppose.
Thanks though!
@zaksquatch it is already possible to hide the sidebar depending on the page, so maybe that's a start to work from (in the tutorial: "Hide navigational sections on specific namespaces")