TYPO3Jack.net - Das TYPO3 Mailinglist Forum Archiv

Die TYPO3 Mailingliste - nicht fragen: lesen!

[TYPO3-shop] Extend tt_products is not working

This is a discussion on [TYPO3-shop] Extend tt_products is not working within the typo3-project-tt-products@lists.netfielders.de forums, part of the TYPO3-Mailinglists: ENGLISH category; Hi, I am usually not that bad with extensions but it is kind of not working to extend tt_products. The ...


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 15.07.2008, 09:33
Georg Ringer
Gast
 
Beiträge: n/a
Standard [TYPO3-shop] Extend tt_products is not working

Hi,

I am usually not that bad with extensions but it is kind of not working
to extend tt_products. The new fields are not visible in $row. The
fields are shown in the backend form of a record and the hook is called
because my print_r is working.

My code
-----------------------
ext_localconf.php
require_once(t3lib_extMgm::extPath($_EXTKEY).'clas s.tx_rgmediaimages_products.php');

$TYPO3_CONF_VARS['EXTCONF']['tt_products']['extendingTCA'][] = $_EXTKEY;
$TYPO3_CONF_VARS['EXTCONF']['tt_products']['PRODUCT'][] =
t3lib_extMgm::extPath($_EXTKEY).'class.tx_rgmediai mages_products.php:&tx_rgmediaimages_products';

-----

class.tx_rgmediaimages_products.php

class tx_rgmediaimages_products {

function getItemMarkerArray (&$pObj, &$markerArray, $item, $catTitle,
$imageNum, $imageRenderObj, $formInfoArray, $code, $id) {

$row = $item['rec'];
print_r($row);
...

-----------------------

Of course there are the <?php tags and every bracket closed.

What did I miss?

thanks
Georg
_______________________________________________
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 15.07.2008, 13:22
Thorsten Orth
Gast
 
Beiträge: n/a
Standard Re: [TYPO3-shop] Extend tt_products is not working

Hi Gregor,

I just had the same problem.
You have to update the TS-setup like

plugin.tt_products {
....
conf.tt_products.ALL {

requiredFields =
uid,pid,category,price,price2,tax,inStock,yourfiel d1,yourfield2, ...
}
....
}

I hope, that would help you.


best regards

Thorsten

Georg Ringer schrieb:
> Hi,
>
> I am usually not that bad with extensions but it is kind of not working
> to extend tt_products. The new fields are not visible in $row. The
> fields are shown in the backend form of a record and the hook is called
> because my print_r is working.
>
> My code
> -----------------------
> ext_localconf.php
> require_once(t3lib_extMgm::extPath($_EXTKEY).'clas s.tx_rgmediaimages_products.php');
>
>
> $TYPO3_CONF_VARS['EXTCONF']['tt_products']['extendingTCA'][] = $_EXTKEY;
> $TYPO3_CONF_VARS['EXTCONF']['tt_products']['PRODUCT'][] =
> t3lib_extMgm::extPath($_EXTKEY).'class.tx_rgmediai mages_products.php:&tx_rgmediaimages_products';
>
>
> -----
>
> class.tx_rgmediaimages_products.php
>
> class tx_rgmediaimages_products {
>
> function getItemMarkerArray (&$pObj, &$markerArray, $item,
> $catTitle, $imageNum, $imageRenderObj, $formInfoArray, $code, $id) {
>
> $row = $item['rec'];
> print_r($row);
> ...
>
> -----------------------
>
> Of course there are the <?php tags and every bracket closed.
>
> What did I miss?
>
> thanks
> Georg

_______________________________________________
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!
  #3  
Alt 15.07.2008, 13:24
Thorsten Orth
Gast
 
Beiträge: n/a
Standard Re: [TYPO3-shop] Extend tt_products is not working

Sorry for "Gregor" - Georg!!!!


Thorsten Orth schrieb:
> Hi Gregor,
>
> I just had the same problem.
> You have to update the TS-setup like
>
> plugin.tt_products {
> ...
> conf.tt_products.ALL {
>
> requiredFields =
> uid,pid,category,price,price2,tax,inStock,yourfiel d1,yourfield2, ...
> }
> ...
> }
>
> I hope, that would help you.
>
>
> best regards
>
> Thorsten
>
> Georg Ringer schrieb:
>> Hi,
>>
>> I am usually not that bad with extensions but it is kind of not
>> working to extend tt_products. The new fields are not visible in $row.
>> The fields are shown in the backend form of a record and the hook is
>> called because my print_r is working.
>>
>> My code
>> -----------------------
>> ext_localconf.php
>> require_once(t3lib_extMgm::extPath($_EXTKEY).'clas s.tx_rgmediaimages_products.php');
>>
>>
>> $TYPO3_CONF_VARS['EXTCONF']['tt_products']['extendingTCA'][] = $_EXTKEY;
>> $TYPO3_CONF_VARS['EXTCONF']['tt_products']['PRODUCT'][] =
>> t3lib_extMgm::extPath($_EXTKEY).'class.tx_rgmediai mages_products.php:&tx_rgmediaimages_products';
>>
>>
>> -----
>>
>> class.tx_rgmediaimages_products.php
>>
>> class tx_rgmediaimages_products {
>>
>> function getItemMarkerArray (&$pObj, &$markerArray, $item,
>> $catTitle, $imageNum, $imageRenderObj, $formInfoArray, $code, $id) {
>>
>> $row = $item['rec'];
>> print_r($row);
>> ...
>>
>> -----------------------
>>
>> Of course there are the <?php tags and every bracket closed.
>>
>> What did I miss?
>>
>> thanks
>> Georg

_______________________________________________
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!
  #4  
Alt 15.07.2008, 17:44
Georg Ringer
Gast
 
Beiträge: n/a
Standard Re: [TYPO3-shop] Extend tt_products is not working

Hi Thorsten,

> plugin.tt_products {
> ...
> conf.tt_products.ALL {
>
> requiredFields =
> uid,pid,category,price,price2,tax,inStock,yourfiel d1,yourfield2, ...
> }
> ...
> }


Thanks so much! I would have never found that!

Georg
_______________________________________________
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!
 

Themen-Optionen Thema durchsuchen
Thema durchsuchen:

Erweiterte Suche
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-shop] Qty based percentage discount not working,and exception for some products Juan Pablo Villaverde typo3-project-tt-products@lists.netfielders.de 2 25.07.2008 08:47
[TYPO3-shop] Alternative Language not working for me Juan Pablo Villaverde typo3-project-tt-products@lists.netfielders.de 2 20.12.2007 00:59
[TYPO3-shop] doubt about tt_products.CSS.tt_products.LIST.row.even Augusto Sacchetto typo3-project-tt-products@lists.netfielders.de 1 17.10.2007 09:56
[TYPO3-shop] Multi-Language in tt_products working? Alexander Pelzl typo3-project-tt-products@lists.netfielders.de 2 17.10.2007 09:44
[TYPO3-shop] tt_products insert record not working anymore Sscha Falger typo3-project-tt-products@lists.netfielders.de 2 17.03.2007 00:20


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


Powered by vBulletin® Version 3.7.2 (Deutsch)
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.1.0

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