[TYPO3-ttnews] Categories Menu help

Martin Holtz typo3 at martinholtz.de
Mon Jul 23 16:16:14 CEST 2007


Hi Cray,

>> andWhere = parent_category =
>> # Append the category-date
>> andWhere.append = TEXT
>> andWhere.append.data = {GPvar:tx_ttnews|cat}
sorry, this is wrong
should be
andWhere.append.data = GPvar:tx_ttnews|cat
or (i would prefere)
andWhere.append.value = {GPvar:tx_ttnews|cat}
andWhere.append.insertData = 1

sorry.

>> andWhere.append.intval = 1
>> # default
>> andWhere.append.ifEmpty = 10
>> may that works - didnt test it.
> 
> I'm really become stupid with this lots of work. ): I completely wrong
> explain my situation. ):
> 
> I have menu in the left column, which display first level categories. It
> works. well.
> And I have page where CATMENU and LIST placed. I want make CATMENU show
> not all categories, but only subcategories of first level category to
> which we go from left menu.  I decided to create ext. template on this
> page and show categories (and news list) (with your code) through TS
> but, it seems not use {GPvar:tx_ttnews|cat} and everytime set to 10. ):
jup, sorry (see above)

> I think I don't understand something. ):
you should have an look at the output of andWhere:

page.100 < ...andWhere
           ^input the typoscript path to that statement:)
# should give you that part of the query.

greets,
martin



More information about the TYPO3-project-tt-news mailing list