|
|||||||
| Registrieren | Hilfe | Benutzerliste | Kalender | Suchen | Heutige Beiträge | Alle Foren als gelesen markieren |
|
#1
|
|||
|
|||
|
Hello Franz,
did you see my question? Please give me a hint for this. kind regards Daniel Daniel Brüßler schrieb: > Hello Franz, > > it's not clear to me where to look and what to look for. > > In class tx_ttproducts_single_view/ printView there's this: > > $itemTableConf[$this->type] = > $this->cnf->getTableConf($itemTableArray[$this->type]->table->name, > 'SINGLE'); > > In tx_ttproducts_article_base/ init this: > $this->tableconf = $this->cnf->getTableConf($tablename); > > In tx_ttproducts_product this function: > getItemMarkerArray (&$item, &$markerArray, $catTitle, &$basketExt, > $imageNum=0, $imageRenderObj='image', &$tagArray, > $forminfoArray=array(), $code='', $id='1') > > In tx_ttproducts_article_base/ this function: > getNeededUrlParams($theCode) > > > ## So which place to you mean? ;-) > > kind regards > Daniel > >>> But why doesn't that work for the SINGLE-view? >>> conf.tt_products.ALL.requiredFields = ... >>> conf.tt_products_articles.ALL.requiredFields = ... >>> conf.tt_products.SINGLE.requiredFields = ... >> You must modify the call of tx_ttproducts_product and add the $theCode >> parameter here. _______________________________________________ TYPO3-project-tt-products mailing list TYPO3-project-tt-products (AT) lists...netfielders.de http://lists.netfielders.de/cgi-bin/...ct-tt-products |
|
#2
|
|||
|
|||
|
Hello Daniel,
> In tx_ttproducts_article_base/ init this: > $this->tableconf = $this->cnf->getTableConf($tablename); > > In tx_ttproducts_product this function: > getItemMarkerArray (&$item, &$markerArray, $catTitle, &$basketExt, > $imageNum=0, $imageRenderObj='image', &$tagArray, > $forminfoArray=array(), $code='', $id='1') > > In tx_ttproducts_article_base/ this function: > getNeededUrlParams($theCode) > > > ## So which place to you mean? ;-) In the init of article_base you must have the $theCode parameter and use this to get the correct initial $this->tableconf taking care of the CODE. Otherwise it will look for ALL only, when no code is given. function &getTableConf ($functablename, $theCode='') { - Franz _______________________________________________ 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-ttnews] SingleView on every page | Thomas Scholze | typo3-project-tt-news@lists.netfielders.de | 1 | 02.06.2007 17:34 |
| [TYPO3] Extra wrap after x item? | Tapio Markula | typo3-english@lists.netfielders.de | 4 | 20.05.2007 13:31 |
| [TYPO3-shop] shipping payment and an extra choise | Leen Strijk | typo3-project-tt-products@lists.netfielders.de | 1 | 03.05.2007 08:13 |
| [TYPO3] sr_feuser_register 2.5.4 extra fields | Daniel Koch | typo3-english@lists.netfielders.de | 0 | 08.01.2007 16:33 |
| Re: [TYPO3-dev] How to link to singleview from one ext to another | Zorik | typo3-dev@lists.netfielders.de | 2 | 09.12.2006 22:48 |