From: spiggy <th...@me...> - 2001-10-22 19:10:58
|
(makes me wonder where did the first one go....) ---------------------------------------------------- first of all, 0.8 is a very good release, imho. while writing several mods for my sisters of mercy site (thats a rock = band btw :) ive had to think about the theming stuff a lot. i want everything = to be in themeboxes so when the theme changes, everything changes.. it is = very difficult and probably resource intensive to be appending strings to a variable and then spit it out in the end. so what phpws has is: $boxtitle=3D"Title"; $boxcontent=3D"content"; themesidebox($boxtitle, $boxcontent) instead i have been using: opensidebox("Title"); echo "content"; //or just plain html closebox(); wouldnt this be a faster way to do it or am i thinking backasswards (is = that a word?) here? was the boxfunction a decision or just a 'legacy nuke' = thing? it would be a lot easier to wrap the theme design around all the boxes = with my way. one boxstyle for the sides and one for the middle.. plus the = usuals for the special styles. plugin could be passing the location and thus determining what style it needs.. the same could be added to the = sideboxes too if right and left sideboxes needed to be different.. of course im pushing the limits for the non-php-programmer theme designers but hey, = its a thought :) of course this will not be relevant in the new (phpws2) version if = everybody is thinking about the templates.. but im not sure how far the thought process in on that either so meanwhile... any thoughts? paivi |