blog » A module and front page creator
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 :-)

Congratulation - you got the point.
What I would do :
a _template (like start:_template for the "start:start" page. :) with a lot of cascading includes.
The "overall layout" is done in the template, but with includes of the boxes ( or Modules ) and their layout definitions ( the tables and div's) ,
The really "included content of mod1" is done over "variables" called in the conent 1-12 sections of the template
perhaps:
(content##) has between the overall layout defs (skin/background color a,.s.o) a line in every content#:
This should work I think!
Service is my success. My webtips:www.blender.org, www.zusi.de (Demo-Video)
Wollen Sie Wikidot helfen im deutschen » Handbuch ?
I made a split betwen
"home:home#"-page , "home:_template " and
"start:mod-layout#" and start:content… pages the_template was too disturbing.
and a split between "header" and included content ( 2 variables)
Have a look:
Hmoe page: http://helmuti-pdorf.wikidot.com/home:home1
home:_template: http://helmuti-pdorf.wikidot.com/home:_template
start:mods:
http://helmuti-pdorf.wikidot.com/start:mod_layout2
http://helmuti-pdorf.wikidot.com/start:mod_layout1 ( wihtout layout)
start:contents:
http://helmuti-pdorf.wikidot.com/start:latest-wikidot-com-news
http://helmuti-pdorf.wikidot.com/start:keep-informed
http://helmuti-pdorf.wikidot.com/start:forum-activity
http://helmuti-pdorf.wikidot.com/start:small-faetured-site
http://helmuti-pdorf.wikidot.com/start:latest-community-news
http://helmuti-pdorf.wikidot.com/start:you-help
http://helmuti-pdorf.wikidot.com/start:How-Do-I
and so on.
MY PROBLEM: why is
1. the fonts so big (bigger than on community ) - is it the CSS stayle?)
2. WHY is in the home page the past block the welcome AGAIN??
EDIT: I found the reason - the FIRST "=====" in the template was without a line fieed before it!
Now the home1 page is OK so… only too big?
EDIT2: The first booring space line bewfore the welcome comes from the "include" - i see no chance to erase this space line…
Service is my success. My webtips:www.blender.org, www.zusi.de (Demo-Video)
Wollen Sie Wikidot helfen im deutschen » Handbuch ?
yes! :-)
or should I ask the admins in the admin forum?
Service is my success. My webtips:www.blender.org, www.zusi.de (Demo-Video)
Wollen Sie Wikidot helfen im deutschen » Handbuch ?