Hi!

Lars Haendler wrote:
> I have a general question concerning my usage of typoscript elements.
> 
> I normally use subparts like this:
> 
> page.10.subparts {
>     LEFTNAVI < leftmenu
>     [...]
> }
> 
> 
> leftnavi = HMENU
> leftnavi {
>     1 = TMENU
>     [...]
> }
> 
> 
> In examples I often see instead of my "leftnavi" this: temp.leftnavi
> 
> Is it just nomenclature or a deeper sense I did not get till now?

"TypoScript by example" and "Modern Tample Building" may help.

Generally temp and styles live only during script parsing. So they are good if 
you want to copy one object to many places. For example, you copy tt_news or 
menu, adjust lots of properties of the copy and then copy it to many real TS 
objects:

temp.news < plugin.tt_news
temp.news {
        ...... many changes here ......
}
lib.left_news < temp.news
lib.left_news.pidInList = 1
lib.right_news < temp.news
lib.right_news.pidInList = 1


-- 
Dmitry Dulepov
TYPO3 Core team
My TYPO3 book: http://www.packtpub.com/typo3-extension-development/book
In the blog: 
http://typo3bloke.net/pages/book-reviews/presentation-zen-by-garr-reynolds/
_______________________________________________
TYPO3-english mailing list
[email protected]
http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-english

Reply via email to