The relative path from common/layouts/layBasic.cfm
to common/styles/common.css is "../styles/common.css"
That should come as no surprise.

Fusebox.rootPath is a relative path from the circuit's
directory to the home circuit's directory. In this 
case, since you're in the home circuit, the relative
path is "".

If your fbx_layouts includes a file in another 
directory the value of fusebox.rootPath is no longer
useful. Unfortunately, there's no way to get around
that because the core file doesn't have an 
opportunity to change the value of fusebox.rootPath.

Patrick

> Hello.
> 
> I am having problems referring to a file from a layout template. The 
> relevant directory structure is as follows:
> 
> [fooapp]
>     |
>     |---[common]
>     |      |
>     |      |---[graphics]
>     |      |      |
>     |      |      |---common.jpg
>     |      |
>     |      |---[layouts]
>     |      |      |
>     |      |      |---layBasic.cfm
>     |      |
>     |      |---[styles]
>     |             |
>     |             |---common.css
>     |
>     |---fbx_Layouts.cfm
>     |---fbx_Settings.cfm
> 
> 

==^================================================================
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
==^================================================================

Reply via email to