[TYPO3-english] (beginer) How to transform tt_news catMenu (nested mode) in a html select dropdown with link to category ?

Victor Livakovsky v-tyok at mail.ru
Mon Jul 9 18:41:13 CEST 2012


Hi, Vincent.

Nice to hear, that I was helpful :)

> it's better but there are still two problems :(
> 1./ the typolink are not good
> 2./ there are not categories titles between <option...> and </option>

Yes, that's a bit tricky part. These 'field' things tells the core, that it 
should take value from field, called, i.e. 'category_uid'. These fieldnames 
totally depend on extension developer, but you may take a look at DB fields 
of the table, you're working with - in 99% of cases fieldnames in TS will be 
the same, as fieldnames in db (maybe, some will be missing or some new 
added, which, actually, should be reflected in extension documentation).
So, in your case [category-id] would be simple 'uid' (don't put quotes in 
TS); [category-title] = 'title' or 'name' (take a look at DB better).

Hope it helps ;) 



More information about the TYPO3-english mailing list