[TYPO3-english] register:newsCategoryUid
Michael Miousse
mmiousse at infoglobe.ca
Tue Aug 4 14:33:45 CEST 2009
Le Tue, 04 Aug 2009 10:38:30 +0200, Pero Matic a écrit :
> Hi. In TSRef doc. it says that newsCategoryUid register holds the Uid
> of the category of the current news record but i was wandering what is
> the current news record when news code is defined as LIST? What i try to
> accomplish is to have a LIST of news on one page from one category and
> to write category name on the top of the page. This way i can use the
> same template for all pages/different categories. Thx!
the newsCategoryUid is different for each news displayed from your LIST
it has 1 value per news display.
what if you use the CATMENU code from tt_news and than use the get
variable from the url to get the current category. this way you will have a list
filtered by categories and you will be able to know whitch category is currently listed
regards
Miousse
More information about the TYPO3-english
mailing list