Skip to content
This repository was archived by the owner on May 28, 2019. It is now read-only.

Configuring a Service

Johan Strydom edited this page May 31, 2013 · 6 revisions

Once the Service is developed it needs to be configured and tested.

Navigate to the /conf folder and create a file called myservice.conf.xml.

The file do not have to be the name of the service since the configuration will specify what service is being used. It is thus possible to have different aliases of a specific service.

The Configuration File

<?xml version="1.0" encoding="UTF-8"?><services>

<service name="print" primary="true">

<title>Home</title>

<description>Default Home Configuration</description>

<layout id="main" node="article" />

<parameters>

<parameter name="view" value="blog" />

</parameters>

</service>

<service name="print">

<layout id="header" node="header" />

<parameters>

<parameter name="view" value="header" />

</parameters>

</service>

<service name="print">

<layout id="footer" node="footer" />

<parameters>

<parameter name="view" value="footer" />

</parameters>

</service>

</services>

Fun thing to do. See if you can display different text using the print service according to paramaters passed to get.

Table of contents

Introduction

Installation and Configuration

Predefined Constants and Globals

Creating a Layout

Creating a Theme

Creating a Service

Configuring a Service

Clone this wiki locally