19 Apr 2010 4:05 AM #21
I change some code for support compress feature. At class ExtDAPI method _print line 232 - 244.
23 Apr 2010 4:07 PM #22
I'm traing to make an upload using the CI Upload library and Ext Direct and it dosen't works. Could someone put me an example about this?, both parts (JS and PHP) please.
21 May 2010 1:23 AM #23
i reading the first post and i am new to codeigniter... What does basePath() mean? This run into an error.
A complete Sample-Code were great!
base_path() is not a function. For me it must be <?=$this->config->item('base_url') .$this->config->item('index_page');?>
9 Jul 2010 3:42 PM #24
Session access within Direct API
I am trying to access the user session from C.I. within the Ext.Direct API function
$perms = $this->session->userdata('perms');
Severity: Notice --> Undefined property: SponsorAPI::$session
In a controller context the session works fine, its only at this next level down that it fails.
9 Jul 2010 4:11 PM #25
$CI = get_instance();
$perms = $CI->session->userdata('perms');
9 Jul 2010 7:47 PM #26
26 Jul 2010 3:03 PM #27
Hmm i have read the Thread more than 2 Times, and i dont get into it, some Help would be very nice, first of all the base_path() thing did not work for me, ok i solved this with the base_url, the trouble starts now with the not reachable direct/router method.
Is there anybody who get ext direct working with ci, and could give me some help.
that would be very nice
26 Jul 2010 3:21 PM #28
26 Jul 2010 3:46 PM #29
I have Setup the the scripts in a way, i normaly do it,
<link rel="stylesheet" type="text/css" href="<?=base_url().'extJS/resources/css/ext-all.css'?>" />
http://www.domain.tld/direct/router" 404 Error,
that seems pretty clear to me, but i dont get right into it, because it seems i am the only one with this error...
The right URL must be http://www.domain.tld/index.php/direct/router", i have done a small worakround to test the functionality of ext direct, with a htaccess file and cutting the index.php away, but i get a response , similar to this one
I have tried to figure this behaviour out but now i am at a point where i can't think about this problem anymore :-P
26 Jul 2010 7:14 PM #30
Thread Participants: 18
- Dumbledore (1 Post)
- ReLexEd (1 Post)
- cherbert (3 Posts)
- zcool (1 Post)
- email@example.com (5 Posts)
- sommai.k (1 Post)
- Julio Betta (2 Posts)
- e-mike (5 Posts)
- rahulswarnkar (3 Posts)
- RoyN (1 Post)
- siberian (4 Posts)
- predator (3 Posts)
- tfcoding (3 Posts)
- vadimv (2 Posts)
- Gueifu (1 Post)
- anwar31dec (1 Post)
- saip92 (1 Post)
- ngoinhaxinh2013 (1 Post)