News:

Looking for documentation? Take a look on our wiki

Main Menu

Category Pagination Problem

Started by BCD, March 14, 2012, 04:28:27 AM

Previous topic - Next topic

BCD

How do I switch off the pagination in VM2. I want to display all my products on one page without any paging.

See attachment.

[attachment cleanup by admin]

BCD

2 days and no replies - where is the support team !

lysov

Is it possible to assign a css class to them, or edit current style (<ul><li>).

Does anyone know how to set the pagination to "All"?

jenkinhill

BCD, this is a peer support forum - there is no support team as such. It would help if you had posted which VirtueMart version you are using - for example I am using 2.0.3D as well as the latest SVN version all on Joomla 2.5.2.

For me this works: domain.co.uk/index.php?option=com_virtuemart&view=category&virtuemart_category_id=0&limitstart=0
Kelvyn
Lowestoft, Suffolk, UK

Retired from forum life November 2023

Please mention your VirtueMart, Joomla and PHP versions when asking a question in this forum

BCD

I did post under VM2 section so thought that would be enuf.

Joomla 2.5.3
Virtuemart 2.0.2

That link you posted is just for selling domain names ???

So the problem persists.

Where can I change the number 10 (default number of products per page) to 100.


jenkinhill

For domain.co.uk insert your own domain.......................
Kelvyn
Lowestoft, Suffolk, UK

Retired from forum life November 2023

Please mention your VirtueMart, Joomla and PHP versions when asking a question in this forum

lysov

There are two div with identical id in the category default layot (bug VM 202-203E), that is why you cannot change properties of the list <ul><li>.
See components/com_virtuemart/views/category/tmpl/default.php:
<div id="bottom-pagination"> at the top
and
<div id="bottom-pagination"> at the bottom
Unique id are identical!

Does anyone know how to set the pagination to "All"?

BCD

@jenkinhill

Huh - fill in my own domain. That does not answer my question mate.

My question again is:

How do I display ALL my products on ONE page without any paging required.

It's a simple question. May Milbo can answer this one as I think he is a programmer.


rbedenham05

#8
I am having the same problem.

I want to display all products under a category on one page. Currently this is displayed on 2 pages. I have checked through the configuration, but nothing seems to be having an affect. 

Virtuemart: 2.0.6
Joomla 2.5.4

Just a note, that entering my domain in the above fix has now caused my site to display the following warning:

Warning: Division by zero in /home/cosmedia/public_html/dev2/templates/gk_mystore/html/com_virtuemart/category/default.php on line 52

Any help or guidance would be much appreciated.

rbedenham05

#9
OK, the issue was not caused by adding my domain name after what jenkinhill posted, my apologies.

Surprise surprise, it was caused by me, duh, leaving 'Default nunber of categories in a row' and 'Default number of products in a row' empty in VM configuration >> Templates

Added default values and the warnings have all gone away.

Still struggling to find a way of displaying all products under a category

rbedenham05

Finally found a solution to controlling the number of products displayed on a page.

http://forum.virtuemart.net/index.php?topic=102694.0

Best regards,

Richard