source: trunk/examples/index.html @ 1421

Last change on this file since 1421 was 1421, checked in by gogo, 3 years ago

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/ 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.

File size: 1.4 KB
2  <body>
3    <h1>Xinha Examples</h1>
4    <p>These are the current examples for using Xinha, these demonstrate "the way" to use Xinha.</p>
5    <ul>
6      <li><a href="OneLine.html">One Line To Xinha (Zero Configuration)</a></li>
7      <li><a href="Newbie.html">Xinha Complete Example (Best For Newbies)</a></li>
8      <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>     
10    </ul>
12    <h2>Experimenting and Testing</h2>
13    <p>These examples are mostly for testing out the plugins and used during development of Xinha, they don't necessarily follow "the way" to use Xinha in your own code.</p>
15    <ul>
16      <li><a href="ExtendedDemo.html">Extended Demo (Requires PHP)</a></li>           
17      <li><a href="testbed.php">General Testbed</a></li>
18    </ul>
20    <h2>Old Style Examples</h2>
21    <p>These examples follow some older initialisation styles for Xinha, they still work fine and you can do it this way if you like (or have existing code that does), but it's probably easier to use the first three examples above to base your work on.</p>
22    <ul>
23      <li><a href="Old_Newbie_Guide/simple_example.html">Simple Demo</a> (Lower Level Initialisation Example)</li>
24      <li><a href="Old_Newbie_Guide/Newbie.html">Old Newbie Guide Example</a> (Better to see Easy Example above)</li>
25    </ul>
26  </body>
Note: See TracBrowser for help on using the repository browser.