Skip to content
a plugin for Jelix or Castor to render show differences between two content in a template
PHP
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
lib
plugins/tpl/html
.gitattributes
.gitignore
LICENCE
README.md
VERSION
composer.json

README.md

This is a plugin for jTpl or Castor, the template engine used by Jelix.

This plugin allows to show differences between two contents in a template.

This plugin is for Jelix 1.7.x and higher. See the jelix/jelix repository to see its history before Jelix 1.7.

installation

Install it by hands like any other Jelix plugins, or use Composer if you installed Jelix 1.7+ with Composer.

In your project:

composer require "jelix/diff-plugin:1.7.0"

Usage in a template:

 <div>
    {diff $firstcontent, $secondcontent}
 </div>

See Jelix manual for more examples.

You can’t perform that action at this time.