I have used the Application.cfc onRequestStart and onRequestEnd for the layout of my site, i.e. common header, mainnavigation and footer on all pages.
Now the problem comes in where I have some files in a subdirectory: (The application.cfc is only in the root directory) the main navigation (siteroot\mainnav.cfm) is included in the application.cfc onRequestStart, but if this is called from the siteroot\subdir\somefile.cfm the links points to (e.g.) siteroot\subdir\aboutUs.cfm instead of siteroot\aboutUs.cfm Is there a way I can reference the links relative to the included template (siteroot\mainnav.cfm) instead of relative to the page I am on? I don't want to use absolute links, because that is a lot of links I will have to go and update... Thanks! ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;207172674;29440083;f Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:321775 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4