The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
![]()
Hello,
I've a page landing as homepage and I want to avoid adding text like "Home" in Navigation manager but rather to use a Home icon like in my WP template at: http://www.dimoslagada.com/ Is there anyway to do it? Thank you |
#2
|
||||
|
||||
![]()
Edit the phrase, and make it an image, or edit the navigation manager entry and make it an image?
|
#3
|
||||
|
||||
![]() Quote:
But thanks to your suggestion I just got an idea. As it will be just for my site I can modify the template and add something like: Code:
<vb:if condition="THIS_SCRIPT == '.....'"> <img border="0" src="active.png"> <vb:else /> <a href="..."><img border="0" src="inactive.png"></a> </vb:if> Thank you !! --------------- Added [DATE]1415464398[/DATE] at [TIME]1415464398[/TIME] --------------- Well, I was able to add it on the way that I said before, but my try to make it professional using the Plugin system currently stucks. I want to place it on the hook: navtab_start but seems that using as hookname: navigation_tab_complete is not the right one. My code (in the xml file) is: Code:
<plugin active="1" executionorder="90"> <title>Index: Home Tab</title> <hookname>navigation_tab_complete</hookname> <phpcode><![CDATA[ $template_hook['navtab_start'] .= vB_Template::create('index_hometab')->render(); ]]></phpcode> </plugin> HTML Code:
<template name="index_hometab" templatetype="template" date="" username="" version="1.0.0"> <![CDATA[ <vb:if condition="THIS_SCRIPT == 'index'"> <img border="0" src="images/portal/misc/navhome_active.png" style="float:left;"> <vb:else /> <a href=""><img border="0" src="images/portal/misc/navhome_inactive.png" style="float:left;"></a> </vb:if> ]]></template> |
![]() |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|