News:

Looking for documentation? Take a look on our wiki

Main Menu

mod_virtuemart_category multilanguage issue

Started by guidocx842, February 24, 2014, 15:19:08 PM

Previous topic - Next topic

guidocx842

Hi everybody,
I need you help to solve a problem with mod_virtuemart_category in a multilanguage website (Joomla 2.5.18 + Virtuemart 2.0.26d).
I try to explain as better as possible my configuration.

I have a menu item named SHOP that is a textual separator and, under that, I have six sub-items that I linked each one to the relative Virtuemart category. In each page of that categories I publish the mod_virtuemart_category module (one for Italian menu and one for English menu).
In Italian (default language) all work correctly. In English, mod_virtuemart_category items link all to /en/shop instead of the right pages. I copy and past the code of the Italian module and the english module so you can understand better which is the problem.

Italian code:


<div class="art-box-body art-block-body">
<div class="art-bar art-blockheader">
        <h3 class="t">Shop</h3>
    </div>
   
    <div class="art-box art-blockcontent">
        <div class="art-box-body art-blockcontent-body">
         
<ul id="VMmenu29_74717" class="VMmenu">
<li class="VmOpen">
<div>
<a href="/shop/maglie-donna">Maglie donna</a>
</div>
</li>

<li class="VmClose">
<div>
<a href="/shop/maglie-uomo">Maglie uomo</a>
</div>
</li>

<li class="VmClose">
<div>
<a href="/shop/accessori-donna">Accessori donna</a>
</div>
</li>

<li class="VmClose">
<div>
<a href="/shop/accessori-uomo">Accessori uomo</a>
</div>
</li>

<li class="VmClose">
<div>
<a href="/shop/accessori">Accessori</a>
</div>
</li>

<li class="VmClose">
<div>
<a href="/shop/offerte">Offerte</a>
</div>
</li>
</ul>

        <div class="cleared"></div>
         
        </div>
   
    </div>
       
    <div class="cleared"></div>
</div>


English code:


<div class="art-box-body art-block-body">

<div class="art-bar art-blockheader">
<h3 class="t">Shop</h3>
    </div>
   
    <div class="art-box art-blockcontent">
   
    <div class="art-box-body art-blockcontent-body">

<ul id="VMmenu29_92953" class="VMmenu">
<li class="VmOpen">
<div>
<a href="/en/shop">Woman knitwear</a>
</div>
</li>

<li class="VmClose">
<div>
<a href="/en/shop">Man knitwear</a> </div>
</li>

<li class="VmClose">
<div>
<a href="/en/shop">Woman accessories</a>
</div>
</li>

<li class="VmClose">
<div>
<a href="/en/shop">Man accessories</a>
</div>
</li>

<li class="VmClose">
<div>
<a href="/en/shop">Accessories</a>
</div>
</li>

<li class="VmClose">
<div>
<a href="/en/shop">Offers</a>
</div>
</li>
</ul>

<div class="cleared"></div>
       
        </div>
   
    </div>
   
    <div class="cleared"></div>

</div>


So, if I navigate english pages from horizontal menu of my website, it's all ok. But the same page, i.e. Man knitwear, that in the horizontal menu has the right link (i.e. /en/shop/man-knitwear), in mod_virtuemart_category menu has a bad link. All items link to /en/shop).

I double checked that I translate correctly all my categories, that I set Italian for mod_virtuemart_category module that I publish in italian pages and english for mod_virtuemart_category module that I publish in english pages.
All my menu items are correctly linked each one. So I don't know where to find the misconfiguration.

Are you able to test this thing with the same version and say me if for you everything works correctly?
May you suggest me any test that I can do to understand what's happening?

Thanks a lot!  ;)