Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add events? #781

Open
J-D-Oleary opened this issue Dec 22, 2021 · 2 comments
Open

Add events? #781

J-D-Oleary opened this issue Dec 22, 2021 · 2 comments

Comments

@J-D-Oleary
Copy link

Hello,

I have read the documentation on adding events but am having a hard time figuring out exactly how to go about it. We are using this calendar inside of a wordpress site. Any help would be greatly appreciated!

@Neozxz
Copy link

Neozxz commented Dec 22, 2021 via email

@cablegunmaster
Copy link

cablegunmaster commented Dec 22, 2021

Ok, what is your level of coding?
Can you make your own PHP websites? (from scratch without wordpress?)
Can you make your own website and use a database?
If this is the case this is your tool.

Otherwise you might want to use another plugin for it, as this is not a plugin.
And it does not work out of the box with wordpress.
You need to do some tinkering to get it working.

You need a table "events" With

"id" as incremental (number int)
"title" as string.
"url" (string)
"class" (can be in DB dont have to be )
"start" (unix timestamp)
"end" (unix timestamp) (could be optional)

After this you feed the table (make yourself some select query from that table) in php and add the result as an array to the retrieve function as stated in the readme.md as an array and you get the result on the Calendar.

The whole example is on: https://github.com/Serhioromano/bootstrap-calendar
Please read it!

If you got any problems with what you encounter, please write it down and please write down what you have tried and what you want it to do in the end. because Its all in your head. And I have no idea what you are trying to accomplish.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants