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.
We've moved the forum!
Please use forum.silverstripe.org for any new questions
(announcement).
The forum archive will stick around, but will be read only.
You can also use our Slack channel
or StackOverflow to ask for help.
Check out our community overview for more options to contribute.
- Previous 10 entries
- 1
- Page 22(current)
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 :)
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 :-)
Sorry for hijacking your thread :)
Did you know you can always Requirements::block one specific file? Quite handy.
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 :-)
- Previous 10 entries
- 1
- Page 22(current)