Powermail Datumsfehler

  • 0 x
    15 Beiträge
    0 Hilfreiche Beiträge
    27. 09. 2011, 11:48

    Hallo,

    ich habe in meinem Powermail-Formular zwei Datumsfelder. Ich kann im sich öffnenden Kalender dann ein Datum auswählen welches auch richtig angezeigt wird.

    [b]27.09.2011[/b]

    habe ich alle Felder ausgewählt und gehe weiter auf die Bestätigungsseite steht beim Datum dort.

    2011.09.[b]26[/b] :o

    also nicht bloß das Englische Format sondern 1 Tag früher als ich ausgewählt habe.

    Wer kann zu diesem Fehler etwas sagen und wie bekomme ich das deutsche Format auf der Bestätigungsseite.

    Habe per TS schon

    1. plugin.tx_powermail_pi1.format.datetime = %d.%m.%Y %H:%M
    2.  
    3. plugin.tx_powermail_pi1.format.date = %d.%m.%Y

    eingefügt, ändert aber nichts.

    Danke


  • 1
  • 0 x
    63 Beiträge
    0 Hilfreiche Beiträge
    27. 09. 2011, 16:34

    könntest du vlt einen screenshot posten?

    ich denke das würde das problem verdeutlichen ;)

  • 0 x
    15 Beiträge
    0 Hilfreiche Beiträge
    27. 09. 2011, 18:50

    [url=]www.heidlersocceracademy.de/hsa/1.jpg[/url]

    Ich hoffe das hilf weiter.

    Danke

  • 0 x
    63 Beiträge
    0 Hilfreiche Beiträge
    28. 09. 2011, 10:21

    1. recipient_mail {
    2. # manipulate values related to its fieldtype (text, textarea, select, check, radio, date, etc...)
    3. date {
    4. strftime = {$plugin.powermail.format.date}
    5. }
    6.  
    7. datetime = TEXT
    8. datetime {
    9. field = datetime
    10. strftime = {$plugin.powermail.format.datetime}
    11. }
    12.  
    13. # Example to manipulate field with uid 999
    14. # uid999 = TEXT
    15. # uid999.field = uid999
    16. # uid999.wrap = <b>|</b>
    17. }
    18.  
    19. # Manipulation of values for email to sender (confirmation mail)
    20. sender_mail {
    21. # manipulate values related to its fieldtype (text, textarea, select, check, radio, date, etc...)
    22. date {
    23. strftime = {$plugin.powermail.format.date}
    24. }
    25.  
    26. datetime = TEXT
    27. datetime {
    28. field = datetime
    29. strftime = {$plugin.powermail.format.datetime}
    30. }
    31.  
    32. # Example to manipulate field with uid 999
    33. # uid999 = TEXT
    34. # uid999.field = uid999
    35. # uid999.wrap = <b>|</b>
    36. }
    37.  
    38. # Manipulation of values for email to sender (confirmation mail)
    39. thx {
    40. # manipulate values related to its fieldtype (text, textarea, select, check, radio, date, etc...)
    41. date {
    42. strftime = {$plugin.powermail.format.date}
    43. }
    44.  
    45. datetime = TEXT
    46. datetime {
    47. field = datetime
    48. strftime = {$plugin.powermail.format.datetime}
    49. }
    50.  
    51. # Example to manipulate field with uid 999
    52. # uid999 = TEXT
    53. # uid999.field = uid999
    54. # uid999.wrap = <b>|</b>
    55. }
    56.  
    57. # Manipulation of values for email to sender (confirmation mail)
    58. confirmation {
    59. # manipulate values related to its fieldtype (text, textarea, select, check, radio, date, etc...)
    60. date {
    61. strftime = {$plugin.powermail.format.date}
    62. }
    63.  
    64. datetime = TEXT
    65. datetime {
    66. field = datetime
    67. strftime = {$plugin.powermail.format.datetime}
    68. }
    69.  
    70. # Example to manipulate field with uid 999
    71. # uid999 = TEXT
    72. # uid999.field = uid999
    73. # uid999.wrap = <b>|</b>
    74. }
    75.  
    76. # Manipulation of values for email to sender (confirmation mail)
    77. mandatory {
    78. # manipulate values related to its fieldtype (text, textarea, select, check, radio, date, etc...)
    79. date {
    80. strftime = {$plugin.powermail.format.date}
    81. }
    82.  
    83. datetime = TEXT
    84. datetime {
    85. field = datetime
    86. strftime = {$plugin.powermail.format.datetime}
    87. }

    sieht das bei dir im ts powermail_setup auch so aus?

    ausserdem sollte es im powermail_const.ts so aussehen:

    1. format.datetime = %Y-%m-%d %H:%M
    2.  
    3.  
    4. format.date = %Y-%m-%d

  • 0 x
    15 Beiträge
    0 Hilfreiche Beiträge
    28. 09. 2011, 11:15

    Hallo,

    danke für Deine Hilfe. Das einzige was ich an TS für Powermail habe befindet sich bei mir im PageSetup und ist

    1. #POWERMAIL DEUTSCHES DATUM
    2. plugin.powermail {
    3. clear.session = 1
    4. format.datetime = %d.%m.%Y %H:%M
    5. format.date = %d.%m.%Y
    6. }

    Wo muß ich denn die von Dir gepostenten Sachen reinschreiben bzw wo finde ich das um es mit Deinem Cod zu vergleichen.

    Danke:o

  • 0 x
    15 Beiträge
    0 Hilfreiche Beiträge
    28. 09. 2011, 14:50

    Hallo,

    ich hab´s teilweise.#angry#
    Habe im Konstanteneditor das falsche Format drin gehabt. Jetzt wird das Datum deutsch angezeigt. Allerdings besteht immer noch der Fehler, dass das Datum um einen Tag zurück gesetzt wird. ??

    Kennt jemand eine Lösung

  • 0 x
    63 Beiträge
    0 Hilfreiche Beiträge
    28. 09. 2011, 16:10

    ich weiss nicht wie es bei dir aussieht aber bei mir ist es: /fileadmin/templates/ts/extensions

    fals es den pfad ei dir nicht gibt kuck mal unter /templates/ts/extensions

    schau mal ob die files da noch richtig sind, lönnt ja sein dass du vlt was dran rumgeschraubt hast? ;)

  • 0 x
    15 Beiträge
    0 Hilfreiche Beiträge
    28. 09. 2011, 16:34

    Nein die hab ich nicht, wie heißen die genau, ich erstell sie mir dann und kopier sie auf den Server wohin dürfte ja egal sein. Aber wie binde ich Sie ein damit Powermail mit ihnen arbeitet?

  • 1