Questions tagged [calendar]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
1 answer
40 views

Joomla Calendar field does not work when given format as D dS M Y

In my XML form, I have given a calendar field in the format='D dS M Y' which is as follows <field name="certificationdate" class="inputbox" format="D dS M Y" ...
user4571727's user avatar
1 vote
0 answers
28 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', '...
Terry Carter's user avatar
  • 1,812
1 vote
1 answer
23 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 ...
Ebrahim Bashirpour's user avatar
0 votes
2 answers
195 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="...
Malaiselvan's user avatar
  • 2,721
3 votes
1 answer
831 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 ...
Malaiselvan's user avatar
  • 2,721
2 votes
1 answer
3k 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 = ...
Irata's user avatar
  • 3,597
1 vote
1 answer
76 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="...
user1616338's user avatar
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-...
YolkNet's user avatar
  • 81
0 votes
2 answers
341 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 ...
Anthony's user avatar
  • 131
2 votes
2 answers
392 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=...
mixahlos's user avatar
  • 418
1 vote
2 answers
493 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 ...
chavab_1's user avatar
  • 195
1 vote
0 answers
94 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 ...
Chupacabra's user avatar
2 votes
2 answers
739 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 ...
Liz.'s user avatar
  • 1,385
1 vote
1 answer
78 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 ...
Linkaara's user avatar
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 ...
Zachary Draper's user avatar
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 (...
Malaiselvan's user avatar
  • 2,721
1 vote
3 answers
843 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'...
user1581939's user avatar