Register   Login
     
  Latest Posts  
RE: Google Maps
by smcculloch on 11/23/2008 10:29 AM
RE: I cant get rss feeds to work correctly
by smcculloch on 11/23/2008 10:27 AM
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
  Forums  
Subject: ISCURRENT / ISNOTCURRENT mixed up?
Prev Next
You are not authorized to post a reply.

Author Messages
Joe MaierUser is Offline
Gold Membership
Nuke Wiz
Nuke Wiz
Posts:181

8/31/2007 12:35 PM  

It seems to me that the two tokens ISCURRENT and ISNOTCURRENT just operate the opposite way that i'd expect and that is described, eg. i have to use this template:

[ISCURRENT][NAME]
[/ISCURRENT]
[ISNOTCURRENT][NAME]
[/ISNOTCURRENT]

to produce a list of neighbour pages, where only the current shall not receive a link tag.

I wopuld expect to include the "linked" template in a [ISNOTCURRENT] [/ISNOTCURRENT] brace.

Does this make sense?

 

Thanks,

Joe

 


maiersoft internet solutions - www.maiersoft.de
Get your own managed DotNetNuke-Portal
avi aUser is Offline
Gold Membership
Nuke Master
Nuke Master
Posts:653

9/03/2007 11:02 AM  

That's what I wanted to ask too! :)

[ISCURRENT] class=a [anychildlinkstemmplateA]
[/ISCURRENT]
[ISNOTCURRENT]class=b [anychildlinktemplateB]
[/ISNOTCURRENT]

?

Also scott,

I've sent you a support mail did you get it?

Thanks.


Avi A
Nukedesigners.com W3C valid skins for dotnetnuke
Scott McCullochUser is Offline
Administrators
Nuke Master
Nuke Master
Posts:12450


9/04/2007 7:47 AM  
These tokens just optionally display sections of content based upon the current page.

If tab being linked is the same as the current page, text in is current is displayed. You still need to put the tokens inside such as [NAME], [LINK], etc.

The opposite is true for ISNOTCURRENT..

Does this make sense?

Scott McCulloch
Site Administrator
Joe MaierUser is Offline
Gold Membership
Nuke Wiz
Nuke Wiz
Posts:181

9/04/2007 8:19 AM  

Hi Scott,

this makes complete sense. It's wonderful and long needed - it just works the opposite way as you describe.

A very simple example:

If i set the template of ChildLinks on a page with 2 neighbour pages to

[ISCURRENT]IsCurrent[/ISCURRENT]
[ISNOTCURRENT]IsNOTCurrent[/ISNOTCURRENT]

then i would expect that the text "IsCurrent" appeared once and "IsNOTCurrent" twice.

But this is the result:

IsNOTCurrent
IsCurrent
IsCurrent

So it appears, that you have swapped the tags in your logic.

Thanks,

Joe


maiersoft internet solutions - www.maiersoft.de
Get your own managed DotNetNuke-Portal
Scott McCullochUser is Offline
Administrators
Nuke Master
Nuke Master
Posts:12450


9/04/2007 6:55 PM  
Oh right :(

I'll check that and release a new fix (if that's what it is doing)

Scott McCulloch
Site Administrator
David O'LearyUser is Offline
Silver Membership
Nuke Newbie
Nuke Newbie
Posts:9


9/05/2007 8:50 PM  

We have the same issue.


David O'Leary
Efficion Consulting
Scott McCullochUser is Offline
Administrators
Nuke Master
Nuke Master
Posts:12450


9/07/2007 5:27 AM  
This is fixed in the latest build, can you let me know if it works out?

Scott McCulloch
Site Administrator
Joe MaierUser is Offline
Gold Membership
Nuke Wiz
Nuke Wiz
Posts:181

9/07/2007 12:32 PM  
Works great now.
Thanks a lot!

Cheers,
Joe

maiersoft internet solutions - www.maiersoft.de
Get your own managed DotNetNuke-Portal
You are not authorized to post a reply.
Forums > Modules > Child Links > ISCURRENT / ISNOTCURRENT mixed up?



ActiveForums 3.7