Code

Discussion on Simple Events Calendar JS

Discussion on Simple Events Calendar JS

Cart 1,689 sales

DPereyra supports this item

Supported

181 comments found.

Hello, I am having an issue with all-day, yearly events. When I configure this calendar to display all-day, yearly events like so:

startDate: new Date(1956,2,17), endDate: new Date(2056,2,17), title: ‘John Doe\’s Birthday’, description: ’’, allDay: true, priority: 1, frecuency: 4 },

The calendar shows the event happening on both March 17th and March 18th for the corresponding year span (1956-2056) by placing a blue triangle above and coloring the text blue for both of these dates. However, I only wish to select the March 17th date. Do you have any suggestions on how to fix this?

Hi,

Send em a message through the contact form in myprofile, so I can send you the updated package.

Thanks

Another suggestion – you should allow us to control the formatting of the displayed times. For example, I want to be able to just display 8 am, or 8:30 am.

It would be great if you allowed us to pass a date formatting function to the plugin that gets called when its time to format the date.

Ok, I will take a look to this today and see how possible it is. Thanks for the suggestion

Hi, I just added it, please download the package again and take a look to the documentation.

Greetings

Hello, great work :)

One question, does calendar supports like different charsets for example with Polish letters (UTF-8) from json file?

Hi,

If you send me some example of polish text, I will test it and confirm you if it works correctly.

Please send it through the contact form in my profile

Thanks

Can the calendar be customized to show the events in a week (Monday to Sunday) when a date is selecte? How hard would this be coding-wise?

Thanks.

Hi,

You would need to modify the core of the plugin so I think that it would be quite hard, depending of your knowledge

Thanks for the interest

Thank you for the responsiveness. I know jQuery pretty well, tell me if this is the right approach:

Assuming you have one function that accept a date parameter and it will take care rendering the events on that day, when a user select a date, I just have to calculate which dates on that week and call the function seven times.

Sounds right?

Not really, there is a core function that generates the whole calendar using the js array or json feed, as you can see this plugin is not using ajax.

It’s possible to do, and surely I will do it in a future update, unfortunately I’m quite busy now with other plugins updates

Thanks for asking

Is there a way to, when a time is clicked, fire an event with the data and time of the clicked time?

Hi,

You can use the event onClickEvents, it gets the parameters title, description and time

onClickEvents: function (title, description, time) {

}

Actually, using the debugger, the callback function has one argument, with properties for title description, and time. What about the date? Also, “this” is the window, it would be great if “this” was the list item of the time.

You are right, I will add the date in the next update

Can this somehow be setup to show my google calendar or can I pay you to do custom code

REGARDS Flemming

Hi,

This is not currently possible, and I’m not available for customizations for now.

Thanks for the interest

Did your calendar support Buddhist calendar year? I mean it will show year number like 2556 instead 2013.

Hi,

It doesn’t support Buddhist calendar year.

Thanks for asking

Hi, how do I display all events in a certain month? and events will be displayed only by dates when user clicked a specific date? Also, how can I make the description already visible? Thanks.

Hi,

The events are only displayed when you select a date.

To make the descriptions visible

Open the file dp_calendar.css, find the class .dp_calendar .calendar_list #list li p{..}

Replace

display: none;

for

display: block;

That’s it

How easy it is to change the size of the calendar and can it be done?

You can do this through the CSS file.

Thanks for the interest

Hola,

Una pregunta : Puedo tomar eventos de una base de datos mySQL y mostrarlos en tu calendario?

Me parece muy bueno tu script. Gracias

Hola,

Podrias hacerlo si tienes el conocimiento para armar el array en JS con los resultados o usando json.

Saludos

ok, te compre este script, voy a intentar usarlo. Si no puedo te preguntare por aca, muchas gracias por tu respuesta!

Saludos

I was wondering if the calendar supports multiple instances on the same page.

Okay. Thank you.

Will it show time ranges like “9AM – 10AM”?

I’m not sure what you mean, can you explain it a little more? Thanks

Hi, I have a problem with the integration of your plugin inside Wordpress. I need to use the JS version (not de plugin version) because I’m going to use your calendar with custom post types and custom queries.

The problem is that the calendar does not show with the wordpress version of Jquerry. If I include your version, the calendar show up but my site brake because it uses Jquerry 1.8.3…

