I have installed in TYPO3 the extension ods_pm_ajax for ajax submit, but for some reason this doesnt seem to work. I get an error like in line 5 of ods_pm_ajax.js, because $.style is not defined, which makes me think that it doesnt use prototype but I dont understand why! I turned off jQuery in my site because I was afraid of compatibility problems and still nothing.
Anyone has an idea of why this can be?
What version of ext powermail are you using?
I tried with 1.6.4 and got very similar error to yours. And then downgraded to 1.5.7 and it started to work!
Looks like the extension odd_pm_ajax requires 1.5.x. I think with version 1.6.x powermail started to use jQuery for javascript framework.
Changelog for 1.6.0 version of powermail copied from TER:
1.6.0: jQuery validation, extJS BE Module, Scheduler, HTML templates modified!, see http://forge.typo3.org/versions/show/678 and manual
So just use version 1.5.x and ods_pm_ajax should work.
Or try to achieve the same functionality with 1.6 and jQuery.
Cheers
Related
How can I disable Mootools in Joomla 3.2 without hacking core files? I have already tested this link, but it does not work for me.
Simple way is edit your templates not to include it but some things still require it.
http://pbwebdev.com/blog/removing-mootools-core-js-caption-js-joomla
Newer versions of 3.2.3 remove the tooltip js that was built in mootools but earlier ones will give you a console error if you have forms using it for the tip on the input label.
Also Kunena Forum uses mootools for the profiles and post edit tools, so I tend to write code that just includes it there.
Outside that there are plugins in the JED
http://extensions.joomla.org/extensions/core-enhancements/performance/mootools/22236
I found this page on docs.joomla.org helpful. I was using JHtml::_('behavior.framework') which loads mootools.
I have a gantry template for Joomla 2.5 and I converted this template to make it Joomla 3.0 compatible.
The Joomla 2.5 to 3.0 upgrade was successful, but template does not work, why? .
I get the following error:
500 - JHtmlBehavior::mootools not found
Somewhere in your template, you are using:
JHtml::_('behavior.mootools');
or
JHtmlBehavior::mootools();
This has been removed as of Joomla 3 and therefore needs to be changed to:
JHtml::_('behavior.framework');
Instead of trying to fix the extensions the following plugin can be used (and it will provide the JHtml::_('behavior.mootools') API call): J25 Legacy plugin for Joomla 3.X
I agree with denis post above. I had this same problem with upgrading from j2.5 to j3X and used j25 legacy plugin from pluginaria. Found here: http://www.pluginaria.com/j25-legacy.html and got rid of the error for me. There may be a better way.... Find and replace plugin to the change code? But this is a quick and easy way to solve this issue. Make sure to activate the plugin under plugin manager after you install.... and of course make sure you have a backup before upgrading from 2.5 to 3. You should expect their to be problems.
How to upgrade codeigniter from version 1.0 to recent version?
I have downloaded the recent version of codeigniter and have a sample project which is written in version 1.0. When i try to run it. I am receiving various kinds of errors for using deprecated functions.
You would have to go through http://ellislab.com/codeigniter/user-guide/installation/upgrading.html and make appropriate changes.
Alternatively, you can just battle the errors as they come up until they're all gone.
It might be easier to just re-write the thing.
This is a boiled-down repro of a problem I'm having in a much larger app. I can't seem to find a solution for it. If you run this in IE8, the ui-popup directive doesn't work, and the script debugger console has the error message "TypeError: Object doesn't support this property or methodundefined".
I tried to strip away as many directives, controllers, and as much code as possible.
jsFiddle Link
If you downgrade angularjs to 1.0.3 it works in ie8.
Edit
Angular 1.0.5 also works.
I set out to use the ui.throbber.js plugin with 1.5.2. It doesn't officially have a 1.5.2 version, and, in fact, the version available isn't working. No throbber appears, and no errors in the Chrome console, and inspect-element shows that the javascript has run and done the surgery on the div.
I just want to start a spinner going at 'ready' and stop it when we hear back from a web service. Can someone suggest an alternative to ui.throbber.js?
I didn't find a version of ui.throbber.js that workswith 1.5.2, but I did find an alternative that will work for 1.5.2. Try nimbleLoader.
https://github.com/nimbleapps/jquery-nimble-loader
I've tested it under my 1.5.2 environment and it works and provides essentially the same result.