VirtueMart Forum

VirtueMart 2 + 3 + 4 => Virtuemart Development and bug reports => Development & Testing => Topic started by: moonaway on July 19, 2014, 10:40:25 AM

Title: Vendors pages and links vm2.9.8
Post by: moonaway on July 19, 2014, 10:40:25 AM
Hello!

I have any problem with this links in vm. For example, I make the menu for this:
(http://s019.radikal.ru/i608/1407/51/cd6fd11e8074.png)

1.
As a result, we have these different links:
Displays vendor contact: http://store25.eyemotion.ru/index.php?index.php?option=com_virtuemart&view=vendor&layout=contact&virtuemart_vendor_id=1&Itemid=125 (http://store25.eyemotion.ru/index.php?index.php?option=com_virtuemart&view=vendor&layout=contact&virtuemart_vendor_id=1&Itemid=125)
Displays vendor details: http://store25.eyemotion.ru/index.php?option=com_virtuemart&view=vendor&layout=details&virtuemart_vendor_id=1&Itemid=127 (http://store25.eyemotion.ru/index.php?option=com_virtuemart&view=vendor&layout=details&virtuemart_vendor_id=1&Itemid=127)
View vendor TOS: http://store25.eyemotion.ru/index.php?option=com_virtuemart&view=vendor&layout=tos&virtuemart_vendor_id=1&Itemid=128 (http://store25.eyemotion.ru/index.php?option=com_virtuemart&view=vendor&layout=tos&virtuemart_vendor_id=1&Itemid=128)

But! don't work "&layout" parameter and the pages do not have a difference....

2.
Displays vendors: http://store25.eyemotion.ru/index.php?option=com_virtuemart&view=vendor&Itemid=126 (http://store25.eyemotion.ru/index.php?option=com_virtuemart&view=vendor&Itemid=126)
At this page don't work Vendor image:
$vendor->images[0]->displayMediaThumb("",false);

and...

In this file /components/com_virtuemart/views/vendor/tmpl/default.php we see a two links:
(http://s013.radikal.ru/i323/1407/c5/5512c0444098.png)
These links I got here:
(http://i031.radikal.ru/1407/4f/dc2197b2fab2.png)
<a href="<?php echo $vendorsLink?>">vendorsLink</a><br/>
<a href="<?php echo $vendorIncludedProductsURL?>">vendorIncludedProductsURL</a>

As a result, I see:

/index.php?option=com_virtuemart&view=vendor&virtuemart_vendor_id=1&Itemid=126 SEF link: /vendor-tos/virtuemart-2-sample-store/details.html
/index.php?option=com_virtuemart&view=category&virtuemart_vendor_id=1&Itemid=126 SEF link: /all-vendors.html?virtuemart_vendor_id=1
The second link (&virtuemart_vendor_id=1) does not work and it is wrong generated SEF link. In the future it will work or not?