Hi guys,
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.
Getting sidebar consistent between ip.Board and ip.Content
Started by Ryan Williams, May 17 2012 11:03 AM
2 replies to this topic
#1
Posted 17 May 2012 - 11:03 AM
#2
Posted 17 May 2012 - 12:57 PM
A handy tip to know is that IP.Content blocks can be used anywhere in the IP.Board templates.
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!
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!
Rikki Tissier - Administrator & IPS Designer/Developer
I have it on good authority that if you type "Google" into Google, you can break the internet.
My flickr photos
I have it on good authority that if you type "Google" into Google, you can break the internet.
My flickr photos
#3
Posted 19 May 2012 - 01:16 PM
Thanks Rikki, that's all very helpful. Is there a simple way to get the sidebar to appear on all pages or would it need manually adding to who knows how many templates? If so, any idea roughly how many we're talking here? Just wondering as I'm not ordering until next week.
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users











