SOLVED:[help]Jqgrid master detail list in another page!

#6
[eluser]cestaz18[/eluser]
class Sec_users extends Controller {

function Sec_users()
{
parent::Controller();
$method = $this->uri->rsegment(2);//uri class segment or retrieve rsegment 2
$user = $this->session->userdata('user');//fetch 'user' to $user
if (($method!='login'&&$method!='auth'&&$method!='logout'&&$method!='post')&&!$user) redirect('sec_users/login');

$this->load->model('Dataset_db');
$this->load->model('Users_db','User');

#$lang_select = $this->input->post('language');
#$this->lang->load('login', $lang_select);

$lang_select = $this->session->userdata('lang_select');
$this->config->set_item('language', $lang_select);

$this->lang->load('language');//load language file for sec_users e.g sec_user_lang.php

$this->load->helper('url'); // add this to your function controller


}


Messages In This Thread
SOLVED:[help]Jqgrid master detail list in another page! - by El Forum - 01-28-2010, 01:59 AM
SOLVED:[help]Jqgrid master detail list in another page! - by El Forum - 01-28-2010, 02:03 AM
SOLVED:[help]Jqgrid master detail list in another page! - by El Forum - 01-28-2010, 02:04 AM
SOLVED:[help]Jqgrid master detail list in another page! - by El Forum - 02-01-2010, 11:49 PM
SOLVED:[help]Jqgrid master detail list in another page! - by El Forum - 02-01-2010, 11:52 PM
SOLVED:[help]Jqgrid master detail list in another page! - by El Forum - 02-01-2010, 11:53 PM
SOLVED:[help]Jqgrid master detail list in another page! - by El Forum - 02-01-2010, 11:54 PM

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2020 MyBB Group.