|
I’ve been working on this site for some time now and I
was almost finished populating all of the content when I realized that I needed
to add another node to my main “home” node. I currently have my primaryNav.cfm looping over the members
of that main node and calling an image with the same name as the corresponding navIDalias.
It was working perfectly until I added the extra node. Now the tree
seems all confused and is generating links to objects outside the main home
node. Also the sub navigation nodes that I was using are not working either. The code in _primaryNav.cfm that is in question is listed
below (I commented out the subnavs so I could focus on the main one: <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'); //qfeatures
= application.factory.oTree.getDescendants(objectid=application.navid.articles,
depth=1, afilter=navFilter); //qdepts
=
application.factory.oTree.getDescendants(objectid=application.navid.departments,
depth=1, afilter=navFilter); //qcolumns
= application.factory.oTree.getDescendants(objectid=application.navid.columns,
depth=1, afilter=navFilter); </cfscript> <cfloop query="qNav"> <skin:buildLink objectid="#qNav.objectid#"><img
src=""
height="16" width="125"
border="0"><br></skin:buildLink> </cfloop> I am enclosing pictures of the Farcry nav nodes for home and
the screen output. The broken images are trying to call navIDaliases hidden, search,
footer, etc. What did I do and how do I fix it quickly? |
<<attachment: screen.gif>>
<<attachment: farcry.gif>>
--- 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/
