The age old method is to create a header.cfm, footer.cfm, menu.cfm,
index.cfm

index.cfm contains the main layout, and cfinclude all the other files.

You then have 2 options.

create individual pages that work the same way as index.cfm, or create
content pages that get included into the index.cfm.

so u might have a url of

index.cfm/aboutus

in your index,cfm you look for the value after the index.cfm/
and then use this to determine which file to include, in this case
aboutus.cfm

most of the frame works work roughly in this type of way, so you may want to
just consider using one of those.

If this is a really simple site then Framework 1 may be the best solution
for you, it is small and simple to use.
http://fw1.riaforge.org/



--
Russ Michaels
www.cfmldeveloper.com - Supporting the CF community since 1999
FREE ColdFusion/Railo hosting for developers.

blog: www.michaels.me.uk


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:338975
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm

Reply via email to