php - Cakephp 2.x #hash not working in pagination number -
i have problem use hash(#) tag in cakephp pagination number.
my code:
<?php echo $this->paginator->prev(' <<' . __('prev '),array('url'=> array('#' => 'grid')),null,array('class' => 'prev disabled')); echo $this->paginator->numbers(array('separator'=>'')); echo $this->paginator->next(__(' next') . '>> ',array('url'=> array('#' => 'grid')),null,array('class' => 'next disabled')); ?>
i getting hash(#grid
) tag in both <<prev
, next>>
unable give #grid
in between number. please me how use hash link in pagination number?
test link - http://vanceblackburn.com/demo/carscanner/cars/listing/?make_id=&price1=&price2=&state_id=&title=
<?php echo $this->paginator->prev(' <<' . __('prev '),array('url'=> array('#' => 'grid')),null,array('class' => 'prev disabled')); echo $this->paginator->numbers(array('url'=>array('#' => 'grid')),array('separator'=>'')); echo $this->paginator->next(__(' next') . '>> ',array('url'=> array('#' => 'grid')),null,array('class' => 'next disabled')); ?>
Comments
Post a Comment