superbig/craft-pjax

This package is abandoned and no longer maintained. No replacement package was suggested.

Automagically return the headers and container that PJAX expects

Installs: 1 231

Dependents: 0

Suggesters: 0

Security: 0

Stars: 8

Watchers: 3

Forks: 0

Open Issues: 3

Type:craft-plugin

1.0.0 2018-02-21 14:23 UTC

This package is auto-updated.

Last update: 2022-07-14 19:31:23 UTC


README

Automagically return the headers and container that PJAX expects

Icon

Requirements

This plugin requires Craft CMS 3.0.0-beta.23 or later.

Installation

To install the plugin, follow these instructions.

  1. Open your terminal and go to your Craft project:

     cd /path/to/project
    
  2. Then tell Composer to load the plugin:

     composer require superbig/craft-pjax
    
  3. In the Control Panel, go to Settings → Plugins and click the “Install” button for PJAX.

PJAX Overview

pjax is a jQuery plugin that uses ajax and pushState to deliver a fast browsing experience with real permalinks, page titles, and a working back button.

pjax works by fetching HTML from your server via ajax and replacing the content of a container element on your page with the loaded HTML. It then updates the current URL in the browser using pushState.

Brought to you by Superbig