[TYPO3] TS for specific [news, or other] content elements / grabbing data from tt_news content elements?
Tyler Kraft
tyler.kraft at netefficiency.co.uk
Mon Jun 30 20:33:32 CEST 2008
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