1
jcweb
Strange problems with email user
  • 2012/5/1 18:06

  • jcweb

  • Quite a regular

  • Posts: 253

  • Since: 2005/4/25


Hi friends, i need help before i´m going frustrated ...

XOOPS 2.5.5 and here i will send email to users in the admin section. See the attached image what happend the the date picker (calendar). I think its a problem of the lang files, but i cannot find the error. If i switch to the english langauge all is ok, where should i search for (i which file)?

Thanks in andvance.
Andy

Resized Image

2
jcweb
Re: Strange problems with email user
  • 2012/5/1 23:48

  • jcweb

  • Quite a regular

  • Posts: 253

  • Since: 2005/4/25


Hi friends
After hours i found a solution, maybe quick, wrong or not but it works for the moment and i can go to bed.

Before, the problem, we need a german date (day.month.year) and not the american/english date (year/month/day). New in the lang file, here calendar.php is the define:

define("_CAL_FORMAT","Y-m-d");


In the german lang should it be:

define("_CAL_FORMAT","d.m.Y");


But this will not work, you see it in the screenshot, first posting. I found in the file /class/xoopsform/formtextdateselect.php in line 51:
$jstime formatTimestamp($ele_value_CAL_FORMAT);


For my understanding and in former XOOPs-Version it was:
$jstime formatTimestamp($ele_value'F j Y, H:i:s');


That will work for this time. Please help me out, i dont know where to find or search for this problem.

Greets Andy

3
guspel
Re: Strange problems with email user
  • 2012/5/15 3:08

  • guspel

  • Just popping in

  • Posts: 12

  • Since: 2012/2/25


Hi
In /class/xoopsform/formtextdateselect.php replace _CAL_FORMAT for _SHORTDATESTRING

In Spanish had the same problem and I solved this way.
I hope you will be useful

Bye

Login

Who's Online

166 user(s) are online (85 user(s) are browsing Support Forums)


Members: 0


Guests: 166


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Mar 31
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits