We're doing something different with our site structures in order to make things simpler on the webmaster side. I'm going to try to give you as much info as possible so you can understand what's happening on my end.
We have our site's root folder and within the root there are three directories:
Includes (for cf includes)
Images ( for images...duh)
content folder ( for content pages)
In the content folder, we have our application.cfm aling with the app_globals, app_layout, app_server and basic content pages as mentioned before.
Includes are the header, footer and sidebar (the milonic JS code pages are in here as well)
The application file, which will one of the few I will have to mess with when we deside to change the overall look of the site, has the following code in it.
This is the only code that should matter at this point
Code: Select all
<cflock scope="application" timeout="30">
<cfset application.cfroot="nopinationals.com">
<cfset application.webroot="">
<cfset application.imagesroot="../images">
<cfset application.header="../includes/nats_2k4_head_1.cfm">
<cfset application.sidebar="nats_2k4_side_1.cfm">
<cfset application.footer="../includes/nats_2k4_foot_1.cfm">
<cfset application.maindsn="NNRegistration">
cfset application.timespan="#createtimespan(1,0,0,0)#">
<cfset application.domain="">
</cflock>
Code: Select all
<cfinclude template="#application.header#">
ipsum loreum
<cfinclude template="#application.footer#">
Code: Select all
<cfinclude template="#application.sidebar#">
Code: Select all
<SCRIPT language=JavaScript src="milonic_src.js" type=text/javascript></SCRIPT>
<script language=JavaScript>
if(ns4)_d.write("<scr"+"ipt language=JavaScript src=mmenuns4.js><\/scr"+"ipt>");
else _d.write("<scr"+"ipt language=JavaScript src=mmenudom.js><\/scr"+"ipt>");
</script>
<SCRIPT language=JavaScript src="menu_data.js" type=text/javascript></SCRIPT>
Maybe someone can give me an insight?