The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Section Titles
Is there a way to hide the title of a section. I want a logo as the title. See http://www.fantasyhockeycoach.com/co...-the-press-box I use the logo but then the section title 'The Press Box' seems redundant.
|
#2
|
|||
|
|||
You could edit the template vbcms_content_section_page (in the VBulletin CMS Templates group) and add an <vb:if> around the title, something like this:
Code:
<vb:if condition="$nodeid != 772"> <span>{vb:raw title}</span> </vb:if> |
#3
|
|||
|
|||
that didn't work
|
#4
|
|||
|
|||
Hmm...I tested it before posting, so maybe we're talking about something different? I was thinking you wanted to remove the text "The Press box" that's between the lines, next to the RSS feed icon. Also, in the code I posted above the <vb:if> ... </vb:if> is meant to go around the existing "<span>{vb:raw title}</span>" line, in case that wasn't clear.
|
#5
|
|||
|
|||
Now it works, thanks. Just needed the right placement
--------------- Added [DATE]1341875132[/DATE] at [TIME]1341875132[/TIME] --------------- do i need to put that in multiple times if I have multiple pages I want to do this for? |
#6
|
|||
|
|||
If you have a list of node ids, you could change the if tag to this:
Code:
<vb:if condition="!in_array($nodeid, array(1, 2, 3, ...))"> where you would of course change 1, 2, 3,.. to your list. |
Благодарность от: | ||
fanhockeycoach |
#7
|
|||
|
|||
AWESOME that worked! Thanks
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|