Skip to the content
Documentation
Help Start
Reading in:
  • German: 9,059 of 9,059 pages
About the help in other languages
All help pages

birthday: a birthday datatype

This page is for site builders who store people's dates of birth. birthday ("eZ Birthday") provides the datatype ezbirthday. It stores a date of birth so that it can be sorted and searched, and ships the usual class and…

Download as PDF

Address: https://doc.exponential.earth/exphelp/viewer/features/6.0/extensions/birthday.md

On this page

birthday: a birthday datatype

This page is for site builders who store people's dates of birth. birthday ("eZ Birthday") provides the datatype ezbirthday. It stores a date of birth so that it can be sorted and searched, and ships the usual class and object edit and view templates.

It also registers an export handler, eZBirthdayCsvHandler, in csv.ini. The export tool xrowextract uses it.

Use it

  1. Activate the extension.
  2. Edit a content class (Setup > Classes) and add an attribute of the birthday datatype.
  3. Edit an object of that class and enter a date of birth.

What changed

VersionDateChange
1.3.028 January 2024Package vendor.
1.3.114 September 2026The CSV export handler no longer ends any request that loads it (see below).
1.3.22 October 2026ezinfo.php, which the extension lacked, was added and extension.xml corrected, so the about page lists it.
1.3.621 October 2026PHP 8.0 to 8.5 clean; the class default is shown correctly; the collection form preselects the date; stricter validation; a labelled admin4 edit template; doc/birthday.md in the extension and DB-less tests. See Storing a date of birth.

About 1.3.1: eZBirthdayCsvHandler extended the base handler of bccie, which declares exportAttribute( &$attribute, $separationChar ), while the export tool calls exportAttribute( $attribute ) with one argument. The declaration was incompatible with its parent, and PHP refused the class the moment anything autoloaded it: the request ended. The class now extends XrowBaseHandler, like every other handler registered through that INI file. The value still comes from data_text, because objectAttributeContent() returns an eZBirthday object.

Languages

The extension carries translation files in translations/<locale>/translation.ts: fre-FR, ger-DE and nor-NO. The German file holds 24 messages (count <message in translations/ger-DE/translation.ts). The texts are looked up in the contexts design/standard/class/datatype, design/standard/content/datatype and kernel/classes/datatypes.

After editing a translation file:

  1. Refresh the compiled translation cache: ./console exp:ezgeneratetranslationcache.
  2. Clear the template and content caches.

./console exp:ezchecktranslation ger-DE prints statistics of the kernel's share/translations/ger-DE/translation.ts, not of this extension's file.

Become an Exponential Partner

Partners share their information, provide funding, contribute back and develop the products with us, and that is how Exponential grows. A partner website and dashboard are planned for mid-2027: please become a partner today to speed up our growth rate and land new features faster.

Something wrong on this page? Report an error

Documentation license

This documentation is free documentation, licensed under the GNU Free Documentation License 1.3 or later.

Exponential Copyright © 1998-2026 Exponential Foundation and 7x