Fusebox.rootpath simply gives a ../ notation back to the application root, so if you're say 4 circuits down and you need to reference an image in a folder 'images' off the webroot it would return "../../../../" so you can then use "#fusebox.rootpath#images/someimage.gif" instead of all the dots.
Are you confusing the use of fusebox.rootpath? John. > -----Original Message----- > From: Brad Dardaganian [mailto:[EMAIL PROTECTED]] > Sent: 29 May 2002 20:19 > To: [EMAIL PROTECTED] > Subject: #fusebox.rootpath##self# > > > Hello Fuseboxers... > > I'm having some issues using the fusebox variables > #fusebox.rootpath# and #self# together. I'm sure it's an > easy fix I'm overlooking. > > I'm working on a development server, which we'll call www.devserver.com, and we'll call my project ABCDEF; so the rootpath should be: www.devserver.com/ABCDEF. If I'm calling a fuseaction below the root directory, however, I have to do this: #fusebox.rootpath#ABCDEF/#self#?fuseaction=circuit.fa When I try to call a module using a call like: <cfmodule template = "#fusebox.rootpath#ABCDEF/#self#" fuseaction="circuit.fa"> I get a "Template file not found" error. What do I need to do to set up my overall project so I can access all circuits via: #fusebox.rootpath##self# ?? Thanks! Bradley S. Dardaganian Lead Application Developer MediTech Media Ltd (USA) [EMAIL PROTECTED] (404) 591-3247 _____________________________________________________________________ This message has been checked for all known viruses by UUNET delivered through the MessageLabs Virus Control Centre. For further information visit http://www.uk.uu.net/products/security/virus/ _____________________________________________________________________ This message has been checked for all known viruses by UUNET delivered through the MessageLabs Virus Control Centre. For further information visit http://www.uk.uu.net/products/security/virus/ ==^================================================================ This email was sent to: [email protected] EASY UNSUBSCRIBE click here: http://topica.com/u/?bUrFMa.bV0Kx9 Or send an email to: [EMAIL PROTECTED] T O P I C A -- Register now to manage your mail! http://www.topica.com/partner/tag02/register ==^================================================================
