V0ltage Posted December 28, 2004 Share Posted December 28, 2004 After much searching of the forums, I was unable to see if anyone else had attacked this as a project yet. What I'm looking for is a way to allow a lay webmaster the ability to modify the CSS for their site through the admin panel. What I've got in mind is a screen that comes up that shows all of the styles in the catalog/stylesheet.css file. Each of these styles could be placed into categories that are signified by css comments that describe the html section of the site that the following styles would modify. The category system would take a little bit of conceptual design, given how abstracted things are, so for now I'll consider that phase 2 (or 3, depending on how this all works. hehe) So, getting past the category idea, each of the styles would show in a clickable format that would take them to an editing page. This "Edit Mode" page would show the current key => value pairs associated with that style, and allow them to apply user-defined options to that style via pull-down boxes for key => value pairs, or for the more savvy, a manual entry box. At first I'm thinking this will be a very rudimentary process of reading the file in, changing / adding the values, then writing the file back to catalog/stylesheet.css. In the future, the style values could be plugged into a db table that could have descriptions associated for quickhelp on a certain css value. We'll see how it goes as far as demand for features. Input on this guys? Let me know if there is something like this already out there, but if not, then I think something like this built into oscommerce would rock for those not too savvy about working with CSS. I'd be willing to do the coding for this, or offer and accept input & help regarding this contribution. Thanks! Link to comment Share on other sites More sharing options...
This topic is now archived and is closed to further replies.