Login / Status
developer.Resource
Home . Documentation . Document Library . Extension Manuals
Sponsors
hosted by punkt.deTYPO3 and Open Source Magazine

1.4. Configuration

  • Installing the Abile Tickets extension should be an easy task. From the extension manager, go to “Import extensions from online repository” and enter the key “abile_tickets”.  The extension will be registered as a frontend plugin. To insert the plugins inside a page, create a new content in the page and select the ticket plugin from the plugin section. Next is to define the page in which the tickets' categories will be stored. Set the “Startingpoint” to this page.

  • You may control the display of the extension. This is achieved by overwriting the default TSconfig properties, overwriting the stylesheet or unseting the current one, and providing your own templates. Exemples of how you can overwrite the Tsconfig are presented in the Reference page.

  • Templates

    The extension makes use of the Smarty template engine. This is a geat way to seprate the logic from the display. Furthermore, it aims at helping you to develop your very own templates. In order to so so, you must configure the location of the directory were you will prepare the templates. This is achieve through the “templatesDir” property. In this directory, you must create to new directories called “templates” and “templates_c”. In the new “templates” directory, you must insert the three templates “editScreen.tpl”, “listScreen.tpl” and “viewScreen.tpl”. The “templates_c” directory is used by Smarty as a cache folder and must be writable. You'll find the default templates directory at the root of the Abile Tickets extension.

FAQ

  • Please post your questions and we'll put them in the FAQ one after the others.

Reference

- TypoScript

Property:

Data type:

Description:

Default:

templatesDir

string

Base directory where lies your Smarty templates and templates_c directories.

listView.results_at_a_time

integer

Number of results to display.

10

listView.maxPages

integer

Number of pages to browse from. An odd value will be better displayed.

5

email.sendEmailOnCreation

boolean

Should we send an summary email to the user after he created a ticket

1

email.HTMLMail

boolean

Wether or not we should send HTML based templates

1

email.from

string

The address of the email sender

email.fromName

string

The name of the email sender

email.organization

string

The name of your company

[tsref:tx_abiletickets_pi1]

Property:

Data type:

Description:

Default:

templatesDir

string

Base directory where lies your Smarty templates and templates_c directories.

listView.results_at_a_time

integer

Number of results to display.

10

listView.maxPages

integer

Number of pages to browse from. An odd value will be better displayed.

5

email.sendEmailOnReply

boolean

Should we send an email to notify the user that he recieved a ticket

1

email.HTMLMail

boolean

Wether or not we should send HTML based templates

1

email.from

string

The address of the email sender

email.fromName

string

The name of the email sender

email.organization

string

The name of your company

[tsref:tx_abiletickets_pi2]

Minimum example

plugin.tx_abiletickets_pi1{ #address of the email sender email.from #name of the email sender email.fromName #organization of the email sender email.organization}
plugin.tx_abiletickets_pi2{ #address of the email sender email.from #name of the email sender email.fromName #organization of the email sender email.organization}

Full exemple

plugin.tx_abiletickets_pi1{ #location of the template and template_c  Smarty templates templatesDir =  #number of results to display listView.results_at_a_time = 10 #number of pages to browse from listView.maxPages = 5 #Should we send an email to notify the user that he recieved a ticket
 email.sendEmailOnCreation = 1
 #Should we send an summary email to the user after he created a ticket email.HTMLMail = 1 #address of the email sender email.from #name of the email sender email.fromName #organization of the email sender email.organization}
plugin.tx_abiletickets_pi2{ #location of the template and template_c  Smarty templates templatesDir =  #number of results to display listView.results_at_a_time = 10 #number of pages to browse from listView.maxPages = 5 #Should we send an email to notify the user that he recieved a ticket
 email.sendEmailOnReply = 1
 #Wether or not we should send HTML based templates email.HTMLMail = 1 #address of the email sender email.from #name of the email sender email.fromName #organization of the email sender email.organization}

Notes, those properties are editable from the constant editor.