I have to take a week or 2 off from working on this because im in the middle of writeing a bunch of mantainance contracts but i would like to pint out that there are lots of ideas to be seen in in CMS projects out there like Mambo and others that could be used in GL. If Mambo's admin interface wasnt so god dam confusing it would have geeklog beat hands down in the way it handles plugins and layout. prehaps i will take some of these ideas and make core work like it does ( minus the cruft that is). by the way the theme interface can be conciderably lessend by doing away with start and end functions like COM_StartBlock and COM_EndBlock if you just used a unified COM_createBlock with the content going into the argument the entirety of the block template can go in one file witch makes it easer to edit when createing new themes or porting themes from other CMS or current static page based web sites. I plan on seeing if i can impiment something like this though it would break a lot of plugins but the changes to current plugins to do this would be quite simple in that you replace all instances of these function calls with the unified one. Most code looks like this anyways
Text Formatted Code
<?php
$display .= " something ";
$display .= " something ";
Echo COM_startBlock();
Echo $display;
Echo Com_EndBlock();
?>
If you change it so $display becomes a argument to a single function that calls a single template you have just made the template file for a block one file witch makes it easer to edit in a HTML editor eather on your machine or in a javascript HTML editor on a web page. this can also be used for COM_startpage and COM_endpage. wouldnt it be nice to just have to edit one HTML file to change page layout?
BEGIN RANT
Those of you who place the COM_startpage at the top of the page and use ECHO all though the page, did you relize that doing that slows down the execution of the page by quite a bit. If you dump all output into a string and echo it once, you save quite a lot overhead. i have even seen plugins and hacks that use even slower ways to output but thats a rant for another post hehe. But sufice to say instituteing my method would have the side effect of forceing lazy programers to speed up there code
END RANT
My current status with what i have done
Polls and Links turned into plugins
Polls does not have comment funtionality yet (still trying to wrap my head around it)
Links and Polls plugins do not uninstall as of yet (I just have to fix the unistall functions)
Removed all code in geeklog that does Polls and Links stuff that it built in
Documenting plugin interface for others use in a more detailed way and asist in seeing what is lacking (20% done)
I have begun turning Calendar into plugin (about 50% done)
begin study of News(blog) code for as to how to convert to plugin
began moveing settings for Polls and Links from config.php to a database table that is installed when plugin is installed.
As you can see there is a lot going on. See you guys in two weeks
glFusion - Technology Fused with Style - www.gllabs.org