Support Forum
Hello, I was wondering if someone could possibly help with my problem...
(I have a few problems with this forum installation... but will tackle them like eating an elephant... bit... by... bit lol)
Ok if you visit my forum link: http://learnwithsally.com/forum
You will see that 2 parts of the page have void javascript ie.
login and at very bottom the link to the about Simple Press info icon.
Now I am sure to someone experienced this is a simple problem, but I simply don't have a CLUE, so any help would be very greatly appreciated.
I did search the forum first but couldn't find anything related to my specific problem, will probably see me posting a few things over the next few days, then I shall be on my merry way 😀
Thanks Sally 🙂
sorry, not following what you mean... many links with have an href of javacript:void() if they have an onclick event instead of an actual link... that of itself doesnt mean anything and can be normal...
but I think you are referring to your site throwing javascript errors when you click on those links... and there are conflicts on your site...
you have a plugin called affiliate surge doing bad things... its loading its own version of jquery ui (and its quite old) instead of using the more current version that comes with wp...
for reference see: http://codex.simple-press.com/.....-conflict/
<script type='text/javascript' src='http://learnwithsally.com/wp-content/plugins/wp-affiliatesurge-2.0/js/jquery-ui-1.7.3.custom.min.js?ver=3.3.2'></script>
that jquery ui version is really not compatible with the version of jquery and jquery ui that comes with wp... and causing conflicts/errors on your site...
see if you can find where that is loaded in the plugin and we can help you correct it..
Visit Cruise Talk Central and Mr Papa's World
Hi Papa
Yes I already read that information on the url you gave me 🙂
I did notice affiliate surge however I don't know how to correct it, how would I find out where its loaded in the plugin? I have emailed the creator of the plugin so will await their reply as to it being "old"
The problem with the void is that when you click on either little "i" icon at bottom for simple press or the login button.... nothing happens ie. there is no on-click event (I take it this is because of the affiliate plugin also?)
Thanks for your patience in helping me with this, code stuff goes wayyyyyyyyyyyyyyy over my head
Sally 🙂
yes I know nothing happens... that is because of the js errors coming from that plugin... the onclick event launches js... but because of the already occurred js error, any js processing cannot run...
plugins really need to use the wp api for loading js and jquery as detailed in the wp codex: http://codex.wordpress.org/Fun.....eue_script
so you need to look through the plugin, perhaps in the main file... not sure what it does or how many files there are... but somewhere you will see the line of code I put in post 2... and replace it wti
<?php wp_enqueue_script('jquery-ui-core'); ?>
<?php wp_enqueue_script('jquery-ui-widget'); ?>
so it loads the up to date wp version instead of the outdated version that is not compatible with plugins trying to use the wp jquery ui...
Visit Cruise Talk Central and Mr Papa's World
1 Guest(s)