within CListview and CGridview when I turn off ajax I set
'ajaxUpdate' = false
but the paging variable comes up with modelname_page=1 how can i set the paging variable to just ‘p’
ie so p=1.
I have tried
'pageVar' => 'p'
but this doesn’t work as it’s not supported.
btw I am using yii 1.1.10
try:
$dataProvider->getPagination()->pageVar = 'p'; $this->widget('zii.widgets.grid.CGridView', array( 'dataProvider'=>$dataProvider, )); // if it works the CListView goes the same way
That worked, Many Thanks !