[Typo3-dev] any extension developers need html/css templating?

ben van 't ende [netcreators] ben at netcreators.nl
Wed Nov 17 15:38:56 CET 2004


Kasper Skårhøj wrote:

> What I wanted from you was an answer to why the hardcoded class tagging
> in extensions from the kickstarter is not good enough (if that was what
> you meant). I mean; The kickstarter will spit out some auto-generated
> class names encapsulating plugins, eg. all plugins from an extension
> "myext" will be encapsulated in a <div class="tx-myext-pi1"> or so.
> Probably you think that <div class="forum"> is a more readable idea but
> it is not unique and the idea of my recommendations are that if classes
> used in extensions are unique for the extension we don't even HAVE to
> make customizable HTML templates for them because from CSS you can
> change anything you liek since there is a unique identification of all
> classes used!
> 
> I call this sofisticated usage of CSS; You don't need HTML templates and
> CSS is in charge of it all. Isn't that dreamland?

Hi Kasper,

Encapsulating with <div class="tx-myext-pi1"> is excellent and is 
already like that. I make good use of the fact that extension output is 
encapsulated like it is now. And ofcourse these classes or id's should 
be unique and identifiable (recognizable).

The thing we had a discussion about before (SnowBoardTour 2003) is that 
I want to have my layout separate from the coding in so far this is 
possible. I hate going into php files. That's not my thing. I avoid 
extensions that are coded like that if there is another alternative. 
Indexed Search is like that. I struggled time and again to get a good 
CSS to surpress the <H3> present in that code. I did not want a <H3> 
there. Zach and also Rupert use separate templates with markers for 
layout and that is IDEAL for a CSS dude like me. There is no need to 
change anything in the extension. You can just use another template for 
that. I prefer that scalability. Once I have a template I like it is 
very likely I will use it in future projects as well.

gRTz

ben
-- 
netcreators::creation and innovation
www.netcreators.nl - www.typo3.nl




More information about the TYPO3-dev mailing list