|
|||||||
| Registrieren | Hilfe | Benutzerliste | Kalender | Suchen | Heutige Beiträge | Alle Foren als gelesen markieren |
|
#1
|
|||
|
|||
|
Simon Tuck пишет:
> Joern Bock wrote: > >> Yes Simon, I had such a workaround with two different template files >> in mind. But to be honest, a solutions as described by Franz would be >> a much more tailor-made solution, don't you think? > > Hi Joern, > Well, of course: If you are implementing a shop for a client then I > expect it to be tailored to the customers needs. But I see no advantage > in modifying the extension code when a couple of lines of TS will > achieve the same result. > > However, if you still want to modify the code, then you should do as > follows: > In class.tx_ttproducts_list_view.php go to the method printView. > Where it says: > > // Getting various subparts we're going to use here: > $area = ''; > if ($memoItems != '') { > $area = '###MEMO_TEMPLATE###'; > } else if ($theCode=='LISTGIFTS') { > $area = '###ITEM_LIST_GIFTS_TEMPLATE###'; > } else { > $area = '###ITEM_LIST_TEMPLATE###'; > } > > Modify the code to read: > > // Getting various subparts we're going to use here: > $area = ''; > if ($memoItems != '') { > $area = '###MEMO_TEMPLATE###'; > } else if ($theCode=='LISTGIFTS') { > $area = '###ITEM_LIST_GIFTS_TEMPLATE###'; > } else if ($theCode=='LISTOFFERS') { > $area = '###ITEM_LISTOFFERS_TEMPLATE###'; > } else { > $area = '###ITEM_LIST_TEMPLATE###'; > } > > That ought to do the trick... > Cheers, > Simon > Hello Simon Ca you post here more code modifications parts, becouse provided code doesn't work. Or can you send me modified file by e-mail? Alex _______________________________________________ TYPO3-project-tt-products mailing list TYPO3-project-tt-products (AT) lists...netfielders.de http://lists.netfielders.de/cgi-bin/...ct-tt-products |
| Lesezeichen |
| Themen-Optionen | |
| Ansicht | Thema bewerten |
|
|
|
||||
| Thema | Autor | Forum | Antworten | Letzter Beitrag |
| [TYPO3-shop] Re: [Typo3-shop] to browse categories in FE | Alexander | typo3-project-tt-products@lists.netfielders.de | 0 | 02.12.2006 16:35 |