what if we provided the option for different templates for displaying in the board index?
Re: Only display 'Redirect boards' when there actually are any
« Reply #15, on July 26th, 2012, 10:18 AM »
what if we provided the option for different templates for displaying in the board index?
I think SMF was trying to head in this direction as you can choose different templates per board
Maybe even better is to split the template sections up into groups where each section of a template is selectable.
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?
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.
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.
1. | Always thought it was spelled 'dwelve'... |
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.