Here is a link to a page where the calendar should show up but doesn’t http://www.andenne.be/test-salle-tennis-interieur-1/

Thank you for your help

Hi,

In WP you have to use jQuery(... instead of $(...

Greetings

It’s working! Thanks a lot for the quick reply and the great product.

I have a problem with the date. When given him a date: startDate – 2013-05-20 12:00 and endDate: 2013-05-21 12:00 I see selected date only on 2013-05-20.

My English is poor

THX !!

But there is another problem. I have this table: ” var events_array = new Array(

{ startDate: new Date.parse(‘May 21, 2013, 06:00’), endDate: new Date.parse(‘May 21, 2013, 08:00’), title: “Rezerwacja!”, frecuency: 1, description: “asd”, },

{ startDate: new Date.parse(‘May 20, 2013, 23:00’), endDate: new Date.parse(‘May 21, 2013, 01:10’), title: “sprzedajto”, frecuency: 1, description: “asd”, },

{ startDate: new Date.parse(‘May 20, 2013, 10:00’), endDate: new Date.parse(‘May 20, 2013, 22:00’), title: “Rezerwacja!”, frecuency: 1, description: “asd”, } “

and data which should be on top of (23:00) of the preceding should be at the top and at the bottom

in screen http://imageshack.us/a/img22/2950/calendarvi.jpg

Hi,

In this case you shouldn’t use a recursive event, but create two events, one for 20 May and another for 21 Mar, since you are saying to the plugin that the events start in both days at 23:00

Greetings

Is it possibile set code to display the event description box already open?

Hi,

You should have to edit the JS code. If you are interested send me a message through the contact form in my profile so I can send you the instructions.

Greetings

Hello! I should like to know how the event can be insert in the calendar. By php control panel or something other? Thanks Simone

Hi,

You add the events through a Javascript array or through a JSON file.

Thanks for the interest

Thanks for your reply, are there example about the adding work by array or json file? cause i don’t understood well.. thanks

Yes, there are demo examples.

Greetings

DPereyra tengo una pregunta,

me gusta mucho tu script pero quisiera saber si se puede implementar una opcion de cita vista cuando la cita haya pasado o haya terminado(ya sea dando un clic o seleccionandola)...

Hola,

Por el momento no tiene esta opción incluida.

Un saludo

Hello. this script is nice BUT it doesn’t work with your default values locally. here’s a working example calling all your JS from your server http://3llipsis.eu/_allot.calendar/index2.html The event 3 will be displayed properly in the 20th of may and here: http://3llipsis.eu/_allot.calendar/index.html the 20th of may event is displayed on the 19th.

the difference between the two pages is that i call al the js on my server. None of the js were modified.

another thing i try to solve. your demo event array is setup with year 2011. you set up 2013, nothing is working anymore.

Hi,

I see the event in 20th in both pages, can you tell me which GMT are you? maybe that is the problem.

I don’t understand the other issue that you mention, can you send me more details?

Please send me this info through the contact form in my profile.

Thanks

I am useless with computers. How do I get this calendar on my Wordpress blog?!

Hi,

You should purchase the wp version of the plugin, it would be much easy for you:

http://codecanyon.net/item/wordpress-events-calendar/910386

Excelente trabajo DPereyra… realmente muy bueno tu Trabajao…

Solo tengo una duda de como implementarlo en caso de que ya tenga esa funcionalidad o si aun no esta tomalo como una sugerencia.

Es importante para personas que manejamos muchos eventos y que tenemos categorias de eventos como lo son, TODOS los EVENTOS, CONFERENCIAS, TALLERES, SOCIALES, CLASES

Es decir poder hacer categorias y que se identifiquen por colores. vi algo similar que tienes para la prioridad, pero quisiera hacer algo mas que prioridad realizar categorias.

Saludos.

Hola,

No tiene esta funcionalidad aún, pero voy a considerar la implementación para una futura version,

Muchas gracias

Hello, is there a way to parse a json object to the event?

Hi,

You have a parameter to set the url of the json file, take a look to the documentation and demo examples.

Greetings

by
by
by
by
by
by

Tell us what you think!

We'd like to ask you a few questions to help improve CodeCanyon.

Sure, take me to the survey