• 1

Read this first!

We do not monitor these forums. The forum is provided to exchange information and experience with other users ONLY. Forum responses are not guaranteed.

However, please submit a ticket if you have an active subscription and wish to receive support. Our ticketing system is the only way of getting in touch with RSJoomla! and receiving the official RSJoomla! Customer Support.

For more information, the Support Policy is located here.

Thank you!

TOPIC: Problem with the PopUp Calender

Problem with the PopUp Calender 16 years 1 month ago #6781

Hello,
first my english is very bad but i do my best!

I will make a datefield with the popup calender. But iif i drop on a date on the calender the field fill with "pm.03.jjjj". Thats not okay.

A Warning came too: Warning: constant() [function.constant]: Couldn't find constant _RSFORM_BACKEND_COMP_FIELD_CALENDARLAYOUT in sitename/administrator/components/com_rsform/admin.rsform.php on line 756

I need help ;-)

Thanks

Mike
The administrator has disabled public write access.

Re:Problem with the PopUp Calender 15 years 11 months ago #7242

  • Embryon
  • Embryon's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 1
Hi Micheal,

The date only works in english. So if you want the results to say :

Month, Day and Year put mm.dd.yyyy

in the French translation file it has been translated to jj.mm.aaaa
if you use it like that only the month shows up because month and «mois» both uses the letter «m»


=============

Bonjour Micheal,

La personne qui a traduit le composant n'aurait pas du changer les lettres utilisées pour décrire la date. Pour que le choix s'affiche correctement il faut utiliser les lettres en anglais qui correspondent aux mots anglais pour mois (month), jour (day) et année (year).

Donc tu peux sois changer le fichier de langue pour avoir toujours les bonnes lettres ou le faire manuellement à chaque fois. La ligne de code à changer est dans le fichier : /components/com_rsform/languages/french.php

Repère la section suivante et change «jj» pour «dd» et «aaaa» pour «yyyy»
//BACKEND COMPONENT_FIELD_VALUES
DEFINE('_RSFORM_BACKEND_COMP_FVALUE_NO','Non');
DEFINE('_RSFORM_BACKEND_COMP_FVALUE_YES','Oui');
DEFINE('_RSFORM_BACKEND_COMP_FVALUE_INVALIDINPUT','Donnée Invalide');
DEFINE('_RSFORM_BACKEND_COMP_FVALUE_HORIZONTAL','Horizontal');
DEFINE('_RSFORM_BACKEND_COMP_FVALUE_VERTICAL','Vertical');
DEFINE('_RSFORM_BACKEND_COMP_FVALUE_DDMMYYYY','jj.mm.aaaa');

J'espère que cela peut t'aider concernant les dates.
Last Edit: 15 years 11 months ago by Embryon.
The administrator has disabled public write access.
  • 1

Read this first!

We do not monitor these forums. The forum is provided to exchange information and experience with other users ONLY. Forum responses are not guaranteed.

However, please submit a ticket if you have an active subscription and wish to receive support. Our ticketing system is the only way of getting in touch with RSJoomla! and receiving the official RSJoomla! Customer Support.

For more information, the Support Policy is located here.

Thank you!