[Typo3] value for the special.mode in HMENU
Peter Klein
peter at umloud.dk
Sun Oct 16 15:53:48 CEST 2005
Hi Francesco, Im not quite sure what it is you want to accomplish, but you
can change the sorting order of menus, by setting the
"alternativeSortingField" property for your TMENU/GMENU object.
More info here:
http://typo3.org/documentation/document-library/doc_core_tsref/Common_properties/
---
Peter Klein /Umloud Untd
"Francesco di Francia" <darksky77 at email.it> wrote in message
news:mailman.1.1129469355.10210.typo3-english at lists.netfielders.de...
>I created some HMENU objects to create local submenu or subindex.
>
> I need the output of these menu ordered by Title field or Subtitle field.
> I inserted special.mode = subtitle but it doesn't work. It seems it order
> the menu links using one of the date cryteria.
> Because of the pages are already and ever ordered in the backend i will be
> ok also by simply deactivating the "mode" property, letting the script to
> generate the menu as it scans the backend.
> Does special.mode accepts also other kind of field such as subtitle,
> title, author, etc etc ?
>
>
> This is the code:
>
> ### REVIEW LIST ###
> lib.reviewlist = HMENU
> lib.reviewlist.wrap = <div class="csc-menu csc-menu-4">|</div>
> lib.reviewlist {
> special = keywords
> special {
> mode = subtitle
> entrylevel = 0
> }
> 1 = TMENU
> 1.NO {
> stdWrap.field= subtitle
> allStdWrap.append = COA
> allStdWrap.append {
>
> 5 = HTML
> 5.value=
> 10 = TEXT
> 10.data = field : abstract
> 12 = HTML
> 12.value=
>
>
> 30 = TEXT
> 30.data = field : author
> 32 = HTML
> 32.value=
>
> 40 = TEXT
> 40.data = field : author_email
> 42 = HTML
> 42.value=
>
> 50 = TEXT
> 50.field = crdate
> 50.date = d-m-Y
> 52 = HTML
> 52.value=<br>
> }
>
> }
> }
>
> Greetings,
>
More information about the TYPO3-english
mailing list