Quote:
|
Quote:
|
It's right near the top of this artilces forum - vB4 Template Conditionals List
|
Lynn So all i should do is just create plugin and put the code
PHP Code:
Thanks alot! |
Quote:
|
Lyyne,
Im happy that it added to the navbar, but that keep "Forum" tab selected and show the "Forum" sublinks. PHP Code:
|
Is there a page that has THIS_SCRIPT defined as "albumtab"? If not, then the subnav will never show and the tab won't be highlighted. Your condition needs to be a valid, unique condition.
|
OK i got it, THIS_SCRIPT apear in the php file.
But what if i want to redirect to page such as www.site.com/content.php?r=5-News ? I cant do that? Thanks alot! |
Sure you can redirect to that - why can't you? If you want to have the tab highlighted at that time, then you will need to write a unique condition for it (when r == 5-News) and most likely modify the condition for when the CMS Home tab shows up to NOT be highlighted if r == 5-News.
|
Im having problems with getting tabs to show for only one usergroup
Im guessign its a case of using an IF statement but i cant work out where it needs to go or what needs to be in it my site the final link to the team portal i want to be visable to only one user group (game crew (id 9)) but i cant work out how to do it :P im still trying to get my head around the new coding and ways of doing things the site is mainly just a test at the moment however once i have it working i will be putting the ideas in to use on the main forum Thanks for the great guide Lynne its been really helpfull PS. Sorry if someone has already asked this |
All times are GMT. The time now is 01:31 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 | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|