No. The it has to be:

special.userFunc.select.orderBy = sorting

See TSRef, select:
http://typo3.org/documentation/document-library/references/doc_core_tsref/4.1.0/view/5/5/

--
Peter Klein / Umloud Untd


"Tapio Markula" <[EMAIL PROTECTED]> wrote in message 
news:[EMAIL PROTECTED]
> Peter Klein
>> Here's a tested version of the TS snippet:
>>
>> -- cut --
>> page.includeLibs.usermenu = fileadmin/menuFunc.inc
>>
>> tt_content.menu.20.3 >
>> tt_content.menu.20.3 = HMENU
>> tt_content.menu.20.3 {
>>  special = userfunction
>>  special.userFunc = user_menuFunc->makeMenuArray
>>  special.userFunc.table = tt_content
>>  special.userFunc.select.andWhere = sectionIndex!=0 AND header!=''
>>  special.userFunc.select.pidInList.override.field = pages
>>  wrap = <div class="csc-menu csc-menu-3">|</div>
>>  1 = TMENU
> cut
>
> My final code
>
> tt_content.menu.20.3 >
> tt_content.menu.20.3 = HMENU
> tt_content.menu.20.3 {
> special = userfunction
> special.userFunc = user_menuFunc->makeMenuArray
> special.userFunc.table = tt_content
> special.userFunc.select.andWhere = sectionIndex!=0 AND header!='' AND 
> colPos=0 AND header_layout=2
>
> special.userFunc.select.pidInList.override.field = pages
> wrap = <div class="csc-menu csc-menu-3">|</div>
> 1 = TMENU
> 1.NO.doNotLinkIt = 1
> 1.NO.stdWrap.field = header
> 1.NO.stdWrap.typolink.parameter.field = pid
> 1.NO.stdWrap.typolink.section.field = uid
> 1.NO.stdWrap.htmlSpecialChars = 1
> 1.NO.allWrap = <span class="csc-section">|&nbsp;&#124;&nbsp;</span>|*| 
> <span class="csc-section">|&nbsp;&#124;&nbsp;</span>|*|<span 
> class="csc-section">|</span>
> }
>
> One question
>
> How to add cobfig for 'order by' - should be 'sorting'
>
> $res = $this->cObj->exec_getQuery($lConf["table"],$lConf["select."]);
>
> $res = $this->cObj->exec_getQuery($lConf["table"],$lConf["select."], 
> $lConf["orderBy"]); // adding order by statement
>
> special.userFunc.orderBy??? 


_______________________________________________
TYPO3-english mailing list
TYPO3-english@lists.netfielders.de
http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-english

Reply via email to