Manufacturer Default Layout doesn't change when am

  • cirymarr
    Inactive member
  • Topic Author
  • New Member
  • New Member
More
12 years 9 months ago #16566 by cirymarr
Hi, I have changed the "Default number of manufacturer in a row" in my configuration from 3 to 4, but this does not reflect when I display the Manufacturer Default Layout on the frontend - it still only shows 3 manufacturers per row.

Am I doing something wrong?

Link is here: oreilly.cmeonline.ie/index.php/shop/manufacturer

Please Log in to join the conversation.

More
12 years 9 months ago #16573 by ivan.milic
If you use vm2.0 , some beta releases had lot of bugs, maybe updating VM will help (if you don't have latest vm already)

Please Log in to join the conversation.

  • cirymarr
    Inactive member
  • Topic Author
  • New Member
  • New Member
More
12 years 9 months ago #16583 by cirymarr
I have VM 2.0.2 which, according to VM, is the latest version.

Please Log in to join the conversation.

More
12 years 9 months ago #16586 by ivan.milic
Open \components\com_virtuemart\views\manufacturer\tmpl\default.php

you will see this line:

$manufacturerPerRow = VmConfig::get ( 'manufacturer_per_row', 3 );

try changing it to:

$manufacturerPerRow = VmConfig::get ( 'manufacturer_per_row', 4);

Please Log in to join the conversation.

  • cirymarr
    Inactive member
  • Topic Author
  • New Member
  • New Member
More
12 years 9 months ago #16601 by cirymarr
Many thanks Ivan. That has worked

I wonder why that value is hard coded into the php file?

Please Log in to join the conversation.

More
12 years 9 months ago #16609 by ivan.milic
Because VM2 did not have something in beta release so it's hard coded then

Please Log in to join the conversation.

Time to create page: 0.191 seconds
Powered by Kunena Forum