J1.5

Difference between revisions of "Timezones parameter type"

From Joomla! Documentation

m (→‎See also: archiving articles with category removal and addition)
(Fix red link)
 
Line 15: Line 15:
 
<noinclude>
 
<noinclude>
 
=== See also ===
 
=== See also ===
* [[Standard parameter types|List of standard parameter types]]
+
* [[J1.5:Standard parameter types|List of standard parameter types]]
 
</noinclude>
 
</noinclude>
 
[[Category:Archived version Joomla! 1.5|{{PAGENAME}}]]
 
[[Category:Archived version Joomla! 1.5|{{PAGENAME}}]]

Latest revision as of 03:36, 11 June 2013

The "J1.5" namespace is an archived namespace. This page contains information for a Joomla! version which is no longer supported. It exists only as a historical reference, it will not be improved and its content may be incomplete and/or contain broken links.

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[edit]