Getting sidebar consistent between ip.Board and ip.Content
Posted 17 May 2012 - 11:03 AM
I'm looking to do something fairly basic and have ip.Content handle static features on my forum. There's not going to be a separate home page so I'm looking to essentially integrate the two so that I have a global sidebar; rather than ip.Board and ip.Content having their own sidebars, I want them to have the same aesthetically consistent one.
I can see this can probably be accomplished through getting into the templates, but simply copying across from one sidebar to the other doesn't work and the class names aren't consistent, so clearly I'll have to get much more involved. However I'm trying to keep this as hands-off as possible to keep maintenance simple, so is there an easier way of doing this I'm missing?
I know I can use a hook to get the board index sidebar to show up on all board pages, so that area is covered.
Posted 17 May 2012 - 12:57 PM
So, what you could do is build your sidebar as an IP.Content block (you could add content feeds, plugins or custom content - whatever you want), then simply include block that in your forum template and in your IP.Content templates.
To make it even easier, IP.Content pages can use the IP.Board wrapper. So you can edit your skin to include the sidebar that you created as a block, and then when you create your IP.Content pages, set them to use the IP.Board wrapper. All pages will automatically show with that sidebar in the template
Hope that helps!
I have it on good authority that if you type "Google" into Google, you can break the internet.
My flickr photos
Posted 19 May 2012 - 01:16 PM
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users