|
From: Bob F <mon...@gm...> - 2005-09-27 20:41:57
|
Templating system isn't giving me problems, it was archiving. But that's mainly because of my backwards (literally) naming scheme. I confused myself using a $back variable for going forward and ++ when I should -- and the like. Simpler now then I originally thought it would be, wonderous what looking at something afresh can do. Mike, I think you'll be happy to here about our new templating system we have planned. If you've ever used wordpress or textpattern or any number of PHP apps that use these things, you'll be familiar. Basically, we're going to have four template pages that users can modify to their own pleasing: Header, Footer, Navigation, Posts. So admins will have almost total control over the HTML used (except for things like UBB code which we'll generate on our own, of course). So users can totally incorporate Chategory into their website exactly as they please, even making the HTML fit in. They have control of everything before, and everything after Chategory, they have control over the markup for the navigation (This is chategory navigation - Home, Users Online, User Control Panel, ect.) and how posts are presented. So if you want the posts displayed in an unordered list, you can do it. If you want them to be all one line, go ahead. If you want to have the post text, followed by the poster's name, followed by the date then you can do it. This was Zach's idea I believe, and I think it offers a great degree of customization. We will, however, ship with a default template so that Chategory is ready to go out of the box. Also, it's a lot easier to edit what's already there instead of starting from scratch so this should really ease it for admins. I'm also thinking of having an update script, if possible, which will make Chategory look the exact same on upgrading to sav= e existing users from any hassles that might pop up. Just an idea for now, bu= t I think it's doable. |