News:

Support the VirtueMart project and become a member

Main Menu

Wrong link in module VirtueMart Manufacturers

Started by Pekkonen, December 13, 2011, 23:40:23 PM

Previous topic - Next topic

Pekkonen

Hi all,
I use VM 2 on Joomla 1.7.3 and I need create selectbox with all my Manufacturers.
I can't find simple this feature (maybe VM have this possibility?)

I tried use for this module "VirtueMart Manufacturers" but I seen correct list on my Manufacturers with wrong links to each Manufacturer.
index.php?option=com_virtuemart&view=manufacturer&virtuemart_manufacturer_id=&Itemid=142&lang=en
I mean that value virtuemart_manufacturer_id= is empty :(

This links has been generated in file (modules\mod_virtuemart_manufacturer\tmpl\default.php):
      
   

   <?php foreach ($manufacturers as $manufacturer) {
      
$link JROUTE::_('index.php?option=com_virtuemart&view=manufacturer&virtuemart_manufacturer_id=' $manufacturer->virtuemart_manufacturer_id);

      
?>

Someone found this bug/error?  How I can fix it?
Thanks in advance.

alatak

Hi,

which version of VM do you have?

With the version RC3-K, i don't have that problem.
If it is the K version , can you give us more inputs?

PRO


alatak


alatak


Pekkonen

alatak
Thanks for your fast reply!
But please explain where I can find this new revision?
On this link http://dev.virtuemart.net/projects/virtuemart/files I don't saw this file.
Thanks in advance.

alatak

Hi,

well, if you dn't use the svn, then you have to wait to next release.
But we are rigth now doing a RC3-M version, so  you will have it pretty soon :)

Pekkonen

Hi alatak,
are you sure about revision number?
Maybe not 5079, but 5076 (with your comment "module manufacturer link" ;))?

Pekkonen

Great, thanks I see correct link in VirtueMart Manufacturers module!
But I need other format links :(
Now in this list I can see link like this:
index.php?option=com_virtuemart&view=category&virtuemart_manufacturer_id=2&lang=en
and on this page I see just link "View all Manufacturer2 Products ", but not products from Manufacturer2.
How I could change this link to:
index.php?option=com_virtuemart&view=manufacturer&virtuemart_manufacturer_id=2&lang=en
This link must be direct goes user to all products which made  Manufacturer2.

I will wait any ideas.

Pekkonen

And also.
On link index.php?option=com_virtuemart&view=category&virtuemart_manufacturer_id=1&lang=en
I see page without main HTML tags.
I mean page start form this code:
<div class="category_description">
</div>

<div class="category-view">

<div class="row">
<div class="category floatleft width33 vertical-separator">
<div class="spacer">

it's part of code must be inserted to content area, but something wrong.
PS I successfully updated VM to RC3 from this link http://dev.virtuemart.net/attachments/download/369/com_virtuemart2.0.0_RC3_extract_first.zip without any errors