This topic has 9 replies, 4 voices, and was last updated 9 years, 11 months ago by Anonymous.
Viewing 10 posts - 1 through 10 (of 10 total)
I’m having an issue with AJAXIFY. I have other plugins that when I go from page to page the plugins don’t seem to load. But if I turn off AJAXIFY everything loads great. The problem is, the PLAYER bar doesn’t keep playing now.
What can I do to fix this?
Note: Using the theme ajaxified option will not give compatibility for some plugins. we would recommend to use non ajaxified option to make work with third party plugins. So kindly disable ajaxify to make the player work.
Disabling ajaxified will have to reload the full page which causes radio to reload the page. If ajax is enabled then then page will load only the portion of the content area without refreshing the player part and header part of the page.
Most plugins I have tried with the ajax enabled don’t work.
What’s the point in loading pages with ajax if plugins won’t work or show up.
I have had the exact same problem when ajax is enabled, including the player
will refresh with the pages if you don’t enable ajax, it’s just not fully ajaxified.
Is there not a way to implement ajax so plugins will function with ajax?
That would be a perfect soution.
Not all the plugins will work with ajaxified option and we have mentioned that in the item details page as well. Some plugin developers will create a callback function if required.
We are using https://wordpress.org/plugins/ajaxify-wordpress-site/ for the ajaxified option. To work with every plugin you use then you have to use the plugins callback function and modify in ajaxify.js file which is located in musicplay/js/ folder.
The script will look like this where it contains a support for the buddypress plugin.
// Add the scripts
$scripts.each(function(){
var scriptText = $(this).html();
if ( '' != scriptText ) {
scriptNode = document.createElement('script');
scriptNode.appendChild(document.createTextNode(scriptText));
contentNode.appendChild(scriptNode);
} else {
$.getScript( $(this).attr('src') );
}
});
// BuddyPress Support
if ( aws_data['bp_status'] ) {
$.getScript(rootUrl + '/wp-content/plugins/buddypress/bp-templates/bp-legacy/js/buddypress.js');
}
$body.removeClass('loading');
I see.. I need to learn more about this, action hooks..
Maybe stupid question, but where are the call back functions, if they exist?
You have to ask the plugin author for its callback function. You have to mention that your site is not working on ajaxified function.
Viewing 10 posts - 1 through 10 (of 10 total)
You must be logged in to reply to this topic.