[TYPO3-english]  TypoGento, magento internal links and realURL
    Tony Lush 
    tlush at advancewm.com
       
    Wed Jul 15 05:09:32 CEST 2009
    
    
  
Within Magento we created a menu of subcategories that appear in a 
static block applied to certain store categories. The links work 
correctly in Magento as a standalone shop but produce a 404 error when 
run through TypoGento.
In Magento the links read:
domain.com/magento/parent-category/child-category/grandchild-category.html
The main menu links in TypoGento (these work) read:
domain.com/store/shop/catalog/category/view/grandchild-category.html
The failed links read:
domain.com/store.html?tx_fbmagento%5Bshop%5D%5B_direct%5D=parent-category%2Fchild-category%2Fgrandchild-category.html
The TypoGento realURL configuration reads:
//MAGENTO
     'shoparticle' =>
         array (
           0 =>
           array (
             'GETvar' => 'tx_fbmagento[shop][s]',
           ),
         ),
         'shop' =>
         array (
           0 =>
           array (
             'GETvar' => 'tx_fbmagento[shop][route]',
           ),
           1 =>
           array (
             'GETvar' => 'tx_fbmagento[shop][controller]',
           ),
           2 =>
           array (
             'GETvar' => 'tx_fbmagento[shop][action]',
           ),
           3 =>
           array (
             'GETvar' => 'tx_fbmagento[shop][id]',
             'userFunc' => 
'EXT:fbmagento/lib/class.tx_fbmagento_realurl.php:&tx_fbmagento_realurl->idRewrite',
           ),
           4 =>
           array (
             'GETvar' => 'tx_fbmagento[shop][category]',
             'userFunc' => 
'EXT:fbmagento/lib/class.tx_fbmagento_realurl.php:&tx_fbmagento_realurl->categoryRewrite',
           ),
           5 =>
           array (
             'GETvar' => 'tx_fbmagento[shop][product]',
           ),
           6 =>
           array (
             'GETvar' => 'tx_fbmagento[shop][order_id]',
           ),
         ),
         'shoppage' =>
         array (
           0 =>
           array (
             'GETvar' => 'tx_fbmagento[shop][p]',
           ),
           1 =>
           array (
             'GETvar' => 'tx_fbmagento[shop][order]',
           ),
           2 =>
           array (
             'GETvar' => 'tx_fbmagento[shop][dir]',
           ),
         ),
// end TypoGento realURL config
Can any suggest a fix?
Thank you -- Tony Lush
    
    
More information about the TYPO3-english
mailing list