I have a navigation include template, this template is / uses the standard
o = createObject("component", "#application.packagepath#.farcry.tree");
navFilter=arrayNew(1);
navfilter[1]="status IN (#listQualify(request.mode.lvalidstatus, "'")#)";
//'
qNav = evaluate("o."&attributes.functionMethod&"(objectid=attributes.navID,
lColumns='externallink', "&attributes.functionArgs&", afilter=navFilter)");
Now I also have 2 dmNavigation objects that are both draft, now the problem
that I am getting which I want to remove / fix is that one has children that
all dmNavigations are status of draft, where as the other only the main is
draft. And what I am hoping to achieve is that with the parent navigation is
set to draft that it will not read all children.
Is that possible, and how would I do that? I figure that the navFilter is
the way to go, but after looking at the code I do not see any way to do this
from the data and not familiar with the tables I am not sure if I have to
extend this call in some way.
Please remember that I can't modify core files, so extending is my only
option.
Andrew Scott
Senior Coldfusion Developer
Aegeon Pty. Ltd.
HYPERLINK "http://www.aegeon.com.au"www.aegeon.com.au
Phone: +613 8676 4223
Mobile: 0404 998 273
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.5.476 / Virus Database: 269.9.14/884 - Release Date: 2/07/2007
3:35 PM
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"farcry-dev" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/farcry-dev?hl=en
-~----------~----~----~----~------~----~------~--~---