[TYPO3-ttnews] Categories Menu help

Martin Holtz typo3 at martinholtz.de
Thu Jul 19 15:30:48 CEST 2007


Hi Cray Flatline,

> I'm using such TS to show first level of categories as menu. But as you
> see, it gives links not compartible with realurl. Can anybody help me to
> make menu to show not index.php?id=32.... but /news/Company-News.html
> links there?
use typolink

> temp.leftmenu = CONTENT
> temp.leftmenu {
>        table = tt_news_cat
>        select {
>            # the category folder(s)
>            pidInList = 36
>            andWhere = parent_category = 10
>        }
>        renderObj = COA
>        renderObj.wrap = <li>|</li>
>        renderObj {
>            10 = TEXT
10.field = title
10.wrap = <span>|</span>
10.typolink.parameter = 32
10.typolink.additionalParams = &tx_ttnews[cat]={field:uid}
10.typolink.additionalParams.insertData = 1
# i think that should work, it not check for typo

>        }
>    }
> 
> 
> ==
> Wbr, Cray Flatline
what means Wbr?

greets,
martin


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