21286 Posts in 5733 Topics by 2602 members
| Go to End | ||
| Author | Topic: | 2041 Views |
-
Re: ss2.4 beta, i18n, prototype and jQuery noconflict

8 February 2010 at 2:23pm
I'm just wondering why it can't find the separator? It's a div on LeftAndMain.ss... maybe prototype does not get loaded and that's why $('separator') returns null? Just a thought.
-
Re: ss2.4 beta, i18n, prototype and jQuery noconflict

8 February 2010 at 7:31pm
The problem I had seen must have been from the upgrade 2.4 alpha to 2.4 beta.
After I made a fresh install of 2.4 beta
- plus all modules and widgets as before
- plus all code changes I had made before
- plus re-importing the sitetree,
the 2.4 beta still worked fine, no problems
-
Re: ss2.4 beta, i18n, prototype and jQuery noconflict

9 February 2010 at 2:34am Last edited: 9 February 2010 2:37am
Thankx for the answer it helped me get one step further, but I still have the problem that my Newsletter Module or UserDefinedForms loads an extra jQuery file at the end of the rest of the requirements that messes my code up (and Requirements::clear(); does not help me get rid of it)
I will try and find a way to extend the class and put the clear function there, but then I probably also have to crete my own validation there....
I will also put a post in the other modules forum, and hope for an answer there...
EDIT: Got it, I just have to require the same jQuery file the module requires and put that one in the right spot in my code. Somehow I do not like it but I can live with it
-
Re: ss2.4 beta, i18n, prototype and jQuery noconflict

9 February 2010 at 8:52am
Sorry for hijacking your thread
Did you know you can always Requirements::block one specific file? Quite handy. -
Re: ss2.4 beta, i18n, prototype and jQuery noconflict

9 February 2010 at 9:30pm
Tried Requirements::clear() but that did not work - I guess because the Subscription Page is a descendant of Page, after that I stopped trying
NP with the hijacking
| 2041 Views | ||
| Go to Top |

