> --------dir1 (sub directory of root)
> ----------------template1.cfm

> ----------------dir2 (sub directory of dir1)
> ------------------------template2.cfm

> ------------------------dir3 (sub directory of dir2)
> --------------------------------template3.cfm

> How does one place links (navigation perhaps) in either
> cfmodule1.cfm or
> cfmodule2.cfm, and resolve them to work properly when
> <cfmodule>ed into
> template1.cfm, template2.cfm and template3.cfm? Is there a
> custom tag or
> a resource you can point me to for more information on
> this?

I'm not so sure this is a commonly asked question ...

If you're just talking about a link within a cfmodule, you don't have to do
anything special: the link appears to the browser as coming from the base
template, so <a href="yadda.cfm"> in root\myfile.cfm is the same as <a
href="yadda.cfm"> in a custom tag in root\baddabing\mytag.cfm ...

If you're talking about something like FuseBox where you might not be
certain it's a custom tag, ( i.e. you might be calling the custom tag as a
base template ), then you probably want to use absolute urls or at least
absolute from the root, i.e. <a href="/dir1/mybasetemplate.cfm"> The leading
/ in the href attribute tells it to look for dir1 within the root directory
of the website.

Isaac
Certified Advanced ColdFusion 5 Developer

www.turnkey.to
954-776-0046

______________________________________________________________________
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to