[TYPO3-commerce] Category as DropDown

michael.schneider at titelei.de michael.schneider at titelei.de
Mon Sep 24 15:32:53 CEST 2007


hej,

I would like to know if anybody has any idea how to let the category  
output as a drop-down-Menu. I tried with JSMENU and it didn't work  
because of a missing CatUid.
then I tried this one:

1 = TMENU
      1.wrap(
<form>
<select name="select_menu" onChange="if (this.value != '') {  
document.location.href = this.value; } return false;">
<option value=""></option>
|
</select>
</form>
)
    1 {
      expAll = 1
      NO {
        allWrap.dataWrap = <option  
value="index.php?id=54&tx_commerce_pi1[catUid]={field:uid}">{field:title}</option>

           }
    }
}
shows the title correctly but doesn't work for the categoryUID (  
field:uid is the overridePid )

any idea how to solve this?

thanks
misch



More information about the TYPO3-project-commerce mailing list