From: Jason C. <cam...@xp...> - 2001-03-16 18:28:58
|
> On Fri, Mar 16, 2001 at 12:03:41PM -0500, Jason Campbell wrote: > >> > I have read everything I could find about themes, and while phpWS >> > themes are handled MUUUUUUCH better than phpNuke they are still a >> > pain in the butt. I have a couple of themes I am trying to create, >> > and I am more than willing to share with the community, but I am not >> > getting a clear picture of what is going on in the themes folders. > > Well, themes aren't handled the most effective way. Until this has > changed, you have to be patient. Easy, eh ?!? :-) > >> I've been looking at the theme structure myself while making the block >> modification and I think some of the functions in theme.php need to >> possibly be moved to their own file, say functions.php or something >> since it seems alot of those functions are the same for each theme, >> or am I wrong about that? Once the blocks get moved into a database >> (which I'm doing now), I think it'll make life alot easier for >> themes. > > Could you email me an outline fo the new structure? I am working on the > developer docs, and documenting the theme structure (mostly to analyze > what can be done better...) is one of the things I want to do next. > > You are basically right with your assumption about the functions in the > individual theme files. Good you haven't looked at layout.php :o) > > Regards, > Karsten > -- > Why do we have to hide from the police, daddy? > Because we use emacs, son. They use vi. > ----------------------------- > mailto:k.d...@tu... w³: http://www.k-fish.de/ > gpg: http://www.k-fish.de/mykeys.gpg I'd really like to revise some of the theme code in some way. All I've done so far is tweaked a few of the functions to support PHP code in them and that could just be a new function altogether too. I know that moving the theme.php functions to a new file would be alot of code changes but I think it would be best in the long run with those functions out of there. I still have to look at it more for sure before I'd even begin to change anything with it. I'm just concentrating on getting the new block code completed right now and then I might look at the themes. I'm not really sure if anyone in the dev team is already looking at the theme code or not but I'd be up to working on that next if need be. I'll work on the block code some more this weekend and should have something for you on Monday to include in the documentation. Email me at cam...@xp... and let me know exactly what you need for the documentation. I am adding a new table "CBlocks" and might get rid of the lblocks and rblocks tables, no ones said not to do that yet, I'm waiting to see if anyone objects to it :) If the lblocks/rblocks are removed then I might rename that table to just be "blocks". Jason D. Campbell Xplozive Media Technologies |