Topic with no new replies

Installation: uncorrect typogento source?


Author Message
Written on: 31. 05. 2011 [11:40]
imux_lorenz
lorenz
Topic creator
registered since: 30.05.2011
Posts: 3
Hello

We try to install typogento for a new webshop. Now we got some problems with the frontend plugins.

First our system:
-Magento 1.5.1.0
-Flagbit_Typo3connect 1.0.0
-TYPO3 4.5.2
-fb_magento(typogento) 1.0.2

fb_magento Konfigurations:
-path to Magento root: C:/xampp/htdocs/magento/magentoShop/
-Frontend URL to your Shop: http://localhost.de/magento/magentoShop/
-Magento User which has API access: like typo3connect
-Password of the Magento User: like typo3connect
-enable automatic Magento Header int: checked


We changed the Code of Flagbit_Typo3connect and fb_magento to get the backend modul working..
Flagbit_Typo3connect Changes:
-File: C:\xampp\htdocs\magento\magentoShop\app\code\community\Flagbit\Typo3connect\Rewrites\Mage\Core\Model
Changed class
Mage_Core_Model_App extends Flagbit_Typo3connect_Rewrite_Mage_Core_Model_App
to
Mage_Core_Model_App extends Flagbit_Typo3connect_Rewrites_Mage_Core_Model_App


After this Change you get no Error in the backend modul but it doesnt show anything..
The next change is from this thread "http://www.typo3.net/forum/beitraege/anderes/101281/beitrag/seite/"
-File: magento\typo3conf\ext\fb_magento\lib\class.tx_fbmagento_interface.php
move this code

PHP
// overwrite Magento Autoload Funktion
        if(class_exists('Varien_Autoload', false)){
            spl_autoload_unregister(array(Varien_Autoload::instance(), 'autoload'));
        }
        spl_autoload_register ( array (&$this, 'autoload' ) );


below this code

PHP
// Init Mage
        $store = tx_fbmagento_tools::getFELangStoreCode();
        Mage::app()->setCurrentStore(Mage::app()->getStore($store));
        restore_error_handler();
        if($GLOBALS['TSFE']->cObj instanceof tslib_cObj) {
            $cObj = $GLOBALS['TSFE']->cObj;
            $baseUrl = $cObj->getTypoLink_URL($GLOBALS['TSFE']->id);
 
            // get rid of trailing .html because of Real URL
            $pos = strrpos($baseUrl, '.');
            $extension = substr($baseUrl, $pos);
 
            if (strpos($extension, '/') === false) {
                $baseUrl = substr($baseUrl, 0, $pos);
            }
        }



Now the Backend modul works. But when i try to set a plugin I only get a white page..


My Questions
-Why do i have a white page when i set a plugin and how can I fix that?
-Is there a new SVN Checkout for fb_magento(typogento)?
The newest Version i found on typo3.org was 0.5.0..
-The last changes were at least one year ago - is it possible that this extension isnt supported anymore?
Written on: 28. 06. 2011 [15:43]
cami
Camelia
registered since: 28.06.2011
Posts: 3
i have the same problem using typo3 4.5.3, fb_magento version 1.0.2, magento 1.5.1 and Flagbit_Typo3connect version 1.0.0. this works:
includeLibs.user_tx_fbmagento_navigation = EXT:fb_magento/lib/class.tx_fbmagento_navigation.php
lib.test= HMENU
lib.test{
special = userfunction
special{
userFunc = user_tx_fbmagento_navigation->categories
pid=7
startcategory=3
}
expAll = 0
1 = TMENU
1 {
itemArrayProcFunc = user_tx_fbmagento_navigation->clear
wrap = <ul style="text-align: left">|</ul>
noBlur = 1
expAll = 1
wrap = <ul id="sub-level1">|</ul>
NO {
wrapItemAndSub = <li class="first">|</li> |*| <li>|</li> |*| <li class="last">|</li>
}
}
}

but this doesn't work:
includeLibs.user_tx_fbmagento_pi1 = EXT:fb_magento/pi1/class.tx_fbmagento_pi1.php
page.headerData.30 = USER_INT
page.headerData.30 {
userFunc = tx_fbmagento_pi1->main
block=typo3header
}

nor this:
lib.test = USER_INT
lib.test {
userFunc = tx_fbmagento_pi1->main
block=right
nowrap=1
}

Written on: 28. 06. 2011 [16:17]
imux_lorenz
lorenz
Topic creator
registered since: 30.05.2011
Posts: 3
i highly recommend you that you shouldnt use this extension..

first of all - its buggy.. at least the backend in typo3 is kinda nice.
and worst - it isnt supported anymore, so if typo3 or magento changes some necessary core for fb_magento it wont work anymore..


i decided to use the fb_magento backend in typo3 but the rest of the shop is full with magento themes.. in future i wont use the backend, nether..



GL
Written on: 28. 06. 2011 [16:26]
cami
Camelia
registered since: 28.06.2011
Posts: 3
thanks for the quick response. i have about a week or so since i'm trying to make this work, and i get rid of an error and get another. i was really hoping that i could make it work, because if it does what they say it's exactly what i need, and it should be quite easy to use (just with typoscript). but i'm starting to believe i cannot make it work. maybe it only works for the typo3 version and magento version they specified (or not at all). do you have any other solution for integrating typo3 with magento then? or just use magento's api? what do you do to show a customer's shopping cart (or just a block of magento) in the typo3 site?
thanks for the quick response
Written on: 28. 06. 2011 [16:40]
imux_lorenz
lorenz
Topic creator
registered since: 30.05.2011
Posts: 3
as i said i use the fb_magento for my backend. This works realy fine. u only have to change the bug in Flagbit_Typo3connect i described.
for the backend i have a completly new page. In my case this works pretty good.

at this point there is no extension that connects typo3 and magento in such a way. Jim! is a new connector (http://www.getjim.de/typo3-magento-integration/) but i dont know how far they are and if its opensource or not.. i tried to contact them but i didnt get a response..


finally i said that i dont have the time for bugs!
I recommend you to use the normal magentoshop. Its very powerful - complicated but powerful. Plus the community is very active.
Written on: 28. 06. 2011 [16:42]
cami
Camelia
registered since: 28.06.2011
Posts: 3
thanks!
the backend works for me too, but the frontend is the problem icon_frown.gif



Portal information:

At the moment there are 0 users online, thereof 0 registered users and 0 guests.
Today 0 registered users and 0 guests were already online.

Now online


TypoGento has 236 registered user, 113 topics and 187 answers. On average 0.23 posts are written per day.