Skip to content

v2.0 - Core Snippets

Latest
Compare
Choose a tag to compare
@daftspunk daftspunk released this 07 Jul 03:45
· 26 commits to master since this release

This makes the Pages plugin compatible with the native snippets feature included in October CMS v3.4. This upgrade is optional but recommended since it carries the October CMS team's high-quality support.

Note: The Pages plugin v1.5.10 contains code that includes forward compatibility with October CMS v3.4.

October CMS Version Pages Version
1.0, 1.1, 2.0, 2.1, 2.2, 3.0, 3.1, 3.2, 3.3 1.x
3.4 2.x

Upgrade Guide: You can receive this upgrade by changing the following dependencies in your application's composer.json file:

  • rainlab/pages-plugin to ^2.0

A minor change is needed for the latest version to enable AJAX handlers used in snippets. ​This attribute is automatically added to the tag for new snippets that have this feature configured. Old snippets need to have the attribute added by hand.

  • Add the data-ajax="true" attribute to the <figure> tag to enable AJAX handlers.

The documentation mentions how to configure components for AJAX-enabled snippets.