|
From: Matthew M. <mcn...@tu...> - 2001-03-21 13:58:34
|
W.D.Sumilang said: >While this is NOT a solution to the phpWS's problem with theme flexibility, >it's cleaner than creating new functions that basically do the same thing... >everything in phpWS is contained in the same "box" structure, so why >not just pass the style class rules as arguments... hopefully this will >lead in a better direction for themes ;o) I agree Sumilang. I had to use this in the calendar plugin because I based the first one on the default style sheet and the colors would get all messed up. There will have to be a system of separate theme functions or a way to set them up. For example, this theme function is a table-in-a-table to create thin lines. Not everyone might want this. So do we go in a direction where a person edits a style sheets for fonts and colors and phpWS creates the tables? Or will the user create the css in phpWS and create there own theme file? Or will phpWS do it all? I vote for the end option. I would like phpWS to create theme files that can be distributed BUT at the same time they could be plugged in and altered. These files would handle everything (color, form, font, etc.). Installation would be a snap with the user uploading the theme and then the graphics. Matt |