Actually, I was debating going one step further. I agree that default board state icons per board type would be good, but what if we provided the option for different templates for displaying in the board index?
You mean, per-board templating...? i.e. load the list of boards, then for each board, determine type, and load the correspond template block. Render. Rinse and repeat.
Posted: July 27th, 2012, 05:29 PM
I think SMF was trying to head in this direction as you can choose different templates per board, but having different templates per area within a main template is more appealing then the mess of installing multiple templates just to use a message template from it.
Yup...Maybe even better is to split the template sections up into groups where each section of a template is selectable. Say you can release a template but it may contain a few files for the post display. Maybe these can be stored in a main template that only contains minor templates that modify little stuff and rely on a main templates CSS for styling or maybe the minor template can have its own CSS which it specifies the system to load with the main template.
As you may remember, I rewrote the templating system for Wedge last year or so. What Wedge supports now is a skeleton where you determine a list of blocks to load from the available templates. You can load multiple templates (as long as you use different function names of course), so it's very easy to have a MessageIndex.template.php file with a function template_type_blog() and a function template_type_board(), which is pretty much how we do it already...
We have yet to delve further into it, it's pretty much done for per-page templating, but it's very much doable for per-board (or per-topic) templating as well... Which, of course, we'll eventually do.