Hi, Vincent.

plugin.tt_news {
  displayCatMenu {
    catmenu_stdWrap.wrap = <div class="trieur"><select
id="categoryTrieur">|</select></div>
    catmenuHeader_stdWrap.wrap = <option value=""> select a category
</option>
    catmenuItem_ACT_stdWrap.wrap = <option value="|"
selected="true">|</option>
    catmenuLevel1_stdWrap.wrap = <option value="|">|</option>
  }
}

I don't understand how to replace the first pipe (the first wrap) with the
good link to the current category ?
Btw i don't really know how-to/where generate the good typolink to put in
the value param ?

If tt_news supports stdWrap fully, you may do it like this:
catmenuItem_ACT_stdWrap.cObject = COA

catmenuItem_ACT_stdWrap.cObject.10 = TEXT
catmenuItem_ACT_stdWrap.cObject.10.typolink {
 parameter = [page-id]
 additionalParams.field = [category-id]
 additionalParams.wrap = &tx_ttnews[cat]=|
 returnLast = url
}
catmenuItem_ACT_stdWrap.cObject.10.wrap = <option value="|">

catmenuItem_ACT_stdWrap.cObject.20 = TEXT
catmenuItem_ACT_stdWrap.cObject.20 {
 field = [category-title]
 wrap = |</option>
}

Just replace values in [] with correct numbers and fieldnames.
_______________________________________________
TYPO3-english mailing list
TYPO3-english@lists.typo3.org
http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english

Reply via email to