Questions tagged [calendar]
The calendar tag has no usage guidance.
13
questions
2
votes
1answer
95 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 ...
1
vote
3answers
668 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'...
2
votes
1answer
56 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 = ...
5
votes
3answers
1k 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 (...
0
votes
2answers
89 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 ...
1
vote
1answer
32 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
1answer
524 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-...
0
votes
1answer
239 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 ...
6
votes
1answer
1k 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 ...
1
vote
2answers
377 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 ...
2
votes
1answer
151 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=...
1
vote
0answers
71 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 ...
1
vote
1answer
69 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 ...