Register Login
   
 Latest Posts  
[Pager] in Latest Articles
by robax on 7/06/2008 12:45 AM
RE: [PAGER] Color Control
by robax on 7/06/2008 12:34 AM
RE: Sites using News Articles
by BlackWarlock on 7/06/2008 12:19 AM
[PAGER] Color Control
by BlackWarlock on 7/06/2008 12:10 AM
RE: Upgrade chicken-egg-question
by goblanks on 7/05/2008 3:46 PM
Launch Links set causes different page skin to load
by mhiles on 7/05/2008 2:44 PM
RE: News Articles 00.06.13 Released! Error
by mhiles on 7/05/2008 3:31 AM
RE: Upgrade chicken-egg-question
by SPulley on 7/04/2008 8:26 PM
RE: Standards compliant
by llong on 7/04/2008 6:11 PM
User Opt out
by llong on 7/04/2008 5:52 PM
 Forums  
Subject: Add [ISCURRENT] Token & [ISNOTCURRENT] Token to the Header Template
Prev Next
You are not authorized to post a reply.

AuthorMessages
tmalerUser is Offline
Gold Membership
Nuke Wiz
Nuke Wiz
Posts:158


5/07/2008 5:28 AM  

Scott

Can you add these tokens to the header template.  I have to wrap the [PARENTNAME] with different styles, if if current or not current.  [ISINROLE] would be another create token for this module. :)


Tim Maler
www.2mstudiodesign.com
Scott McCullochUser is Offline
Administrators

Posts:10711


5/07/2008 6:12 AM  
Will do!

Scott McCulloch
Site Administrator
avi aUser is Offline
Registered Users
Nuke Master
Nuke Master
Posts:513

5/07/2008 11:06 AM  
tmaler,
if it's a parent tab how can it be current?

Avi A
Nukedesigners.com W3C valid skins for dotnetnuke
tmalerUser is Offline
Gold Membership
Nuke Wiz
Nuke Wiz
Posts:158


5/07/2008 11:15 AM  

I agree with the logic, but it helps with setting up styles like 
class="LinkName[ISCURRENT]Active[/ISCURRENT]", so now i can have the parent name highlight or bold, etc...


Tim Maler
www.2mstudiodesign.com
avi aUser is Offline
Registered Users
Nuke Master
Nuke Master
Posts:513

5/07/2008 11:36 AM  
I think what you're looking for in the header is: class="[CURRENTTABID]".
i think what you did will always be the same. if I'm not wrong.

Avi A
Nukedesigners.com W3C valid skins for dotnetnuke
avi aUser is Offline
Registered Users
Nuke Master
Nuke Master
Posts:513

5/07/2008 11:41 AM  
and in case you' like it you will have to start it with some letters first:class="id[currenttabid]"

Avi A
Nukedesigners.com W3C valid skins for dotnetnuke
Scott McCullochUser is Offline
Administrators

Posts:10711


5/08/2008 7:32 AM  
I see what you mean avi, if we were to place this in the header, the [ISCURRENT] could really only go on the selected page or the current page.

Scott McCulloch
Site Administrator
tmalerUser is Offline
Gold Membership
Nuke Wiz
Nuke Wiz
Posts:158


5/08/2008 7:47 AM  

scott This is what i am trying to do without have to add two instance of the module is you are on the parent page if will dispaly the current div and if you are on the sub page it will dispaly the second div.  The current tokens work perfect if you are not on that page.

View Image







Tim Maler
www.2mstudiodesign.com
tmalerUser is Offline
Gold Membership
Nuke Wiz
Nuke Wiz
Posts:158


5/08/2008 7:51 AM  

i have to add an image example


Tim Maler
www.2mstudiodesign.com
avi aUser is Offline
Registered Users
Nuke Master
Nuke Master
Posts:513

5/19/2008 4:59 AM  
Just came to my mind, that that one can do what you have suggested?:(in the header)
[CURRENTTAB:XXX]some html[/CURRENTTAB:XXX]
[CURRENTTAB:XXX]etc"l[/CURRENTTAB:XXX]

Avi A
Nukedesigners.com W3C valid skins for dotnetnuke
tmalerUser is Offline
Gold Membership
Nuke Wiz
Nuke Wiz
Posts:158


5/19/2008 5:34 AM  

Thanks for the help. i will test this out.


Tim Maler
www.2mstudiodesign.com
Scott McCullochUser is Offline
Administrators

Posts:10711


5/19/2008 7:18 AM  
Tim, let me know if it works or I'll make those other changes.

Scott McCulloch
Site Administrator
tmalerUser is Offline
Gold Membership
Nuke Wiz
Nuke Wiz
Posts:158


5/19/2008 7:29 AM  

No the tokens do not work in this module.  Thanks for trying.


Tim Maler
www.2mstudiodesign.com
You are not authorized to post a reply.
Forums > Modules > Child Links > Add [ISCURRENT] Token & [ISNOTCURRENT] Token to the Header Template



ActiveForums 3.7