Because of the nature of downloading and uploading content with AnodyneXtras, it is not available on mobile devices. If you want to browse, search, and upload, please use a laptop or desktop computer.
You can also check out some of our other sites and services using the links below.
NOTE: Because of formatting issues on the Xtras site, this README may be better viewed at: https://github.com/jonmatterson/nova-ext-timepicker
This extension provides a helper for adding timepickers (using the jQuery Timepicker plugin) to input elements collecting time values. It is intended as a utility for extension writers, skin designers and sim manager comfortable with modifying Nova's view files, and it does not provide any changes to Nova on its own.
This extension requires:
Copy the entire directory into
Add the following to
$config['extensions']['enabled'] = 'timepicker';
The simplest way to enable a timepicker is simply to add
data-timepicker as an attribute on an element. This will initialize a jQuery.timepicker with no options.
To pass options, simply JSON-encode them (with escaped quotes) as the value of
data-timepicker such as:
These can also be written to be passed to the input helper such as:
array( 'name' => 'chronological_mission_post_time', 'id' => 'chronological_mission_post_time', 'data-timepicker' => str_replace('"', '"', json_encode([ 'timeFormat' => 'HHmm', 'defaultTime' => $post ? $post->post_chronological_mission_post_time : '0000' ])), 'value' => $post ? $post->post_chronological_mission_post_time : '0000' );