|
Software -
Virtuemart
|
|
Friday, 17 August 2007 |
|
When looking to modify the Virtuemart e-commerce online store front page and category browse page column width and row listing length, there is a simple php file modification that must be made to obtain results other than the default four-column category width. Unfortunately, without major hacks, whatever change you make here will effect all category pages, including the Virtuemart front page. Nevertheless, the four-column width is often too much for categories that require larger category thumbnail photos and graphics. To begin width, you must modify the ps_product_category.php file. You will find the php file in the /administrator/components/com_virtuemart/classes/ Joomla CMS Virtuemart directory. Inside that file, perform a search and find this line of code here: $categories_per_row = 4; Within my previously-hacked file, this line of code is on line 878. As you can see by that line of code, the reference to the number four (4) is the column width or categories per row, which is default. I prefer switching this to three, as in the day's project located at www.XRsOnly.com , where we are redesigning the overall website, adding functionality, integrating it into other key business objectives that will arrive early next year. MEDIA TAGS: virtuemart joomla e-commerce software joomla cms content management system cms software online hacks modifications photos graphics web design xrsonly.com xrs only 4 strokes |
|