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 TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Automatic Footer

Status
Not open for further replies.

varnix

Programmer
Jan 7, 2002
94
US
Is there a way to get an automatic footer inside CF?

I know that using the application.cfm you can effectively create a header file.

I'm essentially looking for the same type of thing, but a CFM file that is automatically processed last.

I realize that I could do a <cfinclude> but I really don't want to have to go through and recode a TON of pages.

Thanks!
 
onrequestend.cfm works the same as application.cfm does, only for foooters..

Though onrequestend.cfm won't work unless its in a directory with a application.cfm..

ALFII.com
---------------------
If this post answered or helped to answer your question, please reply with such so that forum members with a similar question will know to use this advice.
 
webmigit this question is directed at you.
How do i make use of onrequestend
Can i use it as a navigation bar or something?
How would i add it all into the application.cfm and then make files show it?
 
Yeah you can use it as a navbar...

for instance create a file called onrequestend.cfm in the same directory as application.cfm exists..

Make the contents of the file... "&copy;2004"

Save the file and then view your site or the source code of a page in the browser.

You don't need to "add it to application.cfm" just keep it in the same directory.

ALFII.com
---------------------
If this post answered or helped to answer your question, please reply with such so that forum members with a similar question will know to use this advice.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top