Important: This page is using cookies (cookies). Using this website without turning off cookies in browser, means that you agree for using it.
Buy Now! Features Downloads

Earn with us!

If you would like to start earning money with vBET join to Affiliate Program.
Results 1 to 7 of 7

Thread: link in navbar

  1. #1
    Banned
    Join Date
    Oct 2010
    Posts
    3

    Default link in navbar

    Hi

    I have a custom vb skin installed with a custom navbar template and I want to include "Translations" menu item with a dropdown manually. (take a look at the top: you see User CP,FAQ,Community,Calendar,New Posts etc)
    But I cannot find a code for this. Google Chrome developer tool display me :

    Code:
    <a id="vbettranslations" href="$show[nojs_link]#vbettranslations" accesskey="5" style="cursor: pointer; "><img class="vbet-flag vbet-en" width="16" height="11" src="images/vbet/flags/clear.gif" alt="English" border="0" title="English">Translations <img src="images/002/misc/menu_open.gif" border="0" title="" alt=""></a>
    <img class="vbet-flag vbet-en" width="16" height="11" src="images/vbet/flags/clear.gif" alt="English" border="0" title="English">
    "Translations"<img src="images/002/misc/menu_open.gif" border="0" title="" alt=""></a><script type="text/javascript"> vbmenu_register("vbettranslations"); </script>
    I'm not sure that it's correct. I tried VB Search Templates but without success.



    Could you please help me.

    Thanks

  2. #2
    Senior Member
    Join Date
    Sep 2010
    Posts
    256

    Default

    You don't need the code, simply put this $vbenterprisetranslatorflagsdropdown wherever you want the dropdown to appear

  3. #3
    Banned
    Join Date
    Oct 2010
    Posts
    3

    Default

    Thanks. But all links in my navbar have a custom css class

    I.e.
    <a id="vbettranslations" class="customclass" href="$show[nojs_link]#vbettranslations" accesskey="5" style="cursor: pointer; ">

    what file should I edit?

    Thanks again

  4. #4
    vBulletin Enterprise Translator (vBET) Staff
    Join Date
    May 2010
    Posts
    1,000

    Default

    Hello,
    As Simon said. Go to admincp->vBET->Flags->Translations dropdown menu position, read a description, set option to custom and paste only $vbenterprisetranslatorflagsdropdown to the navbar template
    (only $vbenterprisetranslatorflagsdropdown, without any code more)
    Just try it, if not working - try another position.

  5. #5
    vBulletin Enterprise Translator (vBET) Staff
    Join Date
    May 2010
    Posts
    1,000

    Default

    I would like to know how it looks on your forum (this navbar)
    Can you paste a url to your site here?

  6. #6
    Banned
    Join Date
    Oct 2010
    Posts
    3

    Default

    Hi

    thanks for the help. Well, it does work great.
    I cannot give you a link cause this is a private forums, but here is a screenshot:
    http://webdesignbe.com/misc/screen.jpg

    I'll try to CSS this link now, I think I'm able to do it now.

    Thanks again

  7. #7
    vBulletin Enterprise Translator (vBET) Staff
    Join Date
    May 2010
    Posts
    1,000

    Default

    ok, solved. I will move this thread to troubleshooting

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •