Paul-DS / bootstrap-year-calendar

[DEPRECATED] A fully customizable year calendar widget, for boostrap !
Apache License 2.0
293 stars 243 forks source link

how add a event or make a date.. examle me brithday #136

Closed OmarBethelRan closed 5 years ago

OmarBethelRan commented 7 years ago

excuse me I have a problen when I try make a event, I can show the calendar in the web site it is good, but when I try of add or make a event it don't work. only when I click in a number of day and it put great and not hapen noting... pleas help me..

William-H-M commented 7 years ago

Hi, when you do it does it print an error on the console of the browser or something like that? and what do you mean by "try of add or make a event it don't work"?

OmarBethelRan commented 7 years ago

ok, thanks for answer, in the DEMO here: http://www.bootstrap-year-calendar.com/#Examples/Full example you can click in a spesific day, and make your self event like a diary. and I can't do it. for example I have a interview in september 16, when I click in september 16 in my calendar nothing happens.... not show the window for make the event...... in my web site...

William-H-M commented 7 years ago

Ohhh I know what you mean now, doesn't appear the modal window as on the example, I've set up a little example on a past issue just follow what it's included, basically your problem is that you don't neither a modal, nor the datepicker plugin.

Reference to this #129 and #117, on 117 you can just copy and paste my code and that's it.

You can download this basic template I made a while ago

OmarBethelRan commented 7 years ago

excuseme... but it's not in automatic? ... the code work but maked the event in the code, I thought that it was automaticly....

OmarBethelRan commented 7 years ago

thank you William-H-M the code work... copile and add a event ..... I have a dude is normal that when refresh the page or close and open it, the event maked desapear, so I have to make other event similar? or the event have to be saved and apear it doesn't metter if close the page or refresh

William-H-M commented 7 years ago

Hi, the reason because disappears is because the datasource I gave on my example, and on the page is just temporal, the only way that they still appear is if you have a Database and the datasource is filled with the info from the database, there's a lot of ways to do it but depends mainly from the language code that you're programming

OmarBethelRan commented 7 years ago

thank you so much William-H-M, for helpp me, and for dedicate time in answere the questions... thanks