A module and front page creator

blog » A module and front page creator

rating: 0+x

I have been experimenting with creating an easy to manipulate front page system.
what i am trying to do is create a system that looks like the front page of the community wiki.

But instead of having all that crap in the source code, that makes it rather difficult to "see" wtf is going on something like this

Right column Left column
include mod1 include mod 2
include mod 3 include mod 8
include mod 6 include mod 5

in effect the object of the exercise is to create a _template that will just have:-

====
right column cell 1
====
right column cell 2
=====
right column cell 3
=====
left colum cell 1

=====
left colum cell 2
=====
left column cell 3
etc.

where we would over type with the required included mod.(or info box if you like, i shall call them modules)

setting up a _template for this is easy. Not a problem

Making the modules is rather more problematic. (it would appear)
the Problem really occurs with the mods:_template.
Making a template is easy enough, as is adding whatever you want in it.
However when you include it, the formatting is not carried over
DAM!.
if you use the old style template, then the include works fine, but the problem with that is that if ever you want to change the formatting, you will have to change every blasted module page.
eg. with _templates, i can change the background colour, and that change is carried over to ALL modules(info boxes)

So somehow, i need to devise a way that i can do that. as yet… i have not come up with an answer….

more bloody thinking :-)

Page tags: blog
page_revision: 1, last_edited: 1234353802|%e %b %Y, %H:%M %Z (%O ago)
Unless otherwise stated, the content of this page is licensed under Creative Commons Attribution-ShareAlike 3.0 License