I've been told I did it wrong, but I'm from the school that says if it works and works well, then it's not wrong.
What we did and have been doing since CF5 is using the Application.cfm to setup the variables as well as the frame of the page using CFINCLUDES for the header and after that we open up a table and include a directory-dependent subnav in the left TD and open the right TD for the content of the actual page being called. We use OnRequestEnd.cfm for the footer which ends the table and includes the header links file. This allows the page layout to remain constant across our entire site while affording the flexibility of including the directory-dependent subnav.cfm. We do some access control in the included headers and subnavs too. The Application.cfm establishes the css, but you could easily stash that in the subnav. HTH
mf
 
mark fennell
athens regional medical center
athens, ga
 
--------------------------------------------------------------------------------------------------------------
This email is intended only for the named recipient(s).  It may contain information that is proprietary, confidential or otherwise prohibited from disclosure.  If you are not the named addressee, you are not authorized to read, print, retain, copy or disseminate this message or any part of it.  If you have received this message in error, please reply immediately by email or telephone me at 706-475-4357 and delete all copies of the message.
--------------------------------------------------------------------------------------------------------------
-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]On Behalf Of Clarke Bishop
Sent: Tuesday, November 07, 2006 10:29 AM
To: discussion@acfug.org
Subject: [ACFUG Discuss] Best Practice for Assembling Pages

Did my questions not make sense to anyone or was everyone just feeling sorry for me sending messages out on Saturday night?
 
If this is confusing, please let me know.
 
   Clarke


From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Clarke Bishop
Sent: Saturday, November 04, 2006 8:01 PM
To: discussion@acfug.org
Subject: [ACFUG Discuss] Best Practice for Assembling Pages

I am building a simple information-oriented site. Each page will have the same header, footer, right-hand column and a content area. Ideally, I'd like my customer to be able to edit the content area, but nothing else.
 
I'd like to ask all of you about the best practice for assembling the page. Here are the ways I'm thinking about:
 
1. Use a Dreamweaver template and/or Dreamweaver library. I've done this before, so I know it works.
 
2. Use Dreamweaver templates as in #1, but <cfinclude> the header, footer, etc.
 
3. Use onRequestStart in Application.cfc to <cfinclude> the header, footer, etc.
 
4. Some other more CF-oriented approach, but hopefully not FuseBox
 
I like method #1 or #2, because then I can use Contribute and allow my customer to edit certain content.
 
Right now, the site will only use the most minimal CF for a Contact Form, etc. Still, I want to get this right from the start.
 
Thanks for any ideas!
 
   Clarke

-------------------------------------------------------------
To unsubscribe from this list, manage your profile @
http://www.acfug.org?fa=login.edituserform

For more info, see http://www.acfug.org/mailinglists
Archive @ http://www.mail-archive.com/discussion%40acfug.org/
List hosted by FusionLink
-------------------------------------------------------------
-------------------------------------------------------------
To unsubscribe from this list, manage your profile @
http://www.acfug.org?fa=login.edituserform

For more info, see http://www.acfug.org/mailinglists
Archive @ http://www.mail-archive.com/discussion%40acfug.org/
List hosted by FusionLink
-------------------------------------------------------------

-------------------------------------------------------------
To unsubscribe from this list, manage your profile @
http://www.acfug.org?fa=login.edituserform

For more info, see http://www.acfug.org/mailinglists
Archive @ http://www.mail-archive.com/discussion%40acfug.org/
List hosted by FusionLink
-------------------------------------------------------------

Reply via email to