Jump to content

TreeFolx

New Members
  • Posts

    2
  • Joined

  • Last visited

TreeFolx's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. Hello, I am using zend pagination in my gallery and its unfortunetly not working right for me. When using tags and search box in gallery -> next/another page is returning with no taging/searching It should look like gallery\page\2\?s=&tag=9 but instead i have gallery\page\2 What can I do about that? 'gallery' => array( 'type' => 'Segment', 'options' => array( 'route' => '/generator_nowy/gallery[/page/:page/]', 'defaults' => array( 'controller' => 'Men\Controller\FrontController', 'action' => 'gallery', 'page' => 1, ) ), 'may_terminate' => true ),
  2. Hello, I have problem with my pagination script, I tried to add tags to it but selecting second page (next page) when tag is working and filter content of the page, gets me back to second page with content without tag. It should look like this: gallery/page/2/?s=&tag=2 instead: gallery/page/2 I just dont know what to do. Can you help me out? My pagination script: <?php foreach ($this->pagesInRange as $page): ?> <?php if ($page != $this->current): ?> <li><a href="<?php echo $this->url($this->route, array('page' => $page ), true); ?>"><?php echo $page; ?></a></li> <?php else: ?> <li class="active"><a href="#"><?php echo $page; ?></a></li> <?php endif; ?> <?php endforeach; ?>
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.