Working With The Manifest

The Manifest is an essential file when you are writing a phpPlugin. Its basic structure is below.

When submitting apps, only the Meta section needs to be filled out. All other sections are filled out by the Tonido Team. Generating content for the other sections may cause the Tonido Server to think your plugin is invalid, and it may remove it.

  <?xml version="1.0" encoding="UTF-8" ?>
  <TonidoManifest>
       <Meta>
              <Name>phpRansack</Name>
              <BaseURL></BaseURL>
              <HomePageURL>http://www.yoursupportdomain.com/tonido/phpRansack</HomePageURL>
              <Version>0.1.0.1</Version>
              <CompatibleVersion>\d+\.\d+\.\d+\.\d+</CompatibleVersion>
              <OS>Windows NT</OS>
              <OSVersion></OSVersion>
              <Arch>IA32</Arch>
              <Vendor>Toflidium Software - Toby Allen</Vendor>
              <Description>Very Basic Interface to Agent Ransack</Description>
              <Critical>false</Critical>
              <AppURL>dyn/phpRansack/index.php</AppURL>
              <Authentication>AUTH_ROLE_OWNER</Authentication>
      </Meta>
      <Files>
      </Files>
      <SharedLibraries />
  </TonidoManifest>
  

Name

Reasonably Self explanatory, indicates the name of your plugin that will appear in the list of plugins to install and in the treeview on the left.

HomePageURL

Url to a webpage for support/more info about the plugin. This is available from the Application List.

Version

Version of your plugin

Compatible Version

This is a regex description of valid versions. Version must be a quad version e.g. 1.0.0.0

OS

“Windows NT” and “Linux” (plug only) are currently supported by PHP. “Linux” is for the plug and for the Linux OS. “OSX” (need to verify this value).

OSVersion

Version number. Use quad versions e.g. 1.0.0.0

Arch

Use IA32 / 32 bit or 64 bit

Vendor

Name of Company or person publishing the plugin.

Description

Simple Description of your plugin, to appear in the plugin list.

Critical

Unknown use. Set to false.

AppURL

Tonido url to your plugin.

  dyn/nameofyourplugin/yourindexpage.php
  

Authentication

Who is allowed to connect to your plugin. Possible options are

  • AUTH_ROLE_OWNER
  • AUTH_ROLE_GUEST
  • AUTH_ROLE_ANONYMOUS