Welcome Guest, Not a member yet? Register   Sign In
CI and ExtJS setup
#11

[eluser]rvent[/eluser]
[quote author="outrage" date="1205254107"]If you post the login.js file I may be able help more, but you may be better off posting on the ExtJS forums since it isn't a CodeIgniter issue and their don't appear to be many ExtJS users in these forums. Smile[/quote]

Thats what they say over there. (most of the times)... "That's CI problem, post over there"
#12

[eluser]esra[/eluser]
Load url helper in your controller or autoload it, then try the following:

Code:
<!DOCTYPE html PUBLIC “-//W3C//DTD HTML 4.01 Transitional//EN” “http://www.w3.org/TR/html4/loose.dtd">
&lt;html&gt;
&lt;head&gt;
&lt;meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"&gt;
&lt;title&gt;Telcor Web2SMS - Autentificare&lt;/title&gt;
&lt;link rel="stylesheet" type="text/css" href="&lt;?=base_url();?&gt;ext-2.0.2/resources/css/ext-all.css"&gt;


&lt;/head&gt;
&lt;body&gt;

&lt;/body&gt;
&lt;/html&gt;
#13

[eluser]anjelika[/eluser]
esra, thanks for the tip, it worked.
The problem was that the js were not loaded using the absolute path, but worked by using the url helper, strange.
I tought that the javascripts were loaded when using the abs. path, but it seems not, my fault.
Thank you guys for your help, nice to see this is a very nice community!
Regards
#14

[eluser]outrage[/eluser]
[quote author="rvent" date="1205284586"][quote author="outrage" date="1205254107"]If you post the login.js file I may be able help more, but you may be better off posting on the ExtJS forums since it isn't a CodeIgniter issue and their don't appear to be many ExtJS users in these forums. Smile[/quote]

Thats what they say over there. (most of the times)... "That's CI problem, post over there"[/quote]


Hey, sorry if that sounded like I was passing the buck there.

The OP said he could see in Firebug that the ExtJS scripts were loaded.
If that were the case, a blank page from my experience with ExtJS, is much more likely to be a simple error (or extra comma in IE) within your javascript.
#15

[eluser]anjelika[/eluser]
[quote author="outrage" date="1205290131"][quote author="rvent" date="1205284586"][quote author="outrage" date="1205254107"]If you post the login.js file I may be able help more, but you may be better off posting on the ExtJS forums since it isn't a CodeIgniter issue and their don't appear to be many ExtJS users in these forums. Smile[/quote]

Thats what they say over there. (most of the times)... "That's CI problem, post over there"[/quote]


Hey, sorry if that sounded like I was passing the buck there.

The OP said he could see in Firebug that the ExtJS scripts were loaded.
If that were the case, a blank page from my experience with ExtJS, is much more likely to be a simple error (or extra comma in IE) within your javascript.[/quote]

Yes, he's right, a simple comma can break the page in IE but I posted here as I tought this was a CI related problem and not Ext as the page was working fine outside the CI.
However, I solved the problem, thanks to esra and you guys for the help.
Regards
#16

[eluser]bayrem[/eluser]
hi,

I have a prob similar to your but I cannot find a solution Sad

please take a look and tell me if u can help please:

the library does not load I think.

http://ellislab.com/forums/viewthread/80617/




Theme © iAndrew 2016 - Forum software by © MyBB