> Any suggestions would be very helpful.

As Tom has already said - store their preference information in the database
(dmProfile is a good first choice - but you could create a separate
table/object if you wanted) and retrieve it when they log in.  You may then
want to store the information in a Session variable so you dont have to go
back to the DB for each page call.

But the question would then be "What do you store?".

This will depend on what you want them to be able to customise.

One of the quickest ways is to allow them to select from a set of templates
(basically your header/footer combinations in FarCry) and/or CSS
stylesheets.

If you use a purely CSS solution for your template then CSS stylesheets are
a wonderful way to do the tailoring (just have a look at what is possible at
http://csszengarden.com - one HTML page, many CSS stylesheets).

So this would mean you would only need to store which of the "templates" the
user would like to see and you always have the option of developing
additional "moods" over time.

As far as coding it up is concerned, with the CSS option you only need to
decide in your template which stylesheet to load in.  Maybe about three
lines of code.  You would also need a page that displayed a list of
stylesheets for them to choose from.  I would suggest you look at the
comment mechanism that Daemon use to give their templates meaningful names
and follow that same standard.

If you want/need to change the header/footer you just need to make a similar
decision in your display*.cfm handler files.  Again, an IF statement with a
few lines of code.

You could, of course, build a "customisation" object and just call it to get
the correct header/footer/CSS combination.


Regards,
Gary Menzel



---
You are currently subscribed to farcry-dev as: [EMAIL PROTECTED]
To unsubscribe send a blank email to [EMAIL PROTECTED]

MXDU2004 + Macromedia DevCon AsiaPac + Sydney, Australia
http://www.mxdu.com/ + 24-25 February, 2004

Reply via email to