WordPress.org

Support

Support » Plugins and Hacks » [Resolved] [Plugin: Advanced AJAX Page Loader] Key off $siteurl rather than $home in php file

[Resolved] [Plugin: Advanced AJAX Page Loader] Key off $siteurl rather than $home in php file

  • Hey Dean! Just came across an improvement. The php file is currently using the ‘home’ option to locate the files in the plugin directory. You probably want to use the ‘siteurl’ option instead, as the ‘home’ is the browser url and can be changed from the actual file location.

    I JUST launched my site so I changed ‘home’ to be the root production url and not the development dir anymore, the plugin stopped working and I tracked it down to that issue. Changed the php to use siteurl instead and all is well again.

    Check it out if youd like! http://whatthefestival.com . It is working great right now, we will see how it performs under a much higher load when we actually announce it in the morning. I have still noticed a few random Back button issues but I’m not too worried about it. and yes, I believe I’ve made all the changes in the latest version.

    I will be sending you a donation for all your hard work and your great plugin next week. Thanks again!

    – Matt D

    http://wordpress.org/extend/plugins/advanced-ajax-page-loader/

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Dean Williams

    @deano1987

    Hey! Thanks, I will change this now ready for a release tonight.

    I have already done some improvements to this area of the code today, changed all paths so it uses the WordPress plugins_url() function instead of a hard coded path which could be changed by the user.

    And also now the loading image doesn’t need to have dimensions defined (that was stupid) AND it now successfully gets pre-loaded and kept in browser memory (I load it into a hidden area on the page).

    this and the # link fixes :p

    Plugin Author Dean Williams

    @deano1987

    Release now has these recommendations implemented, thanks for the heads up 😉

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘[Resolved] [Plugin: Advanced AJAX Page Loader] Key off $siteurl rather than $home in php file’ is closed to new replies.