CI and ExtJS setup |
[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. ![]() Thats what they say over there. (most of the times)... "That's CI problem, post over there"
[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">
[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
[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. ![]() 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.
[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. ![]() 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
[eluser]bayrem[/eluser]
hi, I have a prob similar to your but I cannot find a solution ![]() 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/ |
Welcome Guest, Not a member yet? Register Sign In |