Opened 5 years ago

Last modified 2 years ago

#922 new Erweiterung

datetimepicker

Reported by: webald Owned by: somebody
Priority: normal Milestone: modified-shop-2.1.0.0
Component: Admin Version: 2.0.0.0

Description (last modified by Tomcraft)

Uhrzeit eingeben

zu ändern:
admin\includes\modules\categories_specials.php(Zeile 144)
admin\includes\modules\categories_specials.php(148)
admin\specials.php(232)
admin\specials.php(237)
admin\includes\modules\new_product.php(109)

anbei neue Version der admin/includes/javascript/jQueryDateTimePicker/datepicker.js.php

Attachments (1)

datepicker.js.php (2.8 KB) - added by webald 5 years ago.

Download all attachments as: .zip

Change History (9)

Changed 5 years ago by webald

comment:1 Changed 5 years ago by Tomcraft

  • Description modified (diff)

comment:2 Changed 5 years ago by web28

Man benötigt keine Änderungen in der datepicker.js.php.

Wenn Datei includet ist, kann man danach beliebige eigene Datepicker per jQuery inizialisieren oder die bereits vorhandenen anpassen z.B mit diesem Code in admin/includes/extra/application_bottom/custom_datapicker.php

<script type="text/javascript">
  $(document).ready(function(){
    // specials
    $('#DatepickerSpecials').datetimepicker({
      dayOfWeekStart:1,
      timepicker:true, 
      format:'Y-m-d H:i'
    });
    $('#DatepickerSpecialsStart').datetimepicker({
      dayOfWeekStart:1,
      timepicker:true, 
      format:'Y-m-d H:i'
    });  
    // product
    $('#DatepickerProduct').datetimepicker({
      dayOfWeekStart:1,
      timepicker:true, 
      format:'Y-m-d H:i'
    });
  });
</script>


Damit werden dann die Uhrzeiten hinzugefügt

Die möglichen Optionen findet man hier:

http://xdsoft.net/jqplugins/datetimepicker/

Da noch unklar ist ob die Uhrzeiten auch korrekt gespeichert werden bleibt das Ticket erst einmal noch offen

comment:3 Changed 5 years ago by Tomcraft

  • Milestone changed from modified-shop-2.0.1.0 to modified-shop-2.0.1.1

comment:4 Changed 4 years ago by Tomcraft

  • Milestone changed from modified-shop-2.0.2.0 to modified-shop-2.0.2.1

comment:5 Changed 4 years ago by Tomcraft

  • Milestone changed from modified-shop-2.0.2.1 to modified-shop-2.1.0.0

comment:6 Changed 4 years ago by Tomcraft

  • Milestone changed from modified-shop-2.1.0.0 to modified-shop-2.0.4.0

comment:7 Changed 3 years ago by Tomcraft

  • Milestone modified-shop-2.0.5.0 deleted

comment:8 Changed 2 years ago by GTB

  • Milestone set to modified-shop-2.1.0.0

Add Comment

Modify Ticket

Action
as new
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.