DEPRECATION WARNING

This documentation is not using the current rendering mechanism and is probably outdated. The extension maintainer should switch to the new system. Details on how to use the rendering mechanism can be found here.

powermail_timeframe

Author:Kasper Skårhøj
Created:2002-11-01T00:32:00
Changed by:Sebastian Baumann
Changed:2009-02-11T13:34:53.190000000
Classification:Extends powermail with timeframe function
Author:Sebastian Baumann
Email:sb@typo3erweiterungen.de
Info 3:
Info 4:

powermail_timeframe

Extension Key: powermail_timeframe

Copyright 2005-2008,

Sebastian Baumann,

<sb@typo3erweiterungen.de>

This document is published under the Open Content License

available from http://www.opencontent.org/opl.shtml

The content of this document is related to TYPO3

- a GNU/GPL CMS/Framework available from www.typo3.com

Table of Contents

powermail_timeframe 1

powermail_timeframe introduction 2

What does it do 2

Screenshots 3

Frontend: Example list 1 3

How to use 4

Step by step: 4

Changelog 6

Additional links 7

powermail_timeframe introduction

What does it do

Extend powermail from Alexander Kellner and Mischa Heissmann with timeframe functionality. You are now able to register for an hourly or daily event (out of several possibilities). After registration your choosen option is no longer available in the powermail form.

Screenshots

Frontend: Example list 1

img-1

How to use

Step by step:

  • Install powermail (see powermail manual for details)
  • Install powermail_timeframe
  • Create new powermail_timeframe records in an sysfolder:
    • Event: Event(s) for the timeframe
    • time: Timeframe belonging to an event
  • Define a powermail form
  • img-2 Add new field (typoscript) and use (e.g.) lib.object in this field
  • Add your typoscript in the setup field to fill lib.object (see example below) :

lib.object = COA_INT

lib.object {

10 = TEXT

10.value = <label for="uid44">Uhrzeit:</label>

20 = CONTENT

20.wrap = <select id="tx_powermail_pi1[uid44]" name="tx_powermail_pi1[uid44]" size="1">|</select>

20 {

table = tx_powermailtimeframe_time

select {

pidInList = 229

where = taken = 0

andWhere = event = 2

orderBy = time

}

renderObj = COA

renderObj {

10 = COA

10 {

10 = TEXT

10 {

field = time

wrap = <option value="|">

}

20 = TEXT

20 {

field = time

wrap = |</option>

}

}

}

}

}

Add in typoscript the following setup:

plugin.tx_powermail_pi1{

#uid of the powermail fiel

timeID = UID44

# id of timeframe event

eventID = 2

# use timeframe

timeframe = 1

}

Changelog

((generated))

2009-02-09 Sebastian Baumann <sb@typo3erweiterungen.de>

* initial release