[TYPO3-ttnews] Tt-news and mbl_newsevent : display "tx_mblnewsevent_from" field as date for related news
PAM
lbonnier at web-interaction.fr
Wed Sep 26 17:17:27 CEST 2012
Hi Everybody ;-)
I am using tt-news ans mbl_newsevent
I am trying to display date form mbl_newsevent field
"tx_mblnewsevent_from" in the list of related news.
So far the closer I've been is with the following config.
The result is .... date displayed is 01.01.1970 for all the related news.
Any idea on how to achieve that ?
Thank you for reading ;-)
Greetings
Laurent
[code]
# Call related news
plugin.tt_news {
relatedHeader_stdWrap.wrap =
# CObject for a single related item
getRelatedCObject = COA
getRelatedCObject {
groupBy =
orderBy = datetime desc
10 = CASE
10.key.field = type
# settings for 'normal' related news
10.default = COA
10.default {
wrap = <div class="ticketChronocontainer"><div
class="ticketChrono fondvert"> | </div></div>
9 = TEXT
9.field = tx_mblnewsevent_from
9.strftime = %d.%m.%Y
9.wrap = <div class="ticketChronoTime"> | </div>
10 = TEXT
10.field = title
10.typolink.parameter = 225
10.typolink.additionalParams.data=register:newsAddParams
10.typolink.useCacheHash = 1
10.wrap = <div id="ticketChronoTitle"> | </div>
}
}
}
[/code]
--
Laurent BONNIER // Web-Interaction
More information about the TYPO3-project-tt-news
mailing list