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.

EXT: Birthday List

Author:Kasper Skårhøj
Created:2002-11-01T00:32:00
Changed:2005-08-19T01:11:52
Author:Norman Seibert
Email:seibert@entios.de
Info 3:
Info 4:

EXT: Birthday List

Extension Key: eu_birthdays

Copyright 2000-2002, Norman Seibert, <seibert@entios.de>

http://www.entios.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

EXT: Birthday List 1

Introduction 1

Users manual 1

Configuration 1

Introduction

This extension inserts an additional field in the table “fe_users” to hold the person's birthday. Because of limitations when using a TYPO3 date field the field type is string (varchar).

The plugin part displays a list with FE-user who celebrated their birthday some days ago or will celebrate it the next days. The time spans for past and future birthdays can be configured in the page's template. User's names are linked to their profile, therefore the newloginbox extension must be installed.

Users manual

Insert a new content element of type “plugin” and choose “Birthday List”. Insert into the field “startingpoint” the page(s) containing your FE-users.

Configuration

Because the database field holding the birthday is of type varchar you don't have any validation on the field. You may choose your own format containing numeric parts for day and month and according separators (e.g. 1976-13-2, 13.2.1976, 2/13/76). Be sure to always use the same format!

Now modify the template if necessary. The parameter mysql_datedescribes the format you have chosen for saving birthdays (for the examples used above: %y-%m-%d, %d.%m.%y, %m/%d/%y).

Constants:

plugin.tx_eubirthdays_pi1.PIDFEuser = 368 # The PID of the page containing the

# newloginbox_pi3 element

Setup:

plugin.tx_eubirthdays_pi1 {

future = 10 # days

past = 7 # days

mysql_date = %d.%m.%y # date format used for input

date_stdWrap.strftime = %d.%m. # date format used for output

today_stdWrap.wrap = <b>|</b> # actual birthdays are marked

tableParams = border=0 cellpadding=2 cellspacing=0

append =

}

img-1 EXT: Birthday List - 2