LIFT Text Transcoder Administrators Manual:: In addition to adding such a visible text only link (for the benefit of those You can process these files with the tools that you usually use for processing http://lift.american.edu:8080/tt/admin-help.htmlHOME | 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? Microscopy ListServer Archive Output:: Our SEM was originally supplied with a Robinson scintillator style detector. because low-contrasted parts are not visible). Is it normal? http://www.microscopy.com/cgi-bin/ReadPrintEmailHTML.pl?filename=0701.txtHOME |
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!
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:
$vbphrase[projects] |
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
Ok.
I'll see if I can figure this out.
Thanks.
Jeff
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
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 instead of the vB default of | |