Skip to main content
Known Participant
February 28, 2017
Answered

Responsive Calendar

  • February 28, 2017
  • 4 replies
  • 1519 views

I know that nothing about doing any of this is easy,but is there a way to create an interactive event calendar?

And would the client be able to edit the events?

Thanks!!!

Nina

This topic has been closed for replies.
Correct answer Rob Hecker2

I work with dates a lot and have written both a monthly  calendar and weekly schedule that clients update through a database interface.

Programming languages like PHP have fantastic support for working with dates and times. As you don't seem to be a programmer, you will probably use an off-the-shelf solution. Just the same, here are some tips, (assuming a LAMP environment):

  • Store dates using the MySQL format as datetime objects. (YYYY-MM-DD HH:MM:SS). Never store or work with dates as human-friendly text. The human-friendly version can be displayed on a webpage at the end; that's all.
  • Pay attention to timezones. You may be in one timezone, your web server may be in another, your ecommerce payment system in another and the database in yet another. I standardize everything to UTC and use PHP to convert to the local timezone on-the-fly when datetimes are displayed.
  • Dates are crazy because not all months have the same number of days, not all years have the same number of days (leap years), and datetimes are not strictly base 60 (seven days in a week?). Computer languages have built in algorithms to deal with this craziness. Don't try to do the math yourself. But you have to learn how to work with the language's datetime functions.

4 replies

Nancy OShea
Community Expert
Community Expert
February 28, 2017

Have you looked at Google Calendar?

Nancy O'Shea— Product User & Community Expert
Nancy OShea
Community Expert
Community Expert
February 28, 2017

Here's a link on how to embed & customize Google Calendar on your site.

Add a Google calendar to your website - Calendar Help

Nancy

Nancy O'Shea— Product User & Community Expert
ALsp
Legend
February 28, 2017

If you follow Rob's technique for the data, the front end would be perfect for a Flexbox structure. Here is an example:

FGM - Calendar

Rob Hecker2
Rob Hecker2Correct answer
Legend
February 28, 2017

I work with dates a lot and have written both a monthly  calendar and weekly schedule that clients update through a database interface.

Programming languages like PHP have fantastic support for working with dates and times. As you don't seem to be a programmer, you will probably use an off-the-shelf solution. Just the same, here are some tips, (assuming a LAMP environment):

  • Store dates using the MySQL format as datetime objects. (YYYY-MM-DD HH:MM:SS). Never store or work with dates as human-friendly text. The human-friendly version can be displayed on a webpage at the end; that's all.
  • Pay attention to timezones. You may be in one timezone, your web server may be in another, your ecommerce payment system in another and the database in yet another. I standardize everything to UTC and use PHP to convert to the local timezone on-the-fly when datetimes are displayed.
  • Dates are crazy because not all months have the same number of days, not all years have the same number of days (leap years), and datetimes are not strictly base 60 (seven days in a week?). Computer languages have built in algorithms to deal with this craziness. Don't try to do the math yourself. But you have to learn how to work with the language's datetime functions.
Jon Fritz
Community Expert
Community Expert
February 28, 2017

There's definitely "a way to do it". Relatively speaking, the easy part would be making the responsive calendar.

The rest of it would require a good understanding of server scripting and databases (like PHP and mySQL) if you weren't using a third party plug-in for an existing content management system like WordPress that is.

There's nothing built into DW that will do any of it for you, though it could be built with DW if you know how.

Known Participant
February 28, 2017

I guess I won't be able to do this.  But I do have a question, is it possible to use WordPress to do this page and the rest in Dreamweaver? Or can you work with WordPress through Dreamweaver CC?

Rob Hecker2
Legend
February 28, 2017

is it possible to use WordPress to do this page and the rest in Dreamweaver?

In theory, yes, in practice, no.

You should look for an off-the-shelf calendar solution. But not a free one. It may take some hunting to find the right one for your needs.