Support Forum
the theme or other is still loading a copy of bootstrap in the footer...
<script type='text/javascript' src='http://vapersplace.com/wp-content/themes/powermag/js/bootstrap.min.js?ver=2.0'></script>
which is well after jquery ui is loaded... That will cause problems... As discussed, its also loaded in the head before jquery ui... so just remove the second loading in the footer...
I dont think js/cs order matters...
Visit Cruise Talk Central and Mr Papa's World
Mr Papa said
the theme or other is still loading a copy of bootstrap in the footer...<script type='text/javascript' src='http://vapersplace.com/wp-content/themes/powermag/js/bootstrap.min.js?ver=2.0'></script>
which is well after jquery ui is loaded... That will cause problems... As discussed, its also loaded in the head before jquery ui... so just remove the second loading in the footer...
I dont think js/cs order matters...
I removed the second loading in the footer and it still doesn't work.
Well - perhaps a double check is the most sensible thing. If you could remove - briefly for testing - ALL calls to load the bootstrap JS and then try the attachment dialog it will perhaps show one way or the other if this is still the cause. I think you would need to disable cloudflare as well which always gets in the way of any proper testing.
YELLOW
SWORDFISH
|
Yellow Swordfish said
Well - perhaps a double check is the most sensible thing. If you could remove - briefly for testing - ALL calls to load the bootstrap JS and then try the attachment dialog it will perhaps show one way or the other if this is still the cause. I think you would need to disable cloudflare as well which always gets in the way of any proper testing.
When I remove all calls to bootstrap nothing works at all. The Add Topic and Add Reply buttons don't work so I can't open anything.
This is very frustrating. I sent a message to the theme creator and told him about this issue. His response was it was an issue with the plugin and he doesn't provide support for plugins.
He is wrong. There is nothing wrong with this plugin. I've tried 5 different themes and the upload button works on all of them. There is an issue with his theme and the jquery somewhere in his theme is interfering with the upload button.
I might just have to eat the $60.00 I paid for the theme and purchase another one
I thank you guys for your help. The both of you have always been very helpful and offer fantastic support.
Yes - Bootstrap is NOT a supported WordPress library and it is known to just stomp all over jQuery which is.
I have a few minutes spare at the moment if you want to email me a copy of the theme I could perhaps take a quick look - 'andy at simple-press dot com'.
YELLOW
SWORDFISH
|
Yellow Swordfish said
Yes - Bootstrap is NOT a supported WordPress library and it is known to just stomp all over jQuery which is.I have a few minutes spare at the moment if you want to email me a copy of the theme I could perhaps take a quick look - 'andy at simple-press dot com'.
e-mail sent. Thanks so much Andy.
All I did was find the wo_enqueue_script() call for Bootstrap.js in the theme code and change the end 'true' to 'false' so that it loaded in the header. Then in the forum admin > integration > page and permalink panel I ensured that the SP javascript was being loaded in the footer.
YELLOW
SWORDFISH
|
Yellow Swordfish said
All I did was find the wo_enqueue_script() call for Bootstrap.js in the theme code and change the end 'true' to 'false' so that it loaded in the header. Then in the forum admin > integration > page and permalink panel I ensured that the SP javascript was being loaded in the footer.
So change this:
wp_enqueue_script( 'bootstrap-js', get_template_directory_uri() . '/js/bootstrap.min.js', array( 'jquery' ), '2.0', true );
To this:
wp_enqueue_script( 'bootstrap-js', get_template_directory_uri() . '/js/bootstrap.min.js', array( 'jquery' ), '2.0', false );
1 Guest(s)