TYPO3Jack.net - Das TYPO3 Mailinglist Forum Archiv

TYPO3 Mailingliste: nicht fragen - lesen!

TYPO3 Mailingliste: nicht fragen - lesen!_RR_1-->
Zurück   TYPO3Jack.net - Das TYPO3 Mailinglist Forum Archiv > TYPO3-Mailinglists: ENGLISH > typo3-project-tt-products@lists.netfielders.de

Registrieren Hilfe Benutzerliste Kalender Suchen Heutige Beiträge Alle Foren als gelesen markieren
  #1  
Alt 17.07.2007, 18:49
Daniel Brüßler
Gast
 
Beiträge: n/a
Standard Re: [TYPO3-shop] SingleView-query - 3 extra database-fields

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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Wong this Post!Spurl this Post!Reddit! Diesen Post bei linksilo.de bookmarken!
  #2  
Alt 21.07.2007, 12:22
Franz Holzinger
Gast
 
Beiträge: n/a
Standard Re: [TYPO3-shop] SingleView-query - 3 extra database-fields

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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Wong this Post!Spurl this Post!Reddit! Diesen Post bei linksilo.de bookmarken!
 

Lesezeichen

Themen-Optionen
Ansicht Thema bewerten
Thema bewerten:

Forumregeln
Es ist dir nicht erlaubt, neue Themen zu verfassen.
Es ist dir nicht erlaubt, auf Beiträge zu antworten.
Es ist dir nicht erlaubt, Anhänge hochzuladen.
Es ist dir nicht erlaubt, deine Beiträge zu bearbeiten.

BB-Code ist an.
Smileys sind an.
[IMG] Code ist an.
HTML-Code ist aus.
Trackbacks are an
Pingbacks are an
Refbacks are an


Ähnliche Themen

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


Alle Zeitangaben in WEZ +1. Es ist jetzt 00:12 Uhr.


Powered by vBulletin® Version 3.7.4 (Deutsch)
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.1.0
Template-Modifikationen durch TMS

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77