Extras catalogue

modAjaxify a simple ajax page loader

Latest release 8 years ago (March 16, 2018).

modajaxify

  • By halvid

About

The modAjaxify Extra automatically parses any (or selected) content links and ajaxifies them without destroying the actual link which makes it SEO friendly. That means that if the link is clicked the page will not be reloaded but the link will be loaded with ajax in a specific container (html element) as configured by the developer. Although if you open the link in a new tab it will load normally.

modAjaxify is mainly a jquery plugin which is strongly coupled with MODX Revolution. Nevertheless it can be used on its own as a plain jquery plugin.

The plugin has many options to control where and what to ajaxify and also events that signify the start/progress/end of loading which is very useful for creating loading spinners.

Another useful feature of the plugin is that is able to preload any content images before rendering the content in the target container.

Demo and documentation can be found here

Installation & usage

This Extra can be started with zero configuration just by placing the [[$ajaxifyInit]] in the head of the template.

The chunk contains also a demo spinner as a loading alert.

For information visit (this page is also an example of usage):

http://sofar.gr/modAjaxify-Documentation.html

For any bugs please report at info[at]sofar.gr

Dependencies

====================================

jquery

jquery.history.js

preloadjs-0.6.1.min.js

The Extra comes with an init chunk so you don’t have to worry about the dependencies. The chunk makes a jquery check to avoid any conflicts. We strongly recommend to check  the depended js libraries which are included by the chunk in case the create some kind of conflict with your code.

At a glance

MODX 3 compatibility unknown. Based on our testing and community reports where available.

  • Developer halvid
  • Latest release March 16, 2018 (8 years ago)
  • First seen in SiteDash March 16, 2018 (8 years ago)
  • License GPLv2
  • MODX support 2.4 – 100.0

Releases 2 indexed releases

Changelog
MODX.com

1.3.7-beta

March 16, 2018

8 years ago

<p>Changelog for modAjaxify MODx Revolution.</p><p>modAjaxify 0.8</p><p>====================================</p><p>- First beta version</p><p>Test it on Safari, Firefox, Internet Explorer, Android, iOS </p><p>2015.7.9 modAjaxify 1.0.0-beta</p><p>----------------------------------</p><p>-Added param for excluding links from been ajaxed based on the extention of the url. This takes care for links that include attachments</p><p>-Added jquery existance check</p><p>-Added sample css spiner</p><p>2015.9.24 modAjaxify 1.2.0-beta</p><p>----------------------------------</p><p>-Added handling for first page loading</p><p>-Added retina image preload</p><p>-Fixed bug regarding missing images in ajax loaded pages</p><p>-Fixed bug on links without href</p><p>2015.12.16 modAjaxify 1.3.0-beta</p><p>----------------------------------</p><p>-Bug fixed related to the automated activation of menu items. In some cases was failyng whenver full paths were used.</p><p>2015.12.24 modAjaxify 1.3.1-beta</p><p>----------------------------------</p><p>-Bug fixed for handler onSuccess, the 'this' reference was null now it refers to the container that will render the loaded content.</p><p>2016.1.7 modAjaxify 1.3.1-beta</p><p>----------------------------------</p><p>-Bug fixed for handling non-friendly urls</p><p>2016.2.9 modAjaxify 1.3.1-beta</p><p>----------------------------------</p><p>-Minor bug fixes</p><p>-Easy google analytics support</p><p>2016.6.24 modAjaxify 1.3.5-beta</p><p>----------------------------------</p><p>-Minor bug fixes concerning images with undefined src</p><p>-Added disable option for omiting forms during ajax calls</p><p>-Easy google analytics support</p><p>2016.12.29 modAjaxify 1.3.6-beta</p><p>----------------------------------</p><p>-Minor bug fixes concerning images with wrong src</p><p>-Changed name of demo chunk so that you will not loose any changes that you may have done in the previos instalation.</p><p>2018.3.16 modAjaxify 1.3.7-beta</p><p>----------------------------------</p><p>-Major bug fixe concerning jquery.history.js CDN</p><p>-Add image lazy loading capability with deticated small images as preloaders</p>
MODX.com

1.3.6-beta1

December 29, 2016

9 years ago

—

We've also seen 1 unverified version of modAjaxify a simple ajax page loader in use, but don't list those as we've been unable of confirming they are official releases from an official source.