[TYPO3-dev] [TYPO3] TypoScript Highlighting
JoH asenau
info at cybercraft.de
Tue May 15 19:56:09 CEST 2007
>> If you have one TS Template with 1500 lines you're doing something
>> terribly wrong.
>
> why? whats wrong with a template of more than 1500 lines?
Depends on the size of the team working with those templates.
If you are just one person it might be ok but still you will run into
trouble if you have to find specific bug.
If there are more people working at the same site the problem is: Last one
who saves wins.
So usually its better to split up the template into smaller chunks and put
them together in a master template using "include basis template".
In the master template you will have something like:
page = PAGE
page {
10 = TEMPLATE
10 {
blah
marks {
menu < temp.menu
content < temp.content
footer < temp.footer
}
}
}
And then there will be 3 other templates for each of the marks:
temp.menu = COA
temp.menu {
10 = HMENU
10 {
blah
}
}
and so on ...
got the point?
Joey
--
Wenn man keine Ahnung hat: Einfach mal Fresse halten!
(If you have no clues: simply shut your gob sometimes!)
Dieter Nuhr, German comedian
openBC/Xing: http://www.cybercraft.de
T3 cookbook: http://www.typo3experts.com
More information about the TYPO3-dev
mailing list