eZ XML Installer

UNIX name Owner Status
ezxmlinstaller Paul Borgermans stable
Version Compatible with
0.1.5 >= 4.0.x

The eZ XML Installer extension is a platform to define processes for eZ Publish and execute them.
Processes will be defined in XML. Each action is bundled to a handler which will process this action.

Introduction

The XML can be provided as completed XML or as eZ Publish Template.
This template can contain a set of variables which will the user be ask for before the processes will be executed.
The XML is a set of actions. Each action is bundled to a handler which will process this action.
The set of handlers can be extended by custom handers.

Handler

Th following handler are implemented

  • ezaddlocation
    Add a new location of an object
  • ezassignroles
    Assign a role to a user/group with or without limitations
  • ezcreateclass
    Create a new class
  • ezcreatecontent
    Create various content
  • ezcreaterole
    Create roles
  • ezcreatesection
    Create sections
  • ezcreateworkflow
    Create workflows and assign workflows to trigger
  • ezhideunhide
    Hide/Show content
  • ezmodifycontent
    Modify existing content
  • ezproccessinformation
    Display information texts during processing
  • ezsendemail
    Send an email
  • ezsetsettings
    Modify settings

Features

The extension is a set of some possibilities to use the XML processing.

Process by module

The frontend interface is planned, but not implemented yet.

Process by workflow

This is currently very limited. A datatype is shipped with this extension which will parse a given template (defined in class) for a list of features. While creating/editing an object this features can be selected via checkbox. The workflow will now install/uninstall selected features.

It is planned to make this more flexible and to have the possibility to define various information via the datatype and forward these information to the template where some logic can be implemented.

Process by console

One way to use the XML processor is to use the console tool. A template will be provided via argument. All needed information are requested. After that the template will be parsed and processed.

Example XML










internal:SECTION_XY









New member
All new member
0








In this example a new section will be created. Then a new role which allows user to read content of the new section. After that a new user group will be created. Last step is to assign the new role to the new group.

This project has no reviews yet. Be the first one to review it!