[TYPO3] tt_news - AMENU
Francois Suter
fsuter at cobweb.ch
Wed Dec 12 21:16:49 CET 2007
Hi Brian,
There are some parts of your TS I don't understand:
> 11 = TEXT
> 11 {
> field = stop
> strftime =
> }
What's that supposed to do? What's a entity doing as a
strftime value?
> This will correctly display the menu. However, when I click on a link,
> it does not show the articles from that year. Any thoughts?
Well what do your links look like? Could you post an example?
If it maybe of any help, here is some TS coming from one of my web
sites with yearly-archiving mode:
archiveMode = year
useHRDates = 1
archiveTitleCObject.10 {
if.value.date = Y
if.equals.data = GPvar:tx_ttnews|year
strftime = %Y
wrap = <span class="cw_itemcur">|</span>
}
archiveTitleCObject.20 {
if.value.date = Y
if.equals.data = GPvar:tx_ttnews|year
strftime = %Y
}
newsAmenuUserFunc >
amenuWithCatSelector = 1
Note that this represents only the changes from the default TS setup.
I use human-readable dates because it fits better with RealURL.
HTH
François Suter
--
Cobweb Development Sàrl
www.cobweb.ch
Rue Eugène-Marziano 15, CH-1227 Les Acacias (Geneva - Switzerland)
T: +41 22 880 00 93, F: +41 22 880 00 94, E: support at cobweb.ch
web solutions for professionnal requirements
More information about the TYPO3-english
mailing list