July 25th, 2003, 02:19 PM
I want to avoid frames and try to call different content pages into a main page that has the design.
I read many posts here and want to be sure I have interpreted the suggestions correctlyl. Do I create the following pages and are they named appropriately?
template.cfm - with includes to application.cfm and OnRequestEnd.cfm
application.cfm - with includes to header.htm and menu.js
OnRequestEnd.cfm - with includes to footer.htm
header.htm - table with images, text, rollovers, links
footer.htm - table with images, text, links
I get confused when I read about cfm templates. where do i include the content pages? in the template.cfm? Should this be called index.cfm? where do i reference the style sheet? Anyone have examples of how to do this? Is there a good tutorial for this?
i'm not referencing a database yet - likely SQL, but once this is working that is the intent.
July 26th, 2003, 03:40 AM
if you want to have a nice way of structurizing, you might consider to have a look at the Fusebox-concept
July 28th, 2003, 11:38 AM
Yes, Fusebox handles layouts separately from page content so it is very easy to generate content and then "skin" it with a layout at the end of the request.