Hello all.

Myself and one other plan to start a dot com site.
www.carigamer.com/defaultnew.cfm

Now, we got a company to design our front end, and I now have to put the
logic behind the site itself using Cold Fusion.(And whatever other graphics
need to be designed)

If one takes a peek at the site they will see that there is a news page,
that must be updated by a few Administrators via the web.(I know how to do
that..)

And then Reviews, ARticles etc. must also be entered.

However, I do not have the time to sit and format HTML for each review or
each article (I'm not about to quit my day job yet). Thus these must be auto
generated from content stored in a database.

The news page is a seperate page called news.htm that appears on the Default
page added using a CFINclude.

What's the best way to use CF Include on a site such as this to cut down on
repetitive HTML work on my part??

Should I copy that default template to an articles.htm page, a reviews.htm
page etc. and pass the review ID on the URL to generate the correct
CFINClude?

So on the Articles.cfm page, there will be a CFINCLUDE articlebody.cfm ,
and articlebody.cfm will have a CFQUERY pulling from
tblArticles.ArticleText,
then a CFLOOP from tblArticleImages.ImageURL to display a selection of
images etc. etc.

Or should this logic be included in the top of the Default page itself ??

so if I pass default.cfm?Articles=1
then it pulls up a articlelist.cfm page instead of the news.cfm..

and THEN if I pass default.cfm?ArticleID=1001 it will pull up that relevant
article?
And the same for the reviews,interviews..etc. etc.

I am sitting here thinking about it, and it is starting to seem
overwhelmingly complex all of a sudden.
So many different ways of doing it are becoming apparent to me, that I'm
getting confused trying to choose one.
If any of you have designed a site such as this, I'd appreciate a few
pointers...
:-\

-Gel


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
        Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to