Page 1 of 4

[Released] Add "<< Previous" and "Next >>" links

Posted: Tue Sep 08, 2009 7:02 am
by Goober
This module adds "Next" and "Previous" links to the product view template.

Whenever your customers view products in a specific Category, products for a specific Manufacturer or the results of the site search, these links will appear and enable your customers to browse these items by clicking these "Next Item >>" and "<< Previous Item" links. The links appear as Names of the products that will be shown if clicked.
npl_screenshot_small.gif

npl_screenshot_small.gif (37.71 KiB) Viewed 8196 times

Installation.

This modification requires you to update two files on your web site. Installation instructions are provided.

DOWNLOAD

Re: [Released] Add "<< Previous" and "Next >>" links

Posted: Tue Sep 08, 2009 12:09 pm
by comiclair
looks good...does it work on 1.3.2? thanks

Re: [Released] Add "<< Previous" and "Next >>" links

Posted: Tue Sep 08, 2009 1:44 pm
by madany
doesnt work on OC 1.3.2 ???

Re: [Released] Add "<< Previous" and "Next >>" links

Posted: Tue Sep 08, 2009 1:56 pm
by madany
oops sorry...it works on 1.3.2. it must be clicked from "categories"
i clicked the product from "the latest product" and it doesnt work..

Re: [Released] Add "<< Previous" and "Next >>" links

Posted: Tue Sep 08, 2009 2:30 pm
by Donce
hello,

hmm, with 130 version, i get this error..
http://www.part.lt/img/9365a1cb7cce8218 ... 755363.png

(or it is my system?)

Re: [Released] Add "<< Previous" and "Next >>" links

Posted: Tue Sep 08, 2009 3:16 pm
by abmcr
The code of the module is encrypted.... :(

Re: [Released] Add "<< Previous" and "Next >>" links

Posted: Wed Sep 09, 2009 1:44 am
by Goober
comiclair wrote:looks good...does it work on 1.3.2? thanks
Yes, it works on v1.3.2

Thanks
/Goober

Re: [Released] Add "<< Previous" and "Next >>" links

Posted: Wed Sep 09, 2009 2:14 am
by Goober
Donce wrote:hello,

hmm, with 130 version, i get this error..
http://www.part.lt/img/9365a1cb7cce8218 ... 755363.png

(or it is my system?)
Hi,

I just updated the mod to support v1.3.0 in addition to v1.3.2

DOWNLOAD

Re: [Released] Add "<< Previous" and "Next >>" links

Posted: Wed Sep 09, 2009 2:36 am
by Goober
madany wrote:oops sorry...it works on 1.3.2. it must be clicked from "categories"
i clicked the product from "the latest product" and it doesnt work..
Hi,

Yeah, the mod won't kick in if the product is clicked from "the latest products". Right now the mod works if viewing products from "Categories", "Manufacturer" and "Search Results".

The problem is that there are no links to activate this display, so the mod doesn't know that the product is viewed from there.

However, if you're willing to make one more edit to one of the templates, the mod can be made to work with "latest products" as well.

Let me know if this additional functionality is needed and I'll update the mod.

Thanks
/Goober

Re: [Released] Add "<< Previous" and "Next >>" links

Posted: Wed Sep 09, 2009 5:15 am
by nzjolly
yep an update would be great mate :-)

Re: [Released] Add "<< Previous" and "Next >>" links

Posted: Wed Sep 09, 2009 12:06 pm
by madany
sounds great... update is needed man... ;D

Re: [Released] Add "<< Previous" and "Next >>" links

Posted: Thu Sep 10, 2009 5:47 am
by Goober
UPDATE has been posted.

The latest revision of the mod now supports "<< Previous" and "Next >>" links when viewing products from the latest product list on the home page.

Support for v1.2.8, v1.2.9, v1.3.x has also been added.

The mod now also includes an optional field that will allow you to control how many latest products are shown on the home page from the admin panel. This control is optional. Should you decide not to use it, you would be able to specify a different number of latest products for which the links will be activated. For example, if on your home page you show 4 latest products, you can tell the mod to cycle through 8 or more latest products. If you do use this option, then the mod will force the number of products on the home page and the links loop to always be the same. I hope that makes sense to you guys.

Let me know if you have any questions

Thanks
/Goober

Re: [Released] Add "<< Previous" and "Next >>" links

Posted: Thu Sep 10, 2009 10:49 am
by madany
cool.. ;)
thx man...

Re: [Released] Add "<< Previous" and "Next >>" links

Posted: Thu Sep 10, 2009 12:31 pm
by madany
i just found a lil problem...
i got 2 languages installed. when i change/switch the lang, the link disappears... :(

Re: [Released] Add "<< Previous" and "Next >>" links

Posted: Fri Sep 11, 2009 10:39 pm
by Goober
madany wrote:i just found a lil problem...
i got 2 languages installed. when i change/switch the lang, the link disappears... :(
Looking into it.

Thanks
/Goober

Re: [Released] Add "<< Previous" and "Next >>" links

Posted: Sat Sep 12, 2009 9:00 am
by nzjolly
thanks for this, legend , great work.

one thing, (Please Please) if possible, are we able to make it just <<<Previous & Next>>>> maybe optional?
would like to have Previous and Next instead of the name of the next and previous products.

Re: [Released] Add "<< Previous" and "Next >>" links

Posted: Fri Sep 18, 2009 5:10 am
by Goober
Goober wrote:
madany wrote:i just found a lil problem...
i got 2 languages installed. when i change/switch the lang, the link disappears... :(
Looking into it.

Thanks
/Goober
I looked into. Installed second langauge, on v1.3.2, and it works ok for me. I did find a problem with one of the language contributions. This problem is when the contribution is not "native" to OpenCart. When you install the language module, you should not have to overwrite any existing files. One of these contribs did. Adn that's the one that didn't work. The other, native, language contrib, installaed without a glitch and the links worked just fine.

You can PM me if you would like me to make it work on your site.

Thanks
/Goober

Re: [Released] Add "<< Previous" and "Next >>" links

Posted: Fri Sep 18, 2009 5:11 am
by Goober
nzjolly wrote:thanks for this, legend , great work.

one thing, (Please Please) if possible, are we able to make it just <<<Previous & Next>>>> maybe optional?
would like to have Previous and Next instead of the name of the next and previous products.
Sounds like a reasonable request. I'll look into it.

Thanks
/Goober

Re: [Released] Add "<< Previous" and "Next >>" links

Posted: Mon Sep 21, 2009 5:45 am
by Goober
nzjolly wrote:thanks for this, legend , great work.

one thing, (Please Please) if possible, are we able to make it just <<<Previous & Next>>>> maybe optional?
would like to have Previous and Next instead of the name of the next and previous products.
Support for the use of words such as Previous and Next has been added.
Also added support for the Category sort. After using the sort dropdown, you can now browse the category using previous and next links in a sorted order.

http://www.opencart.com/index.php?route ... ion_id=394

Thanks
/Goober

Re: [Released] Add "<< Previous" and "Next >>" links

Posted: Fri Sep 25, 2009 12:45 pm
by nzjolly
This works a treat, thank you so very very much, legend!!!!!