I am using getDescendants to get Navigation items so that i can use
them to create a menu. Although when i use this i have problems when i
change the navigation in the farcry admin; if i change the navigation
items in the admin by using move up and move down it does not change
the navigation items order on the site. I have refreshed the
application scope of both the site and the admin after i have made the
changes and have still had problems. When i change the function to
getBloodline it seems to be ok with the Moving of the navigation items
but it doesnt give me all the navigation items when i use the
getBloodline function.
This is the code i am using :
<cfset o = createObject("component",
"#application.packagepath#.farcry.tree")>
<cfset navFilter=arrayNew(1)>
<cfset navfilter[1]="status IN
(#listQualify(request.mode.lvalidstatus, "'")#)">
<cfset qNav =
evaluate("o.getDescendants(objectid=application.navid.home,bIncludeSelf=true)")>
Is there any sort of caching involved? or does it just take time to
update the database or read the changes from the database?
.
Any help would be appreciated.
Sumaira