I’m using several queries to generate my site navigation from the far cry tree.  If I put a page into edit mode change something and complete my changes but don’t approve it, that should not be live on the site however it is showing up despite the fact that it is in draft status.   I am using a basically the same query that is used on the default primary nav included with the farcry installation.

 

Has anyone else run into this problem?  Is it a bug? Or am I not doing something correctly with the query?  My code is below:

 

<cfscript>

            // get navigation elements to root

            navFilter=arrayNew(1);

            navfilter[1]="status IN (#listQualify(request.mode.lvalidstatus, "'")#)";

            // ' !reset colour marking in DW

            qNav = application.factory.oTree.getDescendants(objectid=application.navid.home, depth=1, afilter=navFilter, lColumns='lNavIDAlias');

</cfscript>

 

<cfloop query="qNav">

<cfif #qnav.lNavIDAlias# NEQ "departments"><skin:buildLink objectid="#qNav.objectid#"><img src="" height="16" width="125" border="0"><br></skin:buildLink>

</cfif>

</cfloop>

 

 

---
You are currently subscribed to farcry-dev as: [email protected]
To unsubscribe send a blank email to [EMAIL PROTECTED] Aussie Macromedia Developers: http://lists.daemon.com.au/

Reply via email to