VirtueMart Forum

VirtueMart 2 + 3 + 4 => General Questions => Topic started by: gpessoa on December 06, 2012, 17:23:03 PM

Title: Page Navigation Start Prev 1 2 3 4 Next End not working
Post by: gpessoa on December 06, 2012, 17:23:03 PM
Page Navigation Start Prev 1 2 3 4 Next End not working

When you click on Next, End or even on one page number it does not move; always stay on the first position.

Category details is all set to zero

Joomla 2.58
VM 2.014
Title: Re: Page Navigation Start Prev 1 2 3 4 Next End not working
Post by: John2400 on December 06, 2012, 21:13:59 PM
Make sure - your SEO in Joomla >>Global configuration and then in Virtuemart>>configuration are set the same.

Check the set up in each category - see if you have an unusual setting

Check your configuration>>shop front to look at max number of products say about 10 to test.
Title: Re: Page Navigation Start Prev 1 2 3 4 Next End not working
Post by: gpessoa on December 06, 2012, 21:34:15 PM
It wasn't the same; Joomla was active and VM inactive.
Put both disable and It is already working...
Thanks.
Title: Re: Page Navigation Start Prev 1 2 3 4 Next End not working
Post by: TheWebSet on December 13, 2012, 00:12:58 AM
QuoteMake sure - you SEO in Joomla >>Global configuration and then in Virtuemart>>configuration are set the same.

Thanks, this one has been getting at me for some time.  This solved the problem.  ;D
Title: Re: Page Navigation Start Prev 1 2 3 4 Next End not working
Post by: gpessoa on December 28, 2012, 18:42:43 PM
Hi again,
I just update from 2.014 to 2.016 and I got this problem again.
SEO has not been changed, and I can`t figure out how to solve this.
It only works if I go to search, put same think there, like * and it shows me all products.
Them the navigation next/ prev works.
This is weird!
Title: Re: Page Navigation Start Prev 1 2 3 4 Next End not working
Post by: gpessoa on January 06, 2013, 01:05:08 AM
Quote from: gpessoa on December 28, 2012, 18:42:43 PM
Hi again,
I just update from 2.014 to 2.016 and I got this problem again.
SEO has not been changed, and I can`t figure out how to solve this.
It only works if I go to search, put same think there, like * and it shows me all products.
Them the navigation next/ prev works.
This is weird!

Hi,
This is not solved yet...
Help is needed!
Title: Re: Page Navigation Start Prev 1 2 3 4 Next End not working
Post by: Milbo on January 06, 2013, 11:43:53 AM
Try in product model line 545

if ($cateid!=0 and $lastCatId != $cateid) {


or


if($manid != 0){
$lastManId = ShopFunctionsf::getLastVisitedManuId ();
if ($lastManId != $manid) {
$limitStart = 0;
}
else {
$limitStartString  = 'com_virtuemart.' . $view . 'm' . $manid . '.limitstart';
$limitStart = $app->getUserStateFromRequest ($limitStartString, 'limitstart', JRequest::getInt ('limitstart', 0), 'int');
}
}
Title: Re: Page Navigation Start Prev 1 2 3 4 Next End not working
Post by: gpessoa on January 07, 2013, 18:53:08 PM
Hello Milbo,

Thank you for your help.

The first part of the code, line 545, only works on navigation by manufacturers
does not work in navigation by category.

The second part of the code, beginning line 543 did not work both navigation by category or manufacturer.

so,
The navigation now works when requested:
by search
by manufacturer

Does not work when requested:
by category

If you can help me, I am really grateful to you!
Title: Re: Page Navigation Start Prev 1 2 3 4 Next End not working
Post by: gldproducts on August 05, 2013, 23:25:16 PM
Quote from: gpessoa on January 07, 2013, 18:53:08 PM
Hello Milbo,

Thank you for your help.

The first part of the code, line 545, only works on navigation by manufacturers
does not work in navigation by category.

The second part of the code, beginning line 543 did not work both navigation by category or manufacturer.

so,
The navigation now works when requested:
by search
by manufacturer

Does not work when requested:
by category

If you can help me, I am really grateful to you!


gpessoa, I had the same issue. If you go into Virtuemart>CONFIGURATION>SEO. Look at the Seo Suffix, if you have something there such as "-detail" make sure you have "Adds Suffix to URL" in Joomla's configuration.That should do it.
Title: Re: Page Navigation Start Prev 1 2 3 4 Next End not working
Post by: bdimov on July 30, 2014, 07:54:25 AM
Hi,

I have the similar problem with navigation:

When I try to select how many products to show in page they send me to a new page that include with different category.
When I use the buttons on the bottom(next, end, prev, 1,2,3) again they send me to new page that include different category.

I check  the Joomla SEO setting and Virtuemart SEO settings but there is no change.
This is a global problem in my site.

Can anyone tell me what is this problem and how to solve it?

Thank you in advance!
Kind Regards
Title: Re: Page Navigation Start Prev 1 2 3 4 Next End not working
Post by: GJC Web Design on July 30, 2014, 10:39:49 AM
QuoteThis is a global problem in my site.

so this is also the case with paginated articles for example?

are u using any 3rd party sef extensions?
Title: Re: Page Navigation Start Prev 1 2 3 4 Next End not working
Post by: bdimov on July 30, 2014, 14:57:25 PM
Hi,

In products I only have button to return back to category and it is working.
I don't have navigation in joomla articles.

And yes I'm using sh404SEF(I bought it before 2-3 months).
Title: Re: Page Navigation Start Prev 1 2 3 4 Next End not working
Post by: GJC Web Design on July 30, 2014, 15:14:35 PM
http://forum.virtuemart.net/index.php?topic=118567.msg423661#msg423661
Title: Re: Page Navigation Start Prev 1 2 3 4 Next End not working
Post by: bdimov on July 30, 2014, 15:28:47 PM
Thank you.
I search for similar topics but maybe I don't see that topic.

So solution is:
VM Configuration - turn off SEO.
And now everything is perfect!

Added by Mod: In case you use a 3rd party router software like sef404