[TYPO3-english] tt_news TypoScript
    Lamb, Brian 
    blamb at jcvi.org
       
    Fri Sep 18 14:49:26 CEST 2009
    
    
  
Greetings all, 
I posed this question recently but I think it may have gotten lost in the shuffle because my reply changed the subject. Essentially, I want to associate two different tt_news elements on the same page with different TypoScripts. I render these objects with TemplaVoila. Any thoughts on how to do that?
Thanks, 
Brian Lamb
Date: Wed, 16 Sep 2009 10:06:02 -0400
From: Dan Osipov <dosipov at phillyburbs.com>
Subject: Re: [TYPO3-english] tt_news TypoScript
To: typo3-english at lists.netfielders.de
Message-ID:
        <mailman.1.1253109962.24179.typo3-english at lists.netfielders.de>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
If you render the objects through TS, then you just need to modify the
individual object code:
page.32 < plugin.tt_news
page.32 {
    displayLatest {
      title_stdWrap.crop = 140 | ... | 1
    }
}
page.33 < plugin.tt_news
page.33 {
    displayLatest {
      title_stdWrap.crop = 20 | ... | 1
    }
}
Dan Osipov
Calkins Media
http://danosipov.com/blog/ <https://owa.jcvi.org/exchweb/bin/redir.asp?URL=http://danosipov.com/blog/> 
Lamb, Brian wrote:
> Greetings all,
>
> Is it possible to attribute different TypoScript descriptions to different tt_news records on the same page? For example, I have the following TypoScript on a page:
>
> plugin.tt_news {
>   displayLatest {
>     title_stdWrap.crop = 140 | ... | 1
>   }
> }
>
> Which applies to both instances of tt_news on the same page. However, I would like to have one tt_news object use this, and another change the crop information to be a bit smaller. Is this possible? If so, how?
>
> Thanks,
>
> Brian Lamb
    
    
More information about the TYPO3-english
mailing list