Changeset 1421 for trunk/examples


Ignore:
Timestamp:
02/23/18 11:59:35 (20 months ago)
Author:
gogo
Message:

Add support for using external plugins with XinhaEasy.js and add Xinha.pluginManifest to describe location of built in plugins (and modules) without needing to "ping" them.

The pluginManifest can be generated by bash script contrib/generate-plugin-manifest.sh and should be done and updated before release.

For external/custom plugins when using XinhaEasy.js simply set the xinha_plugins option thusly...

xinha_plugins: [ 'BuiltInPlugin1', { from: '/path/to/custom/plugins', load: 'CustomPlugin1' } ]

It works even for the PHP plugins, MootoolsFileManager? and Linker when using Xinha from a CDN etc, as long of course as they have the contrib php-xinha.php available to them.

Location:
trunk/examples
Files:
4 added
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/examples/index.html

    r1409 r1421  
    77      <li><a href="Newbie.html">Xinha Complete Example (Best For Newbies)</a></li>  
    88      <li><a href="UsingPhpPlugins.php">Image Uploading and Link Browsing Demo (Requires PHP)</a></li>       
     9      <li><a href="CustomPlugins.html">Custom Plugins Example</a></li>       
    910    </ul> 
    1011     
Note: See TracChangeset for help on using the changeset viewer.