Notice

The forum is in read only mode.

Support Forum

Welcome! Support Forums have been reactivated
Welcome the Technical Support section. Help us in assisting you by providing us with a concise and descriptive elaboration of your issues. Be specific and if possible, provide us with a step-by-step instruction in replicating your problem.

Date field min-max issue

10 years 9 months ago
Licenses:
JomSocial Active

ISSUE SUMMARY:
There are 2 issues:
1) The "Maximum Range in YYYY-MM-DD or 'today'" option works as minimum date for the calendar and not maximum same goes for "Minimum Range in YYYY-MM-DD" which works as maximum date.

2) The 'today' option doesn't work. If i input today in either of the fields (tried both minimum and maximum) i get a 100 year range in the calendar.

STEPS TO REPLICATE:
1 You can check with field 'PLAYER_CONTRACT_EXPIRE'
2 Set any of the "Maximum Range in YYYY-MM-DD or 'today'" or "Minimum Range in YYYY-MM-DD" to "today"
3 You can use the front-end account i provide you in misc information
RESULT I get a 100 year range in the datepicker
EXPECTED RESULT I should get today's date as minimum/maximum date in the datepicker
BROWSER Windows Chrome latest

P.S. This bug exists also in jomsocial 3

10 years 9 months ago
Licenses:

HI, Stylianos.

I assign developer to review this issue.


- Instead of saying: 'it's not working', explain the problem in detail.
- Screenshots with the URL visible in them and the problem marked are more than welcome.
- Tell us how to replicate the problem, we can't fix it if we can't find it.
- Make sure that your site/server meets JomSocial System Requirements
- Make sure to setup JomSocial Cron Job
- Always provide us with access details to the backend and ftp. We need it to debug problems.
- If you have a similar problem, but a solution you found isn't working, open a new thread instead of 'merging' with an existing one.

- Use the "Thank You" feature on any post that helped you
10 years 9 months ago
Licenses:

Hi,

its a bug. please wait for the fix.

Regards

The following user(s) said Thank You: Stylianos
10 years 9 months ago
Licenses:
JomSocial Active

Ok, i am bringing the website down as i need to work on it. Please reply here when you have the fix ready.

10 years 9 months ago
Licenses:

Hi,

sure. I will back to you again with the fix.

Regards

The following user(s) said Thank You: Stylianos
10 years 9 months ago
Licenses:

Hi,

here the fix:

This attachment is hidden for guests.
Please log in or register to see it.

unzip and put it at:
/components/com_community/libraries/fields/date.php

Regards

This message has an attachment file.
Please log in or register to see it.

Moderators: Piotr Garasiński
Powered by Kunena Forum

Join 180,000 websites creating Amazing communities

JomSocial is the most complete, easy-to-use addon that turns Joomla CMS into a
full -fledged, social networking site

TRY NOW BUY NOW