VM 3.0.4 - Products show up one per row only
Rate this topic: 




1.00 out of 6 based on 1 vote(s)






- GK User
- Wed Feb 11, 2015 1:16 pm
- Reply with quote
- Report this post
Hi folks,
I'm struggling with this: Storebox 3.15.2 and VM 3.0.4 won't let me show e.g. 4 products per row. If I run with the pure quickstart installation, there will be only one product per row.
Look at http://www.motoandstyle.com/j3 or directly here http://www.motoandstyle.com/j3/index.php/store/store-startseite/view/category/virtuemart_category_id/13.
Any suggestions, where to tweak what or changes inside configuration? Thanks for your help!
S.
I'm struggling with this: Storebox 3.15.2 and VM 3.0.4 won't let me show e.g. 4 products per row. If I run with the pure quickstart installation, there will be only one product per row.
Look at http://www.motoandstyle.com/j3 or directly here http://www.motoandstyle.com/j3/index.php/store/store-startseite/view/category/virtuemart_category_id/13.
Any suggestions, where to tweak what or changes inside configuration? Thanks for your help!
S.
-
- Senior Boarder
- GK User
- Wed Feb 11, 2015 1:57 pm
- Reply with quote
- Report this post
Hi folks,
if I change /html/com_virtuemart/category/default.php
Line 122
to
the products will be shown like I set it inside the VM config (e.g. category view: 3 products per row). Could one of the big guys please take a look at this file and/or give a hint, why this comes up and how to fix it in a good way (not the way I did it right now
).
Thank you very much
S.
if I change /html/com_virtuemart/category/default.php
Line 122
- Code: Select all
$iBrowseProduct = 1;
to
- Code: Select all
$iBrowseProduct = 0;
the products will be shown like I set it inside the VM config (e.g. category view: 3 products per row). Could one of the big guys please take a look at this file and/or give a hint, why this comes up and how to fix it in a good way (not the way I did it right now

Thank you very much
S.
-
- Senior Boarder
- teitbite
- Sat Feb 14, 2015 11:44 am
- Reply with quote
- Report this post
Hi
Your site is offline can You please send me an access to it ?
Your site is offline can You please send me an access to it ?
-
- Moderator
- GK User
- Sat Feb 14, 2015 4:33 pm
- Reply with quote
- Report this post
Hello Sir, hi teitbite. Thank you for your fast reply. I will send you access details asap (within the next 48h) - skiing right now
.
Regards Steff

Regards Steff
-
- Senior Boarder
- GK User
- Sun Feb 15, 2015 3:05 pm
- Reply with quote
- Report this post
Hey teitbite, sent you a mail with the details. THX in advance! Steff
-
- Senior Boarder
- teitbite
- Tue Feb 17, 2015 12:15 pm
- Reply with quote
- Report this post
Hi
I've read Your mails, but unfortunately on the site You've send me an ftp access to there is no products I can check it with. Please send me an access to the server where You've made this new test installation and tell me the url to the one product per row page. I could not find it, but I think both this issues can be related.
PS: Also would be great if You can keep the conversation here and use mail for delicate data You do not want to share publicly. It's really hard for me to jump between forum and mail.
I've read Your mails, but unfortunately on the site You've send me an ftp access to there is no products I can check it with. Please send me an access to the server where You've made this new test installation and tell me the url to the one product per row page. I could not find it, but I think both this issues can be related.
PS: Also would be great if You can keep the conversation here and use mail for delicate data You do not want to share publicly. It's really hard for me to jump between forum and mail.
-
- Moderator
- GK User
- Sat Feb 21, 2015 3:01 pm
- Reply with quote
- Report this post
Hi, sry for the delay! I'll be back from holiday on Monday. Will do a new instance for you to look at. Login details by mail on Monday. Thx
-
- Senior Boarder
- teitbite
- Mon Feb 23, 2015 8:41 pm
- Reply with quote
- Report this post
Hi
Ok. I'll be waiting than.
Ok. I'll be waiting than.
-
- Moderator
- GK User
- Tue Mar 10, 2015 4:53 pm
- Reply with quote
- Report this post
Hi teitbite,
sorry for the delay. I made an update to the latest J! version and the 3.16 template and haven't touched the com_virtuemart-files inside template/html-folder. Your login details are still valid.
If you look at the site: http://www.motoandstyle.com/store/lederbekleidung you will see the shift from the sidebar modules to the middle of the page.
At http://www.motoandstyle.com/store/pitbike you can see the linebreak after two products.
Any help is welcome! Thanks
Steff
sorry for the delay. I made an update to the latest J! version and the 3.16 template and haven't touched the com_virtuemart-files inside template/html-folder. Your login details are still valid.
If you look at the site: http://www.motoandstyle.com/store/lederbekleidung you will see the shift from the sidebar modules to the middle of the page.
At http://www.motoandstyle.com/store/pitbike you can see the linebreak after two products.
Any help is welcome! Thanks
Steff
-
- Senior Boarder
- teitbite
- Wed Mar 11, 2015 10:14 am
- Reply with quote
- Report this post
Hi
For the menu moving below the content there is an updated tmplate version already, so please simply download it and update (or overwrite with the verion available for download, version number may be the same since it was a small modification).
For number of elements in row I'm afraid it's something from VM. I remember dealing with it already and VM was counting not existing (trashed, other category) products to display, but not showing them at the end. Try clear this category from trashed and unpublished products to check if it's the case here.
For the menu moving below the content there is an updated tmplate version already, so please simply download it and update (or overwrite with the verion available for download, version number may be the same since it was a small modification).
For number of elements in row I'm afraid it's something from VM. I remember dealing with it already and VM was counting not existing (trashed, other category) products to display, but not showing them at the end. Try clear this category from trashed and unpublished products to check if it's the case here.
-
- Moderator
- GK User
- Wed Mar 11, 2015 4:07 pm
- Reply with quote
- Report this post
Hi teitbite,
thx for your reply. As I wrote (I think in the mail a long time ago), if you add any output like "No products to display" or whatever to the category view, it shows up as it should. In our case, there are no trashed categories or others.
I'll give the updated version a try, if there is a new one since March 10th. I hate to backup and rechange the stylesheets and images
I will come back to you, if the moving menu issue wont be resolved with the update
THX Steff
thx for your reply. As I wrote (I think in the mail a long time ago), if you add any output like "No products to display" or whatever to the category view, it shows up as it should. In our case, there are no trashed categories or others.
I'll give the updated version a try, if there is a new one since March 10th. I hate to backup and rechange the stylesheets and images

I will come back to you, if the moving menu issue wont be resolved with the update

THX Steff
-
- Senior Boarder
- GK User
- Wed Mar 11, 2015 4:19 pm
- Reply with quote
- Report this post
Ahoi, it's me again
!
The moving menu issue is still there. Cleared everything (cache, files etc.) and made a nice and clean installation of the "right now" downloaded version of the template.
I will do my changes and upload the - for me working - default.php (html/com_virtuemart/categories) here. Maybe you can go throu the changes I would have done and make'em a little bit nicer - if you have time and nothing else to do
.
THX Steff

The moving menu issue is still there. Cleared everything (cache, files etc.) and made a nice and clean installation of the "right now" downloaded version of the template.
I will do my changes and upload the - for me working - default.php (html/com_virtuemart/categories) here. Maybe you can go throu the changes I would have done and make'em a little bit nicer - if you have time and nothing else to do

THX Steff
-
- Senior Boarder
- GK User
- Thu Mar 12, 2015 9:09 am
- Reply with quote
- Report this post
Sry, mistake in last post: location of the file: html/com_virtuemart/category/default.php
2 changes to default.php within html/com_virtuemart/category/:
2 changes to default.php within html/com_virtuemart/category/:
- Keep products from breaking line after x - 1 product. I haven't investigated why products will break line after the value set for "products in a row" minus 1, but this solves this issue:
- Code: Select all
$iBrowseProduct = 1;
- Code: Select all
$iBrowseProduct = 0;
Replace line 122:
with:
- Keep sidebar modules in position, if category is empty (e.g. if you have subcategories and no products in main category).
- Code: Select all
<?php
} elseif (!empty($this->keyword)) {
echo JText::_ ('COM_VIRTUEMART_NO_RESULT') . ($this->keyword ? ' : (' . $this->keyword . ')' : '');
}
?>- Code: Select all
<?php
// Changes by Steff to keep sidebar modules in position on empty category
} elseif (empty($this->keyword)) {
echo JText::_ ('COM_VIRTUEMART_NO_RESULT') . ($this->keyword ? ' : (' . $this->keyword . ')' : '') . '</div>';
}
?>
Replace lines 246ff:
with this:
-
- Senior Boarder
- teitbite
- Fri Mar 13, 2015 4:40 pm
- Reply with quote
- Report this post
Hi
Ok. So everything is ok now ? If not than tell me the url to this new installation where I can look for solution. Listing what needs my attention still will be a great help as well.
Ok. So everything is ok now ? If not than tell me the url to this new installation where I can look for solution. Listing what needs my attention still will be a great help as well.
-
- Moderator
- GK User
- Fri Mar 13, 2015 5:06 pm
- Reply with quote
- Report this post
Hi,
using the latest version of the template doesn't solve the problem. I changed the lines (see above) and it works for me.
The only change after installation of the new template was, that the "VIEW" overlay inside category view wont work anymore.
using the latest version of the template doesn't solve the problem. I changed the lines (see above) and it works for me.
The only change after installation of the new template was, that the "VIEW" overlay inside category view wont work anymore.
-
- Senior Boarder
- teitbite
- Mon Mar 16, 2015 12:02 pm
- Reply with quote
- Report this post
Hi
Now I think I do not understand. Do You mean everything is ok now ?
If not than tell me what is wrong and url to page with problem.
Now I think I do not understand. Do You mean everything is ok now ?
If not than tell me what is wrong and url to page with problem.
-
- Moderator
- GK User
- Mon Mar 16, 2015 12:36 pm
- Reply with quote
- Report this post
Hi Teitbite!
With the changes, the modules in the sidebar wont flip under the main body anymore and the products will be shown (e.g. 3 in a row, 4 in a row etc.) as it should be. So this point is done (for me right now).
But: since we updated to template version 3.16., some javascripts on the whole site wont work anymore and the round "view" overlay wont show up on VM category pages. see: http://dmt25-linux.bits.co.at/j3/index.php/ergebnisse/test-1/ - on hover, normally the nice, round "view" overlay should show up, or am I wrong?
This means: the flipping/movement of the sidebare modules is ok now, but the template in general causes some problems, like: the overlay-effect "view" in category pages wont work and other javascripts on the whole site wont work anymore.
Template version from 2015-02-02 works as it should (only the problems with the moving modules in sidebar position inside empty vm categories), version 3.16.x (latest version: downloaded and installed yesterday) is buggy.
Regards
Steff
With the changes, the modules in the sidebar wont flip under the main body anymore and the products will be shown (e.g. 3 in a row, 4 in a row etc.) as it should be. So this point is done (for me right now).
But: since we updated to template version 3.16., some javascripts on the whole site wont work anymore and the round "view" overlay wont show up on VM category pages. see: http://dmt25-linux.bits.co.at/j3/index.php/ergebnisse/test-1/ - on hover, normally the nice, round "view" overlay should show up, or am I wrong?
This means: the flipping/movement of the sidebare modules is ok now, but the template in general causes some problems, like: the overlay-effect "view" in category pages wont work and other javascripts on the whole site wont work anymore.
Template version from 2015-02-02 works as it should (only the problems with the moving modules in sidebar position inside empty vm categories), version 3.16.x (latest version: downloaded and installed yesterday) is buggy.
Regards
Steff
-
- Senior Boarder
- teitbite
- Thu Mar 19, 2015 9:39 am
- Reply with quote
- Report this post
Hi
The template version You have installed is for joomla 3.4, so You need to update joomla and all the modules to fit this new version. I think this is the problem in this case. It's worth trying and always good to have everything up to date.
PS: After updating NSP module You will have to edit it's settings (every copy of this module), clear browser cache and resave it, so new fields will be stored in databse.
The template version You have installed is for joomla 3.4, so You need to update joomla and all the modules to fit this new version. I think this is the problem in this case. It's worth trying and always good to have everything up to date.
PS: After updating NSP module You will have to edit it's settings (every copy of this module), clear browser cache and resave it, so new fields will be stored in databse.
-
- Moderator
- teitbite
- Thu Mar 19, 2015 9:51 am
- Reply with quote
- Report this post
Wait a sec. I just looked at Your website and I still see the sidebar issue in category layout. I've probably misunderstood our conversation, but I thought it's resolved. Ok, so let's try that. Edit file gk_storebox/html/com_virtuemart/category/default.php add "</div>" to line 105 and 247.
File with this changes attached.
File with this changes attached.
-
- Moderator
- GK User
- Thu Mar 19, 2015 7:12 pm
- Reply with quote
- Report this post
Hi Teit!
There are two sites (different urls) right now. On dmt25-linux.bits.co.at/j3 I've done a fresh install with the known errors for you to see. The other site is behaving well
. Both sites running J!3.4 fyi. Thx for the zip-file. I will test it out shortly.
There are two sites (different urls) right now. On dmt25-linux.bits.co.at/j3 I've done a fresh install with the known errors for you to see. The other site is behaving well

-
- Senior Boarder
- GK User
- Fri Mar 20, 2015 11:13 pm
- Reply with quote
- Report this post
Hi Teitbite,
tested the new version with the two additional </div>-tags. Hmmm... doesn't solve the problem. Keeps products in a row as they should, but leeds us to the other problem with the "moving sidebar modules" (see screenshot: http://awesomescreenshot.com/0ce4olew48).
Thanks for your investigation, but I will go with my solution in this case.
tested the new version with the two additional </div>-tags. Hmmm... doesn't solve the problem. Keeps products in a row as they should, but leeds us to the other problem with the "moving sidebar modules" (see screenshot: http://awesomescreenshot.com/0ce4olew48).
Thanks for your investigation, but I will go with my solution in this case.
-
- Senior Boarder
- teitbite
- Mon Mar 23, 2015 8:02 pm
- Reply with quote
- Report this post
Hi
I'm sorry, but I'm confused. When I look at dmt25-linux.bits.co.at/j3 than I do not see this error. Is this the site with newest template or the file I send You. So which solution works ? Since this website is showing ok ;/
I'm sorry, but I'm confused. When I look at dmt25-linux.bits.co.at/j3 than I do not see this error. Is this the site with newest template or the file I send You. So which solution works ? Since this website is showing ok ;/
-
- Moderator
- GK User
- Mon Mar 23, 2015 8:07 pm
- Reply with quote
- Report this post
Hi,
I used my changes on dmt25-linux.bits.co.at/j3 right now.
- Latest template (3.16) not working
- Your file (default.php) not working (moves modules inside sidebar-position to start after mainbody)
I used my changes on dmt25-linux.bits.co.at/j3 right now.
- Latest template (3.16) not working
- Your file (default.php) not working (moves modules inside sidebar-position to start after mainbody)
-
- Senior Boarder
- teitbite
- Wed Mar 25, 2015 7:00 pm
- Reply with quote
- Report this post
Hi
That's so strange. This file and has fixed the exact same problem in 4 other sites and there were no new reports of this issue since this fix got included in packages. So I guess You will have to use Your solution for now. Have You done any other changes to the template which could have affect this ?
That's so strange. This file and has fixed the exact same problem in 4 other sites and there were no new reports of this issue since this fix got included in packages. So I guess You will have to use Your solution for now. Have You done any other changes to the template which could have affect this ?
-
- Moderator
- GK User
- Wed Mar 25, 2015 7:36 pm
- Reply with quote
- Report this post
Hi,
no, there are no further changes to the category/default.php. If you look at this screenshot, you will see the site with my solution: http://awesomescreenshot.com/0f54pyxo76
This screenshot shows the same site with your default.php: http://awesomescreenshot.com/03e4pyyfa6
Thats the link to the original Site: http://dmt25-linux.bits.co.at/j3/index.php/shop/test-4-hubschrauber
no, there are no further changes to the category/default.php. If you look at this screenshot, you will see the site with my solution: http://awesomescreenshot.com/0f54pyxo76
This screenshot shows the same site with your default.php: http://awesomescreenshot.com/03e4pyyfa6
Thats the link to the original Site: http://dmt25-linux.bits.co.at/j3/index.php/shop/test-4-hubschrauber
-
- Senior Boarder
- teitbite
- Thu Mar 26, 2015 6:53 pm
- Reply with quote
- Report this post
Hi
By orginal site You mean without changes just with the latest template version. Right ? It shows correctly for me. So maybe You just had to wait for cache to be refreshed or something. I honestly do not know what is going on here
A copy of template works fine at my computer.
By orginal site You mean without changes just with the latest template version. Right ? It shows correctly for me. So maybe You just had to wait for cache to be refreshed or something. I honestly do not know what is going on here

-
- Moderator
- GK User
- Tue Apr 07, 2015 2:06 pm
- Reply with quote
- Report this post
smussger wrote:
- Code: Select all
<?php
// Changes by Steff to keep sidebar modules in position on empty category
} elseif (empty($this->keyword)) {
echo JText::_ ('COM_VIRTUEMART_NO_RESULT') . ($this->keyword ? ' : (' . $this->keyword . ')' : '') . '</div>';
}
?>
Thanks Steff for your code. But I delete your name

-
- Senior Boarder
27 posts
• Page 1 of 1