[TYPO3-english] Different TypoScript for different objects on thesame record

JoH asenau info at cybercraft.de
Wed Nov 11 16:04:54 CET 2009

> Thank you for your advice. However, that still did not produce the
> intended results. My TypoScript for that page is now:
> lib.news1 = RECORDS
> lib.news1 {
>   # this is the uid of one of your 2 plugins you created
>   source = 1384
>   tables = tt_content
>   conf.tt_content < plugin.tt_news
>   conf.tt_content {
>     displayLatest {
>       title_stdWrap.crop = 10 | ... | 1
>     }
>   }
> }
> Any thoughts as to why this isn't shrinking the titles on the list
> elements?

Because this is a completely wrong approach.
If you read TSref about RECORDS, you will find out that:

conf.blah is responsible for the rendering of records from a certain table
These are in your case taken from the table tt_content and they are just the
containers of a tt_news plugin you inserted in the backend form.
Means: If you change anything at all with your TS you just change the
rendering of the containers this way but not the rendering of the plugin.



Wenn man keine Ahnung hat: Einfach mal Fresse halten!
(If you have no clues: simply shut your gob sometimes!)
Dieter Nuhr, German comedian
Xing: http://contact.cybercraft.de
Twitter: http://twitter.com/bunnyfield
TYPO3 cookbook (2nd edition): http://www.typo3experts.com

More information about the TYPO3-english mailing list