hi, all,
I had thought it was a draft issue, too, but then checked another
"deep" tree, like this one:
Support & Service > SkillsTutor Support > FAQ > General FAQs (at which
point the tree stops flying out). This node is approved all the way
down, but throws an error. I wonder if it has to do with the code
snippet below (from _bjmenu.cfm in /includes). The code is looking for
nodes down to level 3 (qNav3, right?). Perhaps it needs to be told when
to stop?
<cfif qNav2.recordcount gt 0>
<cfoutput><div id="#RemoveSpaces(qNav.objectName)#Menu"
class="menu" onmouseover="menuMouseover(event)"></cfoutput>
<!--- Create sub menu children --->
<cfloop query="qNav2">
<cfset qNav3 =
application.factory.oTree.getChildren(objectID=qNav2.objectID)>
<!--- Is there another submnue below this link? --->
<cfif qNav3.recordcount gt 0>
<cfoutput><a class="menuItem"
href="</cfoutput><skin:buildLink urlOnly="true"
objectid="#qNav2.objectid#"></skin:buildLink><cfoutput>"
onmouseover="menuItemMouseover(event,
'#RemoveSpaces(qNav2.objectName)#Menu');"><span
class="menuItemText">#safeFormatString(qNav2.objectName)#</span><span
class="menuItemArrow">&##9654;</span></a></cfoutput>
<cfelse>
<cfoutput><a class="menuItem"
href="</cfoutput><skin:buildLink urlOnly="true"
objectid="#qNav2.objectid#"></skin:buildLink><cfoutput>"><span
class="menuItemText">#safeFormatString(qNav2.objectName)#</span></a></cfoutput>
</cfif>
</cfloop>
<cfoutput></div></cfoutput>
</cfif>
Thanks very much for this discussion. I also have a question about the
Form building cfc code, which I'd really like to use, but am getting
error after I deploy the rule and then try to populate a container:
Element PROPERTIES is undefined in STOBJ.
The error occurred in
/home/farcry.achievementtech.com-http-80/docs/farcry/cmt/packages/rules/ruleForm.cfc:
line 211
Called from
/home/farcry.achievementtech.com-http-80/docs/farcry/farcry_core/admin/navajo/editContainer.cfm:
line 307
Called from
/home/farcry.achievementtech.com-http-80/docs/farcry/farcry_core/admin/navajo/editContainer.cfm:
line 293
Called from
/home/farcry.achievementtech.com-http-80/docs/farcry/farcry_core/admin/navajo/editContainer.cfm:
line 256
Called from
/home/farcry.achievementtech.com-http-80/docs/farcry/farcry_core/admin/navajo/editContainer.cfm:
line 1
Any ideas on a fix? Also, I'd like to see an example of this cfc in
action anywhere if possible.
thanks very much!!
best,
Jen