- Posts: 4
- Thank you received: 0
Manufacturer Default Layout doesn't change when am
-
cirymarr
Inactive member - Topic Author
- New Member
Less
More
12 years 9 months ago #16566
by cirymarr
Manufacturer Default Layout doesn't change when am was created 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
Am I doing something wrong?
Link is here: oreilly.cmeonline.ie/index.php/shop/manufacturer
Please Log in to join the conversation.
-
ivan.milic
Support Staff - Moderator
Less
More
- Posts: 14116
- Thank you received: 1639
12 years 9 months ago #16573
by ivan.milic
Replied by ivan.milic on topic Re: Manufacturer Default Layout doesn't change when am
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
Less
More
- Posts: 4
- Thank you received: 0
12 years 9 months ago #16583
by cirymarr
Replied by cirymarr on topic Re: Manufacturer Default Layout doesn't change when am
I have VM 2.0.2 which, according to VM, is the latest version.
Please Log in to join the conversation.
-
ivan.milic
Support Staff - Moderator
Less
More
- Posts: 14116
- Thank you received: 1639
12 years 9 months ago #16586
by ivan.milic
Replied by ivan.milic on topic Re: Manufacturer Default Layout doesn't change when am
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);
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
Less
More
- Posts: 4
- Thank you received: 0
12 years 9 months ago #16601
by cirymarr
Replied by cirymarr on topic Re: Manufacturer Default Layout doesn't change when am
Many thanks Ivan. That has worked
I wonder why that value is hard coded into the php file?
I wonder why that value is hard coded into the php file?
Please Log in to join the conversation.
-
ivan.milic
Support Staff - Moderator
Less
More
- Posts: 14116
- Thank you received: 1639
12 years 9 months ago #16609
by ivan.milic
Replied by ivan.milic on topic Re: Manufacturer Default Layout doesn't change when am
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