Hi, I just done the Next/Previous button page function, really thanks brother jarek to share it, here is my another question. Hope some one can help me, thank you.
How can i copy the next/previous page function to bottom right corner side (Please view the picture i attach here)? Before this, i got try to copy & paste the code from category.tpl. But it`s not working. Hope all of you can give me suggestion again, thank you.
Regards,
John
look for the page stuff in catalog/template/default/content/category.tpl
Move it where you want it.
Move it where you want it.
Code: Select all
<div class="right"><?php echo $entry_page; ?>
<form action="<?php echo $action; ?>" method="post" enctype="multipart/form-data">
<select name="page" onchange="this.form.submit();">
<?php foreach ($pages as $pages) { ?>
<?php if ($pages['value'] == $page) { ?>
<option value="<?php echo $pages['value']; ?>" SELECTED><?php echo $pages['text']; ?></option>
<?php } else { ?>
<option value="<?php echo $pages['value']; ?>"><?php echo $pages['text']; ?></option>
<?php } ?>
<?php } ?>
</select>
</form>
</div>
Dear Qphoria Brother,Qphoria wrote: look for the page stuff in catalog/template/default/content/category.tpl
Move it where you want it.
Code: Select all
<div class="right"><?php echo $entry_page; ?> <form action="<?php echo $action; ?>" method="post" enctype="multipart/form-data"> <select name="page" onchange="this.form.submit();"> <?php foreach ($pages as $pages) { ?> <?php if ($pages['value'] == $page) { ?> <option value="<?php echo $pages['value']; ?>" SELECTED><?php echo $pages['text']; ?></option> <?php } else { ?> <option value="<?php echo $pages['value']; ?>"><?php echo $pages['text']; ?></option> <?php } ?> <?php } ?> </select> </form> </div>
I think i have been do a mistake again, i mean need to duplicated it one more to bottom side..... sorry for my poor english...........


Regards,
John
search search search... the forum posts are full of goodies including this complete solution
http://forum.opencart.com/index.php/top ... ml#msg4174
http://forum.opencart.com/index.php/top ... ml#msg4174
Who is online
Users browsing this forum: No registered users and 3 guests