Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Application.cfm can act as a footer

Status
Not open for further replies.

webmigit

Programmer
Joined
Aug 3, 2001
Messages
2,027
Location
US
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=&quot;#cgi.script_name#&quot;> (On my computer, that worked, but on the server, I had to say.. <CFINCLUDE template=&quot;#right(cgi.script_name,len(cgi.script_name) - 1)#&quot;>.. 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
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top