[TYPO3-ttnews] AMENU not showing all Years
Robert M Wildling
rowild at gmx.net
Fri Apr 2 13:38:36 CEST 2010
Ad 2)
Did you check the
plugin.tt_news.amenuStar
&
plugin.tt_news.amenuEnd
vars?
You can set them in the constants of your template.
As for 1) I have no idea. Which version of tt_news do you use? Any
chance there is a spelling error in the date field?
I would assume that 2011 cannot be shown as archive, since it is still
in the future - so there might be some configuration issues that
conflict with each other...
Regards,
Robert
> Hi all,
>
> I'm trying to implement a usual A(rchive)Menu. Im using the following,
> wide spread, solution to display the Archive by year.
>
> There are two problems with this solution:
>
> 1. The Year 2011 is displayed as 1970.
> Only displayed in the AMenu. Links are correct to 2011.
>
> 2. The AMenu does not display all years.
> We have news from 2003 in every year. But the AMenu is only
> displaying the year 2006,2007,2008,2009,2010 and 2011 (as 1970).
>
> Thanks in advance
>
> Ansgar
>
>
> FYI the Typoscript I'm using to generate the AMENU:
>
> archiveTitleCObject>
> archiveTitleCObject = COA
> archiveTitleCObject{
> # Month
> 10 = COA
> 10 {
> 10=TEXT
> 10 {
> field = start
> strftime = %b -
> wrap =<em>|
> }
> 11 = TEXT
> 11 {
> field = stop
> strftime = %b
> wrap = |</em>
> }
> if {
> value.field = start
> equals.data = GP:tx_ttnews|pS
> }
> }
> # Year
> 20 = COA
> 20{
> 10 = TEXT
> 10 {
> field = start
> strftime = %b -
> wrap =
> }
> 11 = TEXT
> 11 {
> field = stop
> strftime = %b / %Y
> wrap =
> }
> if {
> value.field = start
> equals.data = GP:tx_ttnews|pS
> negate = 1
> }
> }
> }
>
> _______________________________________________
> TYPO3-project-tt-news mailing list
> TYPO3-project-tt-news at lists.typo3.org
> http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-project-tt-news
>
>
More information about the TYPO3-project-tt-news
mailing list