Hi all,
wrestling with fusebox.rootpath again. I'm setting up
openforums to work with this variable, but I've run into yet
another snag.
I have several files in the /blocks directory, and obviously
enough they're used as include. The thing is, because they're
included they take on the rootpath of the circuit they're
being included from, and means fusebox.rootpath doesn't work
for includes / cfmodules within the block file.
for instance, dsp_message, a re-useable block to display a
single message in a thread, calls a couple of custom tags. I
tried
template="#fusebox.rootpath#customtags/translateQuotes.cfm"
and it died, because it's being included from the home circuit
and there is nothing in the fusebox.rootpath variable. Yet
the cfmodule call is obviously treating the current path as
being the blocks directory, so the correct path would be:
template="../customtags/translateQuotes.cfm"
How on earth do I get this towork properly? Am I missing
something?
cheers,
Toby
------------------------------------------------------------------------------------
Life is Poetry, write it in your own words
------------------------------------------------------------------------------------
Toby Tremayne
Senior Technical Consultant
Code Poet and Zen Master of the Heavy Sleep
Lyricist Software
www.lyricist.com.au
m: +61 416 048 090
icq: 13107913
==^================================================================
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
==^================================================================