First of all, you don't need to restart ColdFusion all the time.  Second,
you don't need to clear the cache.  Use the admin menu on the page (right
click) and select "show latest" to clear the cache for that single page.  

 

My question is, what is attributes.functionMethod and
attributes.functionArgs set to.  Also, what navID is being passed in?

 

I agree this is a weird problem but there should be a simple explanation.  

 

_____ 

Jake Churchill 
CF Webtools 
11204 Davenport, Ste. 200b 
Omaha, NE  68154 
HYPERLINK "http://www.cfwebtools.com"http://www.cfwebtools.com 
402-408-3733 x103 

   _____  

From: [email protected] [mailto:[EMAIL PROTECTED] On
Behalf Of Ben Smith
Sent: Tuesday, July 03, 2007 3:32 AM
To: [email protected]
Subject: [farcry-dev] Re: Rather simple but stupid problem

 

Not saying this is it, but it does sound similar to something I was seeing
with one particular farcry implementation that was using content caching.

 

Try having a look in Admin > Cache Management > Cache Summary

 

If there're any there, you might need to flush 'em after you update your
nav.

 

 

Regards,

Ben Smith

   _____  

From: [email protected] [mailto:[EMAIL PROTECTED] On
Behalf Of Andrew Scott
Sent: Tuesday, 3 July 2007 4:27 PM
To: [email protected]
Subject: [farcry-dev] Re: Rather simple but stupid problem

 

Ben...

 

Not sure if it is that code that is the problem.

 

I'll try to describe it a bit better.

 

I have a dmNavigation in the site tree, it was approved and I changed it
back to draft and it still shows. Restart Coldfusion and it disappeared as
expected, change it back to approved and it will not show, restart
coldfusion and it will still not show. 

 

I am not sure what is happening, I can do a show draft and it shows but it
is not a draft object as it has been approved.

 

My orginal question was the reverse of this...

 

Is there a know bug that needs to be patched, for this sort of behaviour?

 

On 7/3/07, Ben Smith <HYPERLINK
"mailto:[EMAIL PROTECTED]"[EMAIL PROTECTED]> wrote: 

Hey. I'm not sure I totally understand your question, but this is what I
have in one of our navigation files:

 

 
<cfloop query="qNav">

 
<li><a
href="#application.url.conjurer#?objectid=#qNav.ObjectID#">#qNav.objectName#
</a> 

 
<cfset qNav2 =
application.factory.oTree.getDescendants(objectID=#qNav.objectID#,
depth="1", afilter=navFilter, lColumns='lNavIDAlias')> 

 
<cfif qNav2.recordcount gt 0>

 
<ul>

 
<cfloop query="qNav2"> 

 
<li ><a href="#application.url.conjurer#?objectid=#qNav2.ObjectID#"
>#qNav2.objectName#</a></li> 

 
<cfset qNav3 = application.factory.oTree.getDescendants
(objectID=#qNav2.objectID#, depth="1")>

 
<cfif qNav3.recordcount gt 0> 

 
<ul>

 
<cfloop query="qNav3"> 

 
<li><a  href="#application.url.conjurer#?objectid=#qNav3.ObjectID#"
>#qNav3.objectName#</a></li> 

 
</cfloop> 

 
</ul>

 
</cfif>

 
</cfloop>

 
</ul>

 
</cfif>

 
</li>

 
</cfloop>

 

Hope that helps.

 

B.

 

   _____  

From: HYPERLINK
"mailto:[email protected]"[email protected]
[mailto:HYPERLINK
"mailto:[email protected]"[EMAIL PROTECTED] On Behalf
Of Andrew Scott
Sent: Tuesday, 3 July 2007 12:54 PM
To: HYPERLINK
"mailto:[email protected]"[email protected]
Subject: [farcry-dev] Rather simple but stupid problem 

 

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

 

 

 

 

CAUTION - This message may contain privileged and confidential information
intended only for the use of the addressee named above. If you are not the
intended recipient of this message you are hereby notified that any use,
dissemination, distribution or reproduction of this message is prohibited.
If you have received this message in error please notify Power Business
Systems immediately. Any views expressed in this message are those of the
individual sender and may not necessarily reflect the views of Power
Business Systems. 

 

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








-- 



Senior Coldfusion Developer
Aegeon Pty. Ltd.
HYPERLINK "http://www.aegeon.com.au"www.aegeon.com.au
Phone: +613  8676 4223
Mobile: 0404 998 273 



CAUTION - This message may contain privileged and confidential information
intended only for the use of the addressee named above. If you are not the
intended recipient of this message you are hereby notified that any use,
dissemination, distribution or reproduction of this message is prohibited.
If you have received this message in error please notify Power Business
Systems immediately. Any views expressed in this message are those of the
individual sender and may not necessarily reflect the views of Power
Business Systems.



No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.5.476 / Virus Database: 269.9.14/884 - Release Date: 7/2/2007
3:35 PM



No virus found in this outgoing message.
Checked by AVG Free Edition. 
Version: 7.5.476 / Virus Database: 269.9.14/884 - Release Date: 7/2/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
-~----------~----~----~----~------~----~------~--~---

Reply via email to