Welcome, Guest
Username: Password: Remember me
Use this Category for your support questions about Virtuemart Template - CleanMart (SKU# FLEX-00015)

TOPIC: Page Numering

Page Numering 10 years 7 months ago #6478

Hello

I was wondering if anyone can help?

Can I place the page numbering system on both the top and bottom of the products page?


Attachment page_numbering.jpg not found

The topic has been locked.

Page Numering 10 years 6 months ago #6495

Hi,

Yes you can. You can enable/disable pagination number boxes from the bottom of the product page.
Open: Flexible VM2 Template Plugin (through joomla plugin manager)

and look at the screenshot:

Attachment Pasted_Image_9_20_13_5_35_PM.png not found



Regards.
The topic has been locked.

Page Numering 10 years 6 months ago #6506

Hello

Thanks for your help..

Did the drop down and when I went to, "Show Bottom Pagination" ; it did the trick, but changed the background colour.

Attachment website.jpg not found




cheers
john
The topic has been locked.

Page Numering 10 years 6 months ago #6512

Are you sure the background turns out to brown when you enable the "Show Bottom Pagination" option?
I don't think those would related to each other. The background color changing must be because of something else which i can't figure out by looking at the screenshot.

I need your website URL to let me investigate the source codes and CSS.

Regards.
Support & Development
The topic has been locked.

Page Numering 10 years 6 months ago #6516

Hello

I did an isolation test and when I enabled, "Show Bottom Pagination"

Url is www.jellyroll.com.au/index.php/our-range-quilting-fabrics/honey-buns-quilting-fabric/mini-honey-buns-quilting-fabric

Would you like me to enable it, so you can check out the CSS?

cheers
john
Last Edit: 10 years 6 months ago by John Meyer.
The topic has been locked.

Page Numering 10 years 6 months ago #6517

Hi,

I did the same thing in our DEMO and i run into a similar problem.

I found what causes this failure. It is an innocent mistake that we have made while coding.
There are 2 ways to solve it. Follow one of the ways to solve it.

Solution #1: In the plugin parameter. Enable:
- Show Bottom Pagination
- Page Result Counter <---you need to enable this feature additionally

Solution #2: Open this PHP file:
ROOt/templates/YOUR_TEMPLATE/html/com_virtuemart/category/default.php
(default.php or flexv2.php which ever layout you are using currently for your category browse page)

And scroll to the bottom and find this line:
<span><?php echo $this->vmPagination->getPagesCounter(); ?></span></div>
<?php } ?>
<?php } ?>

replace it with this:
<span><?php echo $this->vmPagination->getPagesCounter(); ?></span>
<?php } ?>
</div>
<?php } ?>


The problem will be gone.
If not, let me know.

Regards.
Support & Development
Last Edit: 10 years 6 months ago by Support.
The topic has been locked.

Page numbering & Category Title/Description order 10 years 6 months ago #6519

Hi,

Thanks for your great CleanMart template!

You will notice that John's screenshot shows the top pagination positioned directly on the border. Is there a way to separate these elements?

And if I decide not to have top pagination at all, where is it switched off? I can only see a parameter for bottom pagination in my plugin manager.

You will also notice John's screenshot shows the category description positioned before the category title. Is there a way to return this arrangement to the default where the title appears before the description?

The attached screenshots show the same issues on one of my product pages before and after installing CleanMart...

Murray.
Attachments:
Last Edit: 10 years 6 months ago by Murray Taylor. Reason: Typo
The topic has been locked.

Page numbering & Category Title/Description order 10 years 6 months ago #6525

Hi,

If everything would look like the same as the original Virtuemart. Then you wouldn't need our template at all, right? We are promising to make things more user-friendly and we have re-designed the virtuemart pages by inspiring how the well-known ecommerce websites are.

There is a reason why the category description has been moved at the very top. If you put a "picture" inside the description, this is the only way to make things look good. In well-known ecommerce websites such as diesel.com, gucci.com or anntaylor.com etc.. they usually put a product picture in the category page as "description". For better understanding look at the screenshot.

Attachment Pasted_Image_9_23_13_10_55_PM.png not found



But there is one thing i noticed in your screenshot. The "page numbeingr boxes" must have been at the same level as the "sort products" dropdown normally. But it is different in your screenshot. There might be a CSS overriding that breaks this layout in your website. If you provide me your website URL i would investigate your website and figure out what causes that.

To move the "short description" from above to below category title. You would need hard coding on this file:
ROOt/templates/YOUR_TEMPLATE/html/com_virtuemart/category/default.php

find this line:
<div class="category_description"> <?php echo $this->category->category_description ; ?> </div>

which is the line to load the category description. Move it to where you would like to move the category description to.

You may move it right before this line:
<div id="FlexibleBrowseViews">
So the short descriotion will be loaded right before products (after category title and sort by dropdown boxes)

If you want to hide the "top" pagination numbers, then you can do this by CSS.
Open this CSS file:
/templates/YOUR_TEMPLATE/html/com_virtuemart/assets/css/flexibleVM2Global.css

and include this CSS rule:
.FlexiblePagination { display:none;}

Regards.
Support & Development
The topic has been locked.

Page numbering & Category Title/Description order 10 years 6 months ago #6545

Hi,

Thank you for those coding tips.

I can certainly see the design principles for this ordering when the description includes images. Maybe I should just get some images in there as well!

Your offer to check my website is much appreciated: test.jamesyeates.com/

Just a few tweaks. Still love your template!

Cheers,

Murray.
The topic has been locked.

Page numbering & Category Title/Description order 10 years 6 months ago #6550

Hi,

I saw an innocent "Division by Zero" error in this URL below:
test.jamesyeates.com/index.php?option=com_virtuemart

to fix it, open this PHP file:
ROOT///templates/ot_homeeco/html/com_virtuemart/virtuemart/default_categories.php

at the top of the file, include this line below:
// Turn off all error reporting
error_reporting(0);

to disable the error reporting.

About the pagination button stylizaiton. Open your FTP and find this PHP file:
ROOt//templates/ot_homeeco/html/pagination.php

rename it to
ROOT//templates/ot_homeeco/html/pagination2.php

Then re-check the category browse page. The pagination numbers should be styled and positioned correctly as you see in our DEMO.

Regards.
Last Edit: 10 years 6 months ago by Support.
The topic has been locked.

Page numbering & Category Title/Description order 10 years 6 months ago #6563

Hi

Error message issue resolved. Thank you.

Renaming pagination.php did not produce the desired result, however reducing line-height to 9px cleared it from the line.

Murray.
Last Edit: 10 years 6 months ago by Murray Taylor. Reason: typo
The topic has been locked.

Page numbering & Category Title/Description order 10 years 6 months ago #6576

It is nice to hear that you found a solution by yourself.

I am marking this case as "solved" and closing the topic.

Regards.
The topic has been locked.
Time to create page: 0.226 seconds

MaterialMart

for Virtuemart 3

Google's Material Design has finally arrived to Virtuemart

Virtumart Template - MaterialMart Virtumart Template - CleanMart Virtumart Template - CleanMart Virtumart Template - CleanMart

Fully responsive!

Buy Now   |   Live Demo