Menu Content

Frequently Asked Questions

VirtueMart Pagination Problems

Date added:
Lauantai, 03. Huhtikuu 2010
Last revised:
Lauantai, 03. Huhtikuu 2010

Answer

Problem Symptoms

Pagination in VirtueMart (category browse page) does not work in some VirtueMart versions. When clicking on the page link or next / last link, an 404 error message or other unexpected behaviour is experienced.

How to check

Check what is the link URL. (most eaily this is done by hoovering mouse cursor over the link and checking the browsers status bar, where the link target should be shown.

If you see someting like: http://www.domainname.com/main-category1/subcategry1&limit=20&limitstart=0, then an error is present. The problem is in the fact, the first character after the SEF part of the URL should be question mart "?", not an ampersand "&". This is caused by error in VirtueMart SEO code, that causes the single link to be SEF encoded first and then a variable suffix is hardcoded to it with incorrect joint character.

Fixing the problem

The problem can be fixed by correcting the VirtueMart code. Locate the file shop.browse.php which is located in /administrator/components/com_virtuemart/html folder of your Joomla site.

In this file, commend the code at line 210, which should be:
$search_string=$sess->url($search_string);

Comment may be done by adding // (two slashes) in the beggining of the line. This will prevent the double SEO processing of a single URL and prevent generation of the incorrect link.

ryhmä

Tags for this item

Newsflash

Easy@ -nettisivupaketti, only in Finland!

04.05.2012

Verkkosivut viikossa pienyrityksille! Kun haluat nykyaikaistaa yrityksesi tiedot verkkoon. Kun tarvitset näkyvyyttä ja parempaa verkkosaavutettavuutta. Kun haluat sivut edullisesti ja luotettavasti, ota yhteyttä meihin.

Information Portal DV Monitor based on Joomla! CMS

02.04.2012

Artio has created information portal DV Monitor for providing information about further education in the Czech Republic.

SEO Optimization for Ollies Confectioner´s

29.03.2012

Artio is providing website SEO optimization for Ollies - confectioner's in Ostrava.

DMS Implementation for Kofola

29.03.2012

Artio will implement document management system (DMS) for one of the leading manufacturers of soft drinks in Central Europe. The project is based on JoomDOC - our own in-house developed component for Joomla! CMS. It is part of the company´s intranet. 

Case Study: Online Bookstore based on Magento E-Commerce

28.03.2012

Artio has finished an implementation of an online bookstore in Slovakia. This website project is based on the popular open-source e-shop platform - Magento.

Kirjautuminen Tyhjä