Register   Login
     
  Latest Posts  
RE: File Links in feeds
by smcculloch on 12/02/2008 1:53 PM
Was create new album always in add photo?
by crocklobster on 12/02/2008 1:41 PM
JQuery Error in IE6
by rodneyjoyce on 12/02/2008 9:10 AM
RE: Language Packs?
by sschneider on 12/02/2008 8:38 AM
SUMMARY tag
by adski on 12/02/2008 7:55 AM
RE: Integration with UserProfile StoryFeed
by aviavia on 12/02/2008 7:43 AM
RE: Integration with UserProfile StoryFeed
by aviavia on 12/02/2008 7:41 AM
RE: Cache issue?
by jlatulippe on 12/02/2008 4:43 AM
RE: Cache issue?
by smcculloch on 12/02/2008 3:37 AM
RE: Cache issue?
by jlatulippe on 12/02/2008 3:35 AM
  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 Online
Administrators
Nuke Master
Nuke Master
Posts:12550


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

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

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

Avi A
Wizard for embedding the coolest google local search map control. (works also with PA)

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

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
Wizard for embedding the coolest google local search map control. (works also with PA)

Nukedesigners.com W3C valid skins for dotnetnuke
avi aUser is Offline
Gold Membership
Nuke Master
Nuke Master
Posts:672

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
Wizard for embedding the coolest google local search map control. (works also with PA)

Nukedesigners.com W3C valid skins for dotnetnuke
Scott McCullochUser is Online
Administrators
Nuke Master
Nuke Master
Posts:12550


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

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
Wizard for embedding the coolest google local search map control. (works also with PA)

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 Online
Administrators
Nuke Master
Nuke Master
Posts:12550


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