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

Philipp Gampe phil at philippgampe.info
Fri Nov 6 16:19:14 CET 2009


Am 06.11.2009, 15:53 Uhr, schrieb Lamb, Brian <blamb at jcvi.org>:

> Hello all,
> I've posed this question before but haven't quite arrived at a solution  
> yet. I have a record that contains two tt_news items and I need to apply  
> different TypoScript to each. I set up the News objects with  
> TemplaVoila. When I hover over the objects, I see the following:
> tt_content: 1384
> tt_content: 1385
> Based on advice I've gotten from this already, I have set up the  
> following TypoScript:
> 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
>     }
>   }
> }
> lib.news2 = RECORDS
> lib.news2 {
>   # this is the uid of one the other plugin you created
>   source = 1385
>   tables = tt_content
>   conf.tt_content < plugin.tt_news
>   conf.tt_content {
>     displayLatest {
>       title_stdWrap.crop = 50 | ... | 1
>     }
>   }
> }
> However, this does not crop the title in either tt_news object. Any  
> thought as to why?
> Thanks,
> Brian Lamb

could you please post your complete TS?

-- 
Philipp Gampe
http://www.philippgampe.info


More information about the TYPO3-english mailing list