PDA

View Full Version : adding additional navbar buttons in custom template


ArnoCoadee
01-02-2010, 07:19 PM
hi folks,

i try to add a additional link Button to the vBdesigns.de Cyborg style?.

ok, i've already created the gfx for the buttons?
now i go into AdminCP/Style Manager?choose my style and select "all style options"
i will see now several editors? the two sections i need to hack are the
header section and the Additional CSS Definitions.

in the header there is this line
<div class="c_calendar"><a class="c_calendar" href="http://www.dreamslayerartworks.com/manor/index.php" title="old DSA Forum"><span>$vbphrase[calendar]</span></a></div>

if i just go and dublicate the line it works as expected?now i have two calendar buttons side by side..
the defination for the c_calendar class is in the Additional CSS Definitions Section:

.c_calendar{ background:url(/designs/cyborg-dark/archive_c.jpg);float:left;display:block; width:82px; height:33px; }
.c_calendar a:hover { background:url(/designs/cyborg-dark/archive_ch.jpg); }

now i dublicate these 2 lines and change c_calendar into c_something
i also change the grafix file?..
ok, now i can add a div class=c_something to my header?.

but the funny thing is that i'll only get a textlink beside the calendar button saying calendar?

ok, now what i'm doing or understanding wrong here?
i think it has something to do with
$vbphrase[calendar]
but i dont know how to add my own phrase and how they need to be..

Hell Bomb
01-03-2010, 12:34 AM
Can you provide a link to the website you are attempting the edit. A link to the website will allow us to see the css and the template code. Ill try and help from there.