Hi Bram
I am not sure I am likely to be in a position to upload this as a plugin in the near future. However, I will try and help you implement the code on your site.
Lets see if I can give you some more specific instructions. but NB please back up all your files before making any of these changes so if there are any problems you can just restore the original files. I will not be held responsible for breaking your site!
First of all you need to have two files in your site.co.uk/includes/templates/my_template/templates
directory:
tpl_index_product_list.php and
tpl_categories_next_previous.php
where my_template is the name of the template your site is currently using - it might be "classic" if you are using the standard installation template.
If these files are not there do this:
1) copy the standard version of tpl_index_product_list.php from the default_template directory:
site.co.uk/includes/templates/default_templates/templates
and put it in to
site.co.uk/includes/templates/my_template/templates
2) create a new file called tpl_categories_next_previous.php and put it in the directory as above. Cut and paste the code from my second code posting into this new file and save it.
Now you need to make some changes to tpl_index_product_list.php in order for it to call the code in tpl_categories_next_previous.php:
In the file includes/templates/my_template/templates/tpl_index_product_list.php
go to line 85 or there abouts and you should see code that looks like this:
PHP Code:
// draw filter_id (ie: category/mfg depending on $options)
if ($do_filter_list) {
echo zen_draw_pull_down_menu('filter_id', $options, (isset($_GET['filter_id']) ? $_GET['filter_id'] : ''), 'onchange="this.form.submit()"');
}
// draw alpha sorter
require(DIR_WS_MODULES . zen_get_module_directory(FILENAME_PRODUCT_LISTING_ALPHA_SORTER));
?>
</form>
<?php
}
?>
<?php
/**
* require the code for listing products
*/
require($template->get_template_dir('tpl_modules_product_listing.php', DIR_WS_TEMPLATE, $current_page_base,'templates'). '/' . 'tpl_modules_product_listing.php');
?>
You need to insert this code
PHP Code:
<!--bof tame_cat prev next -->
<?php require($template->get_template_dir('/tpl_categories_next_previous.php',DIR_WS_TEMPLATE, $current_page_base,'templates'). '/tpl_categories_next_previous.php'); ?>
<!--eof tame_cat prev next -->
so you end up with
PHP Code:
// draw alpha sorter
require(DIR_WS_MODULES . zen_get_module_directory(FILENAME_PRODUCT_LISTING_ALPHA_SORTER));
?>
</form>
<?php
}
?>
<!--bof tame_cat prev next -->
<?php require($template->get_template_dir('/tpl_categories_next_previous.php',DIR_WS_TEMPLATE, $current_page_base,'templates'). '/tpl_categories_next_previous.php'); ?>
<!--eof tame_cat prev next -->
<?php
/**
* require the code for listing products
*/
require($template->get_template_dir('tpl_modules_product_listing.php', DIR_WS_TEMPLATE, $current_page_base,'templates'). '/' . 'tpl_modules_product_listing.php');
?>
You should then see the navigation facility appear on your product listing page.
Let me know how you get on.