[TYPO3] TS for specific [news, or other] content elements / grabbing data from tt_news content elements? [resolved]
Tyler Kraft
tyler.kraft at netefficiency.co.uk
Tue Jul 1 10:31:04 CEST 2008
Hi,
Your welcome and I hope the weather is nice in BC 8-)
Tyler
Kathryn Blair wrote:
> Hi Tyler,
>
> Sorry, I think it does work. I did try it before, and I thought it didn't
> work (which is why I said that), but I tried it just NOW and it looks like
> it did work, so thanks a lot and I'm sorry I was confused about what was
> going on. The TS with annotation was EXTREMELY helpful.
>
> Thanks a lot -- I'm going to fiddle with it some more and make sure I fully
> understand how it works.
>
> Thanks a lot,
>
> Kathryn Blair
> -----Original Message-----
> Hi
>
> How do you know that's not what you need? Did you try it?
>
> They are not the same - my way lets you pull out one specific content
> item (the one your editors can chnage things on) and then also tweak the
> tt_news rendering for that one item alone!
>
> # pull out the content
> dates.60=CONTENT
> dates.60.table = tt_content
> dates.60.select.pidInList=879
> dates.60.select.uidInList=1316
> dates.60.select.wrap = <div class="important-dates-employers"> | </div>
>
>
> # define the rendering for this news item
> # ( this will then use the defualt rendering for news and the
> settings
> from the individual extension instance )
> dates.60.renderObj =< plugin.tt_news
>
>
> # redefine the rendering template for this one item only (in this
> area
> we can then start to over-ride the default setting)
> #so if we wanted this one instance of the news item to always use
> sub-catagories no matter any setting we could force that here
> dates.60.renderObj.templateFile =
> fileadmin/Arts_Co-op/templates/news_templates/arts-co-op-headlines.tmpl
> dates.60.renderObj.useSubCategories=1
>
> I could be wrong about this working but I can't see a reason it wouldn't
> work.
>
> hth
>
> Kathryn Blair wrote:
>> Hi Tyler,
>>
>>
>>
>> No, that's not what I need.
>>
>
More information about the TYPO3-english
mailing list