Register   Login
     
  Latest Posts  
captcha still proken
by StatisticsIO on 11/23/2008 6:11 AM
RE: Comments RSS feeds
by StatisticsIO on 11/23/2008 6:09 AM
Regions and Copuntry List scripts for Location Types
by rodneyjoyce on 11/23/2008 4:56 AM
RE: BUG: Sort by: Price
by usheen on 11/23/2008 1:23 AM
RE: News Articles 301 Redirect
by mcox on 11/22/2008 11:16 PM
RE: I cant get rss feeds to work correctly
by davidthomson on 11/22/2008 11:14 PM
Google Maps
by bmurphy on 11/22/2008 11:11 PM
RE: News Articles 301 Redirect
by swebster on 11/22/2008 10:47 PM
RE: News Articles 301 Redirect
by mcox on 11/22/2008 10:22 PM
RE: News Articles 301 Redirect
by swebster on 11/22/2008 9:22 PM
  Forums  
Subject: Add [ISCURRENT] Token & [ISNOTCURRENT] Token to the Header Template
Prev Next
You are not authorized to post a reply.

Author Messages
tmalerUser is Offline
Gold Membership
Nuke Wiz
Nuke Wiz
Posts:170


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.dvdlit.com
Scott McCullochUser is Offline
Administrators
Nuke Master
Nuke Master
Posts:12448


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

Scott McCulloch
Site Administrator
avi aUser is Offline
Gold Membership
Nuke Master
Nuke Master
Posts:653

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:170


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.dvdlit.com
avi aUser is Offline
Gold Membership
Nuke Master
Nuke Master
Posts:653

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
Gold Membership
Nuke Master
Nuke Master
Posts:653

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
Nuke Master
Nuke Master
Posts:12448


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:170


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.dvdlit.com
tmalerUser is Offline
Gold Membership
Nuke Wiz
Nuke Wiz
Posts:170


5/08/2008 7:51 AM  

i have to add an image example


Tim Maler
www.dvdlit.com
avi aUser is Offline
Gold Membership
Nuke Master
Nuke Master
Posts:653

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:170


5/19/2008 5:34 AM  

Thanks for the help. i will test this out.


Tim Maler
www.dvdlit.com
Scott McCullochUser is Offline
Administrators
Nuke Master
Nuke Master
Posts:12448


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:170


5/19/2008 7:29 AM  

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


Tim Maler
www.dvdlit.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