Questions tagged [calendar]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
1 vote
0 answers
10 views

Calendar field operation not acting as expected

I was wondering if anyone else is experiencing this behavior with HTMLHelper::calendar() fields and how you may be handling it in forms. echo HTMLHelper::calendar("now", 'calendar', '...
  • 1,767
1 vote
1 answer
20 views

set server time as default at the calendar

I am new to Joomla. I have a question. I'll clarify my question: In the calendar that was we make from the calendar field. This link is calendar field doc. when a user comes to the site this calendar ...
0 votes
2 answers
139 views

Joomla Calendar format not displaying the correct format

Below is my calendar field in the form <field name="job_next_run_date_time" type="calendar" label="JSCH_JOBV_NEXT_DATE_TIME" description="...
  • 2,671
2 votes
1 answer
727 views

Add a Calendar field in Joomla 3.9 without using form xml

I am trying to create a Calendar field in Joomla 3.9 inside my custom component. Since I am framing this inside an AJAX script, I can't use the XML form. Below is the code I am using. The field ...
  • 2,671
2 votes
1 answer
2k views

JS : How to trigger a Blur event with my code

I need help in triggering a Blur event attached to a calendar field. The event I am trying to trigger is added in /media/system/calendar.js around line 1003 JoomlaCalendar.prototype._bindEvents = ...
  • 2,845
1 vote
1 answer
70 views

Get value for joomla calendar input box to use in ajax call

I have a joomla calendar set up: <?php defined('_JEXEC') or die; JHTML::_('behavior.calendar'); echo '<div id="calendarBoxes" >'; echo '<div id="...
2 votes
1 answer
2k views

How to change date format in JHTML::calendar to d-m-Y?

In a form I have a date/time-field. It works correctly, but the format of the date isn't right -- I require Dutch date notation (d-m-Y). Instead of day-month-year it displays and saves it as year-...
  • 81
0 votes
2 answers
314 views

Joomla calendar field issue

I create a plugin in k2, which has a calendar field. When I choose the time in k2 backend like 2019-03-13 05:00 and save the item, the time auto becomes 2019-03-13 13:00,the date is correct but the ...
  • 131
2 votes
2 answers
356 views

Calendar Field render error "Double timezone specification"

in my custom component I have a calendar field which I render in my view. Database field : Name: estEventDate Type: date Null: No Default: 0000-00-00 XML Field : <field name="estEventDate" type=...
  • 408
1 vote
2 answers
453 views

Make calendar dynamically in 3.7

I recently found out that the datepicker and calendar changed a lot from 3.6 to 3.7 and as a result I'm having a problem with my custom backend component. Originally this is the code I was using to ...
  • 195
1 vote
0 answers
92 views

Joomla Calendar for versions >3.7

I'm trying to get a calendar form field to display without using XML. For previous versions, I called JHTML::_('behavior.calendar') and initialized it with Calendar.setup({args}) that would pass ...
2 votes
2 answers
704 views

Populate Joomla Calendar field by jQuery not working

I am trying to populate the calendar form field by using jQuery based on the values of other field. I am using JHTML::calendar for this. When the value is set via php everything works fine for me. But ...
  • 1,375
1 vote
1 answer
77 views

Calendar Field Type

I have implemented a module which has a Calendar Type as following: <field name="file2calendarEnd" type="calendar" default="5-10-2008" label="End date" description="Select when the slide will be ...
6 votes
1 answer
2k views

Calendar Field Showing Incorrect Date

I am using the Calendar form field type and am experiencing an odd result. I am passing in a date of 03/23/2016 as a string and it is instead showing 03/22/2016. This is true for all dates I have ...
5 votes
3 answers
2k views

How to trigger javascript on a date selection on JHTML::_calendar

I am using the below code to show a calendar in my form. echo JHTML::calendar("", "timetable_slot_date", "id_timetable_slot_date") What I need is to implement an onChange or onDateSelect javascript (...
  • 2,671
1 vote
3 answers
821 views

Joomla calendar popup does not appear when loaded by ajax

I'm loading a calendar field via jquery ajax. When I click the calendar button nothing happens. The calendar popup is not showing. in model.php $tr = "<td>" . JHTML::_('calendar', '2015-09-09'...