I'm a designer and a developer.. As a developer I like application.cfm and onrequestend.cfm, for header and footers for my designs.. as a designer, it is a great pain to change the design.. I have to piece it together and then change it pull it apart..
I started a new site (Sodapop3.com) and had a revelation...
Create your design in whatever manner you like and save it as one file.. in the place where you want the content that varies from page to page.. use this <CFINCLUDE template="#cgi.script_name#"> (On my computer, that worked, but on the server, I had to say.. <CFINCLUDE template="#right(cgi.script_name,len(cgi.script_name) - 1)#">.. so you may have to do the same..
Anyway now when I want to change the design on sodapop3, I can open it in notepad or my favorite WYSIWYG and edit it without and complications...
At the bottom of your page template.. remeber to put <CFABORT>.. that also works at the bottom of application.cfm if you prefer.
Hope that helps,
Tony Hicks
I started a new site (Sodapop3.com) and had a revelation...
Create your design in whatever manner you like and save it as one file.. in the place where you want the content that varies from page to page.. use this <CFINCLUDE template="#cgi.script_name#"> (On my computer, that worked, but on the server, I had to say.. <CFINCLUDE template="#right(cgi.script_name,len(cgi.script_name) - 1)#">.. so you may have to do the same..
Anyway now when I want to change the design on sodapop3, I can open it in notepad or my favorite WYSIWYG and edit it without and complications...
At the bottom of your page template.. remeber to put <CFABORT>.. that also works at the bottom of application.cfm if you prefer.
Hope that helps,
Tony Hicks