Seona
There are a number of ways to do this - the easiest way to do it is by populating some <style> tags dynamically from data in the db using a script language such as CF or PHP etc (although that can add pageweight). Another way would be to save a css file on the server for each person and serve that up (ouch.. disk space).
Yet another (and the best) would be to send the User Agent a stylesheet, as discussed over at the Sydney PHP Group (apologies for the crap colours/layout - I'm working on it :D ).
Managing multiple sites under a single codebase <http://sydney.ug.php.net/phpBB2/viewtopic.php?t=70&start=0&postdays=0&postorder=asc&highlight=>
http://sydney.ug.php.net/phpBB2/viewtopic.php?t=70
I'd assume you are using CF under Windoze Server so I'm not sure if that has the flexibility an Apache config has?
Cheers James
Seona Bellamy wrote:
Hi guys,*****************************************************
Is this even possible? What I have is a site that gives people a chance to set up their own information sections where they can record their own content. I would like that an account holder can state which colours, font sizes, font styles, etc they want for their section and have this information gets recorded in a database. That's the easy bit, and I can do that no problem. What I need then if that when a user navigates to a particular section, the system pulls these values from the database and populates the stylesheet with them so that the section displays in the requested colours and styles.
If it makes any difference, I'm working in ColdFusion.
Of course, if this is just a pipe dream then I'll just have to sit down and figure out another way around the problem. Id really prefer not to have to use the selection form as a way for account holders to email me their preferences so I can make them a new stylesheet if I can help it... :)
Cheers,
Seona. --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.605 / Virus Database: 385 - Release Date: 1/03/2004
*****************************************************
The discussion list for http://webstandardsgroup.org/
*****************************************************
The discussion list for http://webstandardsgroup.org/
*****************************************************