News:

Looking for documentation? Take a look on our wiki

Main Menu

Previous and next buttons

Started by binkent, October 01, 2012, 17:20:58 PM

Previous topic - Next topic

binkent

I am using virtuemart 2.0 and do not want the previous and next buttons at the top and bottom see here http://dev.gorillarobotfactory.com/ what file do  go to to get rid of tem completely. Thanks for any help

bytelord

Hello,

Create a template override for the file your_joomla_folder\components\com_virtuemart\views\category\tmpl\default.php to your custom template folder.

Edit the new file, around line 172-175 there is the top pagination. You could comment that lines or change line 172 from    <div class="vm-pagination"> to             <div class="vm-pagination" style="display:none"> or just comment  the lines 173 & 174, like

<?php //echo $this->vmPagination->getPagesLinks(); ?>
<span style="float:right"><?php //echo $this->vmPagination->getPagesCounter(); ?></span>

Creating Template Overrides: http://forum.virtuemart.net/index.php?topic=98505.0
Using Firebug to examine your site: http://forum.virtuemart.net/index.php?topic=102850.0
Joomla/VM templating system: http://dev.virtuemart.net/projects/virtuemart/wiki/Hints_for_the_use_of_the_template_system

Regards
Production: Joomla 2.5.8 | VM 2.0.14 | PHP 5.3.13
Testing     : Joomla 2.5.8 | VM 2.0.16 | PHP 5.3.8
Testing     : Joomla 2.5.8 |    VM 2.1   | PHP 5.3.8

- Don't Forget to mark thread as solved when it is solved!
- Please do not PM with support questions, use the forum!