Actions

J1.5

Difference between revisions of "Timezones parameter type"

From Joomla! Documentation

m (JoomlaWikiBot moved page Timezones parameter type to J1.5:Timezones parameter type without leaving a redirect: moving to archived namespace)
m (See also: archiving articles with category removal and addition)
Line 16: Line 16:
 
=== See also ===
 
=== See also ===
 
* [[Standard parameter types|List of standard parameter types]]
 
* [[Standard parameter types|List of standard parameter types]]
[[Category:Standard parameter types]]</noinclude>
+
</noinclude>
 +
[[Category:Archived version Joomla! 1.5|{{PAGENAME}}]]

Revision as of 08:42, 30 April 2013

Replacement filing cabinet.png
This Namespace has been archived - Please Do Not Edit or Create Pages in this namespace. Pages contain information for a Joomla! version which is no longer supported. It exists only as a historical reference, will not be improved and its content may be incomplete.
Params.timezones.jpg

The timezones parameter type provides a drop down list of time zones. If the parameter has a value saved, this value is displayed when the page is first loaded. If not, the default value (if any) is selected.

  • type (mandatory) must be timezones.
  • name (mandatory) is the unique name of the parameter.
  • label (mandatory) (translatable) is the descriptive title of the field.
  • default (optional) (translatable) is the default time zone. For example, use '-10' for '(UTC -10:00) Hawaii'.
  • description (optional) (translatable) is text that will be shown as a tooltip when the user moves the mouse over the drop-down box.

Example XML parameter definition:

<param name="mytimezone" type="timezones" default="-10" label="Select a timezone" description="" />

See also