Path

ez projects / datatype:_ezcountry


Datatype: eZCountry

UNIX name Owner Status Version Compatible with
datatype:_ezcountry oldcontribs_import oldcontribs_import stable N/A N/A

A new property for your classes - Country. Presents the creator of a
new object with a SELECT box containing countries

Provides 'Country' as a class/object property.
This is the very first version - it does not store countries as keys -
rather as literal text strings (it stores 'Slovakia' not 'SK')-
dynamic translation is therefore NOT possible and it is not the ideal
solution for a country datatype.
However it is sufficient for a monolingual site - if you want to translate
it have a look at the file
/design/templates/content/datatypes/edit/ezcountry_options.tpl
If you want to fix this class so that it stores keys I've provided
/design/templates/content/datatypes/edit/ezcountry_options.with.keys.tpl
to help you out. This file is NOT used by this class - but it could
be :)
esm[at]baseclass[dot]modulweb[dot]dk
WARNING: I have not tested this class for use as an Information Collector

Screenshot

No news yet.

This project has no reviews yet. Be the first one to review it!

No forum messages yet.