ENART.GIGJ.COM
welcome to my space
X
Welcome to:enart.gigj.com
Search:  
NAVIGATION - HOME
Project Tools Link not Visible in NavBar with Customized Style
Published by: anonym 2010-03-18




The code will only show the link to those with permissions to view the project tools and it all seems to work fine.

If any of the vB staff sees this and has a better

  • The project tools insert into the following template hooks, which are variables present in the default navbar template:

    $template_hook[navbar_search_menu]
    $template_hook[navbar_buttons_left]

    You would need to put them in appropriate places in your navbar (you can view the default version for ideas of where they go). If you have trouble with this, I'd have to recommend contacting your designer.


  • Ok.

    I'll see if I can figure this out.

    Thanks.
    Jeff


  • I "think" I found the solution for you. Check out your thread at our forum...

    The problem is it appears you can only use those hooks in the actual navbar. If you try to use them in the header template they do not work (at least I cannot get them to work so I assume they are specific to the navbar template only).

    Since this seems to be a question multiple people have I'll go ahead and share the code I am using. I hope it may be useful to people looking to add the project tools link to the header vs. the navbar.







  • The code will only show the link to those with permissions to view the project tools and it all seems to work fine.

    If any of the vB staff sees this and has a better

    thank you once again!! :)

    this worked perfectly!

  • Or you can hard code it in to the template. Not the best solution but will get you up and running if you have trouble with the hooks and their locaitons.

    Hello.

    How would I hard code it to only appear for the ONE user group which has access to Project Tools?

    Thanks for the help!
    Jeff


  • I "think" I found the solution for you. Check out your thread at our forum...







  • The code will only show the link to those with permissions to view the project tools and it all seems to work fine.

    If any of the vB staff sees this and has a better
    Hello Pank!

    You must be using a graphic for the link, instead of a text link. Can you please tell us what the code would be, when using a typical text link?

    The solution that I implemented, was a bit simpler, but not as thorough as yours. I only have 3 user groups that are allowed to view Project Tools, so I just included their User Group ID's in the IF condition:





    I don't know if the [rel="nofollow"] was necessary or not, but I don't want spiders to crawl my project tools, so I included it. Also, I'm running vBa on my site, so I provided the full URL.

    Your solution does seem more complete though, since you don't have to hard code which user groups are allowed to view the link, and which are not.

    Thanks for sharing!
    :D Jeff

  • The project tools insert into the following template hooks, which are variables present in the default navbar template:

    $template_hook[navbar_search_menu]
    $template_hook[navbar_buttons_left]

    You would need to put them in appropriate places in your navbar (you can view the default version for ideas of where they go). If you have trouble with this, I'd have to recommend contacting your designer.

    The custom style which I'm using by Miner, uses these same variables, he just puts them in the Header instead of the Navbar. Why, since the variables are being used, is it not creating the Project Tools link or the Project Tools search box?

    I wonder if it could be because he is using a different TD Class? Miner is using
  • Hello.

    I have a couple of customized styles that I'm using on my website (http://nashvillechristian.com), which place the navbar code in the header. For some reason on those styles, the Project Tools link does not show up at all. I'm sure that you have run accross this. How do I "fix" it to show the Project Tools link in those styles?

    Thanks!
    Jeff


  • Your customized navbar is missing the necessary template hooks for additional things to be inserted. You'd have to revert and recustomize that template.


  • Or you can hard code it in to the template. Not the best solution but will get you up and running if you have trouble with the hooks and their locaitons.


  • The custom style which I'm using by Miner, uses these same variables, he just puts them in the Header instead of the Navbar. Why, since the variables are being used, is it not creating the Project Tools link or the Project Tools search box?

    I wonder if it could be because he is using a different TD Class? Miner is using
  • instead of the vB default of . Do you think that this may have something to do with the problem?

    Thanks.
    Jeff

    Did you find a solution for this??? I'm having same problem, but my custom style creator did not use the hooks at all... is it possible for you to share an example of how the hooks are used in the header??

  • These two styles were created by another designer, and it is beyond my ability to code to rewrite their styles to place the navigation back in the navbar.

    Is there another work-around? Can I add some snippet of code to the header (where the rest of my navbar code currently is) which would trigger the hook that calls up the Project Tools link? Or is there some snippet of code that I could create a plug-in with that would redirect these efforts and call up the Project Tools link?

    Surely there is some way that I can still use these styles and Project Tools...?

    Thanks.
    Jeff


  • Did you find a solution for this??? I'm having same problem, but my custom style creator did not use the hooks at all... is it possible for you to share an example of how the hooks are used in the header??

    I "think" I found the solution for you. Check out your thread at our forum...

    The problem is it appears you can only use those hooks in the actual navbar. If you try to use them in the header template they do not work (at least I cannot get them to work so I assume they are specific to the navbar template only).

    Since this seems to be a question multiple people have I'll go ahead and share the code I am using. I hope it may be useful to people looking to add the project tools link to the header vs. the navbar.



  • $vbphrase[projects] instead of the vB default of . Do you think that this may have something to do with the problem?

    Thanks.
    Jeff




    Blank page when attempting to edit templates
    Reasons for WorldPay and vB system not accepting order

    You are looking at:enart.gigj.com's Project Tools Link not Visible in NavBar with Customized Style, click enart.gigj.com to home
    #If you have any other info about this subject , Please add it free.#
    Your name:
    E-mail:
    Telphone:

    Your comments:


    If you have any other info about Project Tools Link not Visible in NavBar with Customized Style , Please add it free.
  • 15 year old
  • first time ever taking a picture of a machinest using borrowed strobes from dan no2
  • outdoor senior session
  • e session
  • the d family portraits 3 kids
  • meet rose
  • senior portrait idea
  • look at those eyes
  • hannah loves the outdoors
  • 2 weeks 5 pics
  • first bridal shoot
  • more wedding photos
  • rachel
  • q engagement bridal posing
  • my very first model bryan m
  • angela
  • my first time posting beach session
  • fall wedding
  • i do say she is pretty cute
  • sharing a recent family session c c welcome
  • gorgeous 16 year old
  • recent engagement session c c
  • they re kind of weird
  • a very photogenic baby
  • at the train station
  • more senior pics outdoors
  • a challening session 3 siblings

  • About us -Site map -Advertisement -Jion us -Contact usExchange linksSponsor us
    Copyright© 2008 enart.gigj.com All Rights Reserved
    Site made&Support support@enart.gigj.com    E-mail: web@enart.gigj.com