vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 Design and Graphics Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=168)
-   -   adding additional navbar buttons in custom template (https://vborg.vbsupport.ru/showthread.php?t=231965)

ArnoCoadee 01-02-2010 07:19 PM

adding additional navbar buttons in custom template
 
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
Code:

<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:

Code:

.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
Code:

$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.


All times are GMT. The time now is 12:02 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01392 seconds
  • Memory Usage 1,709KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (3)bbcode_code_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (2)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete