Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • picsitech Friend
    #152548

    Greetings everyone. I am new to Joomlart but definitely not new to Joomla. I have decided to use JA_Mesolite_II Quickstart for my project. My project development location is http://hosts4.web-host.com/~twojays/index.php

    My question is this, and probably a very simple one to answer. Where is the setting, or which file controls the number of columns per row for cateogory browse pages. If you look at the main level of my shop http://hosts4.web-host.com/~twojays/index.php?option=com_virtuemart&Itemid=71 you will see the fifth category image drops to a new line. The aestetics would be much greater if I could get the Virtuemart page to display 5 categories per row. (This would allow the shop page categories to fit similar to the index page of the website.)

    Thank you all in advance for your quick replies, and I hope to contribute in helping all of you as well.

    Arvind Chauhan Moderator
    #349926

    Hi there,

    You can surely going to thank me for this :p >> lol

    Open Your_Site/components/com_virtuemart/themes/ja-mesolite/templates/common/categoryChildlist.tpl.php

    around line 3-5 find this code :

    [PHP]$iCol = 1;
    if( !isset( $categories_per_row )) {
    $categories_per_row = 4;
    }[/PHP]

    Replace 4 with 5 :

    [PHP]$iCol = 1;
    if( !isset( $categories_per_row )) {
    $categories_per_row = 5;
    }[/PHP]

    Have fun 🙂

    regards

    Arvind

    picsitech Friend
    #349927

    Haha I had just done that the exact moment I received your reply via email. That is so funny how simple that was. Thank you so much for your speedy reply though. I find it wierd that VM hasnt placed the option simply in the backend to do this.

Viewing 3 posts - 1 through 3 (of 3 total)

This topic contains 3 replies, has 2 voices, and was last updated by  picsitech 14 years, 4 months ago.

We moved to new unified forum. Please post all new support queries in our New Forum