Hi,
im working with drupal views,
function themespage_views_default_views() {
views_include("view");
$view = new view;
$view->name = 'master';
$view->description = '';
$view->tag = '';
$view->view_php = '';
$view->base_table = 'node';
$view->is_cacheable = FALSE;
$view->api_version = 2;
$view->disabled = TRUE;
$handler = $view->new_display('default', 'Defaults', 'default');
$handler->override_option('relationships', array(
'content_profile_rel' => array(
'id' => 'content_profile_rel',
'table' => 'users',
'field' => 'content_profile_rel',
),............
$view->execute();
return $view->result;
}
i want to pass argument via url ?page=0,1
so that the above code will reflect accordingly.simply it showing first 10 result.
Thanxs, Nithish.