[TYPO3-shop] SingleView-query - 3 extra database-fields
Franz Holzinger
franz at fholzinger.com
Sat Jul 21 12:22:54 CEST 2007
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
More information about the TYPO3-project-tt-products
mailing list