On Friday 05 Mar 2010 16:14:16 monk.e.boy wrote:
> but 90% of the time I am making links that go from one action to another, I
> almost never jump between modules. So making me put the module name in each
> url() is anoying, but I'm always passing parameters (product_id, order_id
> etc)...

Therefore you shouldn't reset the url. If you make a link to a page like this:

$url = $this->url(array(
  'module'    =>'blog,
  'controller' => 'archive'.
  'action'      => 'view',
  'page'        => '3'));

Then on page 3 you can simply go to the fourth page by:
$this->url(array('page'=>'4')).

-- 
Jurian Sluiman
CTO Soflomo V.O.F.
http://soflomo.com

Reply via email to