Hello,
is it possible to have a pagination for latest module on home page like in category view?
I want to do that to let my customers know every new product added regardless of checking them by category.
Thanks.
Have you tried putting a large number in the 'Limit' box in Admin, Extensions, Modules, Latest?
If it doesn't paginate then you'll need a coding expert to tell you how to get round it.
Hopefully one of the OC experts will be able to help.
Sorry I can't be more useful
If it doesn't paginate then you'll need a coding expert to tell you how to get round it.
Hopefully one of the OC experts will be able to help.
Sorry I can't be more useful
By complete coincidence I came across this module and thought it might suit you?
http://www.getclearthinking.com/extra-product-pages
http://www.getclearthinking.com/extra-product-pages
I'm having the same problem here. Any suggestions or solutions found? Thanks.
I'll try to fix it myself. If a can I'll post a response here.
I'll try to fix it myself. If a can I'll post a response here.
Cheers guys!
Silva out.
Web designer, web developer and proud site creator at http://www.nexio.ro
I've been digging around to try and figure this out for a while - still working on it.
It seems to be similar for any listing page. There is a div with the pagination class that is output, built using vars from an array that is declared beforehand (in the controller I think). The array needs data fed to it. It gets the page var from the end of the url (so it has to send the page var as part of the url when you click next but I think this is probably automatic). But it also involves the controller calling the count function in the model. It needs to add a LIMIT clause to the sql. In the modules that don't have pagination the count function is usually just something like count() with no parameters. I don't think it's a goos idea to alter that function - better to add a new one which is a copy of the first one, altered to match the structure used in, say, the category listing.
The LIMIT clause is done with simple arithmetic - page multiplied by limit = start record number. End record number = start number plus limit-1 or whatever. You can see the code in the controller.
The code I'm scrouring to track all this down is the Customer list in ADMIN, because that was the simplest page type I could find.
This all takes me nearer and nearer to it, but the problem I hit is in the structuring of the URL part of the pagination array - couldn't get it to work.
It seems to be similar for any listing page. There is a div with the pagination class that is output, built using vars from an array that is declared beforehand (in the controller I think). The array needs data fed to it. It gets the page var from the end of the url (so it has to send the page var as part of the url when you click next but I think this is probably automatic). But it also involves the controller calling the count function in the model. It needs to add a LIMIT clause to the sql. In the modules that don't have pagination the count function is usually just something like count() with no parameters. I don't think it's a goos idea to alter that function - better to add a new one which is a copy of the first one, altered to match the structure used in, say, the category listing.
The LIMIT clause is done with simple arithmetic - page multiplied by limit = start record number. End record number = start number plus limit-1 or whatever. You can see the code in the controller.
The code I'm scrouring to track all this down is the Customer list in ADMIN, because that was the simplest page type I could find.
This all takes me nearer and nearer to it, but the problem I hit is in the structuring of the URL part of the pagination array - couldn't get it to work.
Please if you find any resolution to this problem.. i have the same problem too.. Cheers!
Best regards!
Nyls2002ro.
Web designer and admin at http://www.tensiometre24.com
Who is online
Users browsing this forum: No registered users and 105 guests