2009/2/17 Paweł Chuchmała <[email protected]>: > In mypaginator.phtml, you have something like that: > > <a href="<?= $this->url(array('page' => $page)); ?>"> > <?= $page; ?> > </a> > > You must cznge parameters for $this->url(). For example: > <a href="<?= $this->url(array_merge(array('page' => $page), > $this->dataForPaginatorUrl)); ?>"> > <?= $page; ?> > </a> > > And in controller: > $this->view->dataForPaginatorUrl = array('searchstr' => $searchstr, > 'adlocation' => $adlocation); > > or something else. > > regards, > pch
Doing this gives me an Warning like this: ========== < Previous | 1 | Warning: array_merge() [function.array-merge]: Argument #2 is not an array ========= but i am sure it is array and I have verified that. Any suggestion? -- ======================= Registered Linux User #460714 Currently Using Fedora 8, 10 =======================
