vBulletin Mods

The Official vBulletin Modifications Site
https://www.vbulletin.org/forum/showthread.php?t=307178

Sideblock header colour option.
by Davey-UK
18 Jan 2014 07:49

2 Attachment(s)
Hello all,

Does anyone have an idea as to how i would create another option for the header colour of forum blocks.

Ie: In my forum sidebar, the colour of the custom_html header is by default the same colour as my forum categories header.

I want to create a block for the sidebar with a different colour header for more important blocks.
When selecting the type of block on creation, maybe another option of "custom html red" or something like.
Please reply if you have any idea how to do this.
I have added a couple of screenshots to highlight what i mean.
Thanks.

ozzy47 18 Jan 2014 09:51

What you could do is for the Template to Use you are choosing, is copy that template, rename it and add it as a new template, add your markup in the code, then save it and choose the new template for that block.

Davey-UK 18 Jan 2014 10:09

Thanks ozzy. I tried that, but how to get it in the list is the problem.
What i have done is copy the code of block_html and create a template called blueblock_html.

What would i do now for that to appear in the list of "template to use"??
Thanks for getting involved. :)

ozzy47 18 Jan 2014 10:30

I would not worry about it showing up in the list, can't you just manually type it in, and it works?

Davey-UK 18 Jan 2014 10:33

Quote:

Originally Posted by ozzy47 (Post 2475123)
I would not worry about it showing up in the list, can't you just manually type it in, and it works?

God i'm a dumb ass. Brilliant thankyou. Works!!

ozzy47 18 Jan 2014 10:47

LOL, no problem, sometimes the simple stuff is the hardest to figure out. :)


All times are GMT. The time now is 18:30.

Powered by vBulletin® Version 3.8.14
Copyright © 2021, MH Sub I, LLC dba vBulletin. All Rights Reserved. vBulletin® is a registered trademark of MH Sub I, LLC
Copyright ©2001 - , vbulletin.org. All rights reserved.