DokuWiki

It's better when it's simple

User Tools

Site Tools


plugin:pxxo

Pxxo plugin

Compatible with DokuWiki

No compatibility info given!

plugin Allows you to include pxxo's widgets into the current page.

Last updated on
2008-03-26
Provides
Syntax, Action

Tagged with embed

Attention: currently the pxxo documentation is only written in french. However it exists an overview written in English.

Dependencies

You need several PEAR packages:

  • XML_Serializer : this package is used internally to parse the parameters array
    pear install --force -a XML_Serializer
  • Pxxo :
    pear channel-discover pear.pxxo.net
    pear install pxxo/Pxxo
    pear install pxxo/Pxxo_Widget_Message
  • All the pxxo's widgets you need… Example :
    pear install pxxo/Pxxo_Widget_HelloWorld

Description

To use the plugin you have to insert the following code in your DokuWiki page:

<pxxo widget="Pxxo_Widget_HelloWorld">
  <params>
    <montexte>Bla bla bla</montexte>
    <theme>blue</theme>
  </params>
</pxxo>

This will instantiate the HelloWorld widget in your page using the 'blue' theme with a 'Bla bla bla' value for the 'montexte' parameter.

The parameters description must be written in XML and must be understood by XML_Unserializer. For advanced example, please have a look to the french pxxo plugin documentation.

plugin/pxxo.txt · Last modified: 2010/10/09 19:00 by gturri