Resource icon

Standard Library by Xon 1.23.7

No permission to download
  • Fix custom date/time picker incorrectly setting the 'day' component of a date to the 'year' value.
  • Implement a custom date/time picker, with a custom input filter. Replacement for pikaday in XF2.2 no longer supporting a time component. Supports seconds (opt-out), and explicit time-zone selection.
    • XML:
      <xf:macro template="svStandardLib_helper_macros" name="date_time_input" arg-name="startTime" arg-timestamp="{$xf.time}" />
    • XML:
      <xf:macro template="svStandardLib_helper_macros" name="date_time_input_row" arg-label="{{ phrase('start_time') }}" arg-name="startTime" arg-timestamp="{$xf.time}" />
    • PHP:
      $timestamp = $this->filter('startTime', 'sv-datetime');
  • Add templater function which can reverse array/array collection
  • Fix possible MySQL 8.0+ collation error in renamePhrases
  • Add helper method for generating alias'ed classes to correctly support resolveExtendedClassToRoot function (used in controllers & entities)
  • When the installer is renaming things (phrases/options/etc), disable development file output as it can cause unexpected upgrade failures when the board is in dev mode
  • Fix typo in function name causing a templater error.
  • Add "replacevalue" templete filter used in a number of add-ons for implementing multi-select filter support
  • Add php 7 type hinting to various methods. Warning: this is a breaking change which cause site-disabling errors with older versions of the following add-ons;
  • Additional 3rd party add-ons may have conflicts, and they will require updating or rolling back this add-on. This add-on is a drop-in replacement after updating the namespace being imported
Back
Top Bottom