Version 1 (modified by gogo, 5 weeks ago) (diff)


Installing Xinha

Run from External Server (CDN) without needing the PHP plugins

If you do not need the PHP backend requiring plugins (primarily, MootoolsFileManager? and Linker plugins) then you can run Xinha from an external server (or content delivery network), such as Xinha's s3 bucket. This is as shown in the NewbieGuide. No installation is necessary.

 <script type="text/javascript" src="//"></script>

Run from the Local Server (Full Local Install)

Download the Full Distribution and unzip it, place it somewhere on your server.

Now instead of pointing to the S3 url as the Newbie Guide shows, point at your "local" one...

 <script type="text/javascript" src="/path/to/Xinha/XinhaEasy.js"></script>

everything else is the same, you just change that one src="" path and you are done.

Remember to check permissions and so forth, open your browser's console and look for HTTP errors.

Run from External Server (CDN) but also use some local PHP plugins (Partial Local Install)

Download the CDN Distribution and unzip it, place it somewhere on your server.

The CDN distribution just contains examples, some "contrib" php and plugins which must be run locally on your own server.

Load Xinha as you would for the CDN but when it comes to loading those special plugins, tell Xinha where they are.

   <script src="//" type="text/javascript">
    xinha_options = 
      xinha_plugins:  [ 
         { from: '/xinha-cdn', load: ['MootoolsFileManager', 'Linker'] }
      // This is where you set the other default configuration globally
      xinha_config:            function(xinha_config) 
        // Configure the plugins as you normally would here (consult plugin documentation)