Virtuemart 2.0 - Default Layout page bug
- GK User
- Mon Jan 23, 2012 5:39 pm
Hi
While developing eSport template We found a problem on VirtueMart Home Page Settings configuration.
As You can see on our demo the "Featured Products" and "TopTen Products" are been display 4 articles on single row.
So we set this configuration on Virtuemart, but no matter layout we added it always displays 5 articles, 4 on 1 row and the 5th on second row.
To fix this we change the following file:
../components/com_virtuemart/views/virtuemart/view.html.php
Changing this 2 lines:
to
This file is only changed on quickstart package.
Notice!
This is a bug from VirtueMart and our solution must not be considerate as the correct one.
Users must wait for further VM update version, because this problem will be probably fixed by them.
Cheers
While developing eSport template We found a problem on VirtueMart Home Page Settings configuration.
As You can see on our demo the "Featured Products" and "TopTen Products" are been display 4 articles on single row.
screen1.png
So we set this configuration on Virtuemart, but no matter layout we added it always displays 5 articles, 4 on 1 row and the 5th on second row.
screen2.png
To fix this we change the following file:
../components/com_virtuemart/views/virtuemart/view.html.php
Changing this 2 lines:
- Code: Select all
$products['featured'] = $productModel->getProductListing('featured', 5);
- Code: Select all
$products['topten']= $productModel->getProductListing('topten', 5);
to
- Code: Select all
$products['featured'] = $productModel->getProductListing('featured', 4);
- Code: Select all
$products['topten']= $productModel->getProductListing('topten', 4);
This file is only changed on quickstart package.
Notice!
This is a bug from VirtueMart and our solution must not be considerate as the correct one.
Users must wait for further VM update version, because this problem will be probably fixed by them.
Cheers
-
- Platinum Boarder
- GK User
- Wed Feb 01, 2012 11:09 am
How did you setup the "Featured Products" and "TopTen Products"? On my testing site (www8.axa.info.ro) I get Error: No articles to display. Please advise. Using j1.7.4 and VirtueMart 2.0.1.b
-
- Fresh Boarder
- GK User
- Wed Feb 01, 2012 11:35 am
I`ve noticed that when another language than English it`s default (in my case Romanian) the module stop working and returns that horrible error. Can you please tell me how to make it work? Thanks in advance!
-
- Fresh Boarder
- GK User
- Sun Feb 05, 2012 1:57 pm
Doesn`t anyone have a solution for that? Is the NSP meant only for english users???
-
- Fresh Boarder
- GK User
- Sun Feb 05, 2012 6:53 pm
I have the same problem! solve this problem, please!
-
- Fresh Boarder
- GK User
- Wed Feb 08, 2012 11:51 pm
Hi
This problem was already fixed on last NSP GK4 update - version 3.0.2.
Please check this page and follow instructions.
Cheers
This problem was already fixed on last NSP GK4 update - version 3.0.2.
Please check this page and follow instructions.
Cheers
-
- Platinum Boarder
- GK User
- Wed Mar 14, 2012 9:43 pm
The page(link) doesn't work anymore.. can i have another link maybe.. i want to follow the instruction there to see how to make the language work with NSP GK4
-
- Expert Boarder
- GK User
- Thu Mar 15, 2012 1:21 pm
how come part of the original error is still here.. for example... in the code..
http://aleksandrshevchenko.org/store > ПОСЛЕДНИЕ ПОСТУПЛЕНИЯ > there are still 3 and in one row.. can you help me fix that issue?
- Code: Select all
if (VmConfig::get('show_latest', 1)) {
$products['latest']= $productModel->getProductListing('latest', 4);
$productModel->addImages($products['latest'],1);
}
http://aleksandrshevchenko.org/store > ПОСЛЕДНИЕ ПОСТУПЛЕНИЯ > there are still 3 and in one row.. can you help me fix that issue?
-
- Expert Boarder
- GK User
- Thu Mar 15, 2012 1:24 pm
maybe it has something to do with this..
.width33 {
width: 33%;
}
i noticed that there is a style called
.width25 but it didn't work..
.width33 {
width: 33%;
}
i noticed that there is a style called
.width25 but it didn't work..
-
- Expert Boarder
- GK User
- Wed May 09, 2012 12:33 pm
If I update VM this changes will be lost?
-
- Senior Boarder
- GK User
- Mon Nov 12, 2012 2:54 pm
FINALY! This error was corrected in the VirtueMart 2.0.12 update !!!!
-
- Senior Boarder
11 posts
• Page 1 of 1