Unusual CFCACHE Problem

2006-10-19 Thread Stephen Whiteley
Hi I've got a problem is which killing me slowly. CFCACHE on one of my domains has stopped working. I can get it to work using the ip address for the domain, but if I use the domain name it doesn't work. http://63.134.204.53/cache/cachetest.cfm - This works

Re: Unusual CFCACHE Problem

2006-10-19 Thread Stephen Whiteley
Yes, but does it cache if you press refresh, on one the time will stop cos its cached, on the other it doesn't thanks steve ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion

Re: Unusual CFCACHE Problem

2006-10-19 Thread Stephen Whiteley
Yes, it will, but does one cache the time? on the other doesn't when you press refresh ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to

Re: OT: Roll out menus

2005-10-27 Thread Stephen Whiteley
Again not free, but basically you can position within tables, also does infinite menus based on adjacency list http://www.xtreeme.com/dhtml/dynamic-creation/ Steve ~| Logware (www.logware.us): a new and convenient web-based

Re: Recursion anyone?

2005-10-27 Thread Stephen Whiteley
Thanks David, I get that:) Steve ~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for

Recursion anyone?

2005-10-26 Thread Stephen Whiteley
Hi I keep returning to this problem in order to build an infinite DHTML menu (a task which has now become a quest and a matter of honour). Does anyone know how to recurse through an adjacency list model table, of the following setup ID CategoryName ParentItemID Also, I hear you can use CFTREE

Re: CFTREE Object - Looping through structure

2005-10-26 Thread Stephen Whiteley
On Tuesday 25 October 2005 17:51, Stephen Whiteley wrote: I always seem to have a way of wording questions, that inspire no answers, does anyone want any clarification or more information? You're not sure how to write a recursive function in CF ? You've tried and it craps out ? -- Tom

Re: Recursion anyone?

2005-10-26 Thread Stephen Whiteley
Hi Yes the problem is the recursion can't get my head round it, never used CFSCRIPT before being a bit of a newbie. Not trying to build a DHTML menu from scratch and would use an off the shelf one. CFTREE in CFMX 7 will output xml or a structure depending on format= used. I'll keep playing

Re: Recursion anyone?

2005-10-26 Thread Stephen Whiteley
OK, this is my database setup ItemID,ParentItemID,AdCategoryName What I want to be able to do is output something like this (before I go to the DHTML menu stage, walk before I can run) Accommodation Self Catering Farmhouse Rustic Farmhouse Activities Walking Walking Routes Walking Shops etc.

Re: Recursion anyone?

2005-10-26 Thread Stephen Whiteley
Kerry I'm trying to get you code to work but will be making a real hash of it, I wonder if you take a look at this, I think getting the query in is the problem. cfquery datasource=#DSN# name=getAllCategories SELECT itemid,parentitemid,adcategoryname FROM tblAdvertTypes /cfquery cfscript

Re: Recursion anyone?

2005-10-26 Thread Stephen Whiteley
Thanks Kerry I'm starting to understand, got no experience of cfscript but it seems a lot like actionscript. Unfortunately I've tried to run the code and I'm getting the following error. Context validation error for tag cfscript. The start tag must have a matching end tag. An explicit end

Re: Recursion anyone?

2005-10-26 Thread Stephen Whiteley
Thanks, missed that Still throwing an error though Variable PARENTITEMID is undefined. The error occurred in C:\Inetpub\wwwroot\bigtripper\recurse\testfunction.cfm: line 11 9 : function buildmenu(currentid,depth){ 10 : var i=0; 11 : for(i=1; i lte parentitemid.menuqry.recordcount;

Re: Recursion anyone?

2005-10-26 Thread Stephen Whiteley
Hi Thanks everyone, there's lots of different approaches here which I'll look at over time. Brain got tired in the end! I just thought that with the new CFTREE format options i.e. xml and object, that there could be a quick (and easy) way to do DHTML menus. But I've learnt quite a bit, sorry

CFTREE Object - Looping through structure

2005-10-25 Thread Stephen Whiteley
Hi I'm using the CFTREE tag on cfmx7. I've set the format type to object. This gives me a structure called navtree. I need to loop through it to use the information in either Breadcrumb nav or DHTML menu nav. BUT not sure how to do it. Here's what i've got so far, but it isn't recursive and

Re: CFTREE Object - Looping through structure

2005-10-25 Thread Stephen Whiteley
I always seem to have a way of wording questions, that inspire no answers, does anyone want any clarification or more information? Cheers Steve ~| Discover CFTicket - The leading ColdFusion Help Desk and Trouble Ticket

Re: Real time count-down

2005-10-25 Thread Stephen Whiteley
I had to do this recently, but did it in flash, which worked well. Here's a link http://www.kirupa.com/developer/mx/countdown.htm Thanks Steve ~| Find out how CFTicket can increase your company's customer support efficiency