Post by derwydd » Thu Nov 29, 2007 5:58 am

I think it is called a pager or page changer. It says 1 of 6 pages and a drop down box.

I need to add this to the bottom, but it looks like there is a increment problem.

thanks

Active Member

Posts

Joined
Wed Aug 29, 2007 12:13 am

Post by derwydd » Thu Dec 06, 2007 1:05 am

can someone help me on this.

Active Member

Posts

Joined
Wed Aug 29, 2007 12:13 am

Post by sitina » Tue Feb 05, 2008 7:35 pm

you should edit appropriate template, where you want to make that change - it is located in catalog/template/{your template name - eg.default}/content/{template name}

for example in review.tpl, pager is following section:

Code: Select all

  <div class="right"><?php echo $entry_page; ?>
    <form action="<?php echo $action; ?>" method="post" enctype="multipart/form-data">
      <select onchange="this.form.submit();">
        <?php foreach ($pages as $pages) { ?>
        <?php if ($pages['value'] == $page) { ?>
        <option value="<?php echo $pages['value']; ?>" selected="selected"><?php echo $pages['text']; ?></option>
        <?php } else { ?>
        <option value="<?php echo $pages['value']; ?>"><?php echo $pages['text']; ?></option>
        <?php } ?>
        <?php } ?>
      </select>
    </form>
  </div>
then just place it somewhere you need (but pay attention on correct palcing inside all divs not to compeltely break your layout)

it should work  ;)

Newbie

Posts

Joined
Mon Feb 04, 2008 2:57 pm
Location - Czech republic

Post by ironman » Sat Feb 09, 2008 2:31 am

not working. i have only one page in dropdown box.

Newbie

Posts

Joined
Tue Nov 20, 2007 2:01 am

Post by bruce » Sat Feb 09, 2008 1:12 pm

Which page(s) in the store do you want to do this with?

Active Member

Posts

Joined
Wed Dec 12, 2007 2:26 pm

Post by bruce » Sat Mar 08, 2008 8:14 am

There are two versions of this demonstrated here http://forum.opencart.com/index.php/top ... ml#msg4174

Active Member

Posts

Joined
Wed Dec 12, 2007 2:26 pm
Who is online

Users browsing this forum: No registered users and 7 guests