PSFC Setup - Views: How to obtain and update the Website Embed Code for different default display formats and how to add a border

How to obtain and update the Website Embed Code for different default display formats and how to add a border

The following examples will show the code to use when you want to have a default display format of Month, Week, Day, or Agenda. It will also show how to add a border around the calendar.

  1. The embed link for each calendar is unique to each organization.
  2. The basic code must be obtained through the view settings. Note, this is also where you get the Feed URL to upload into a calendar that allows such a feed; Google Calendar for example.
    Select_view_and_get_link.png
    • Find the view you want to share (1). To learn how to create a view, see, How to create a public view.
    • Click the gear button to the right (2).
    • Select the default display from the dropdown: Month, Week, Day, or Agenda (3)
    • Copy the Website Embed Code link (4).
  3. As you will see from the examples of Embed Codes below:
    • The difference in the default display is found at the end of the specific calendar view code beginning with a hashtag and ending in month, agendaWeek, agendaDay, or list. You may update this in your code manually if you wish to change the default display format. Or, you may set it following the steps in #2 above and getting a new copy of the link.
    • If you want a border around your embedded calendar, you may change the border coding. The default border coding is no border coded as:
      border: 0;
      This may be changed to add a border. Some examples are listed below. The examples are not exhaustive and you may find other options through a google search.

Month
<iframe style="border: 2px solid green; width: 100%; height: 600px;" src="https://pscalendar.parishsoftfc.com/calendar/calendar_public/embeded/0a312b15864d1d78140990af553bd129#month" frameborder="0" scrolling="no"></iframe>

 

Agenda

<iframe style="border: 2px solid blue; width: 100%; height: 600px;" src="https://pscalendar.parishsoftfc.com/calendar/calendar_public/embeded/0a312b15864d1d78140990af553bd129#list" frameborder="0" scrolling="no"></iframe>

Week

<iframe style="border: 2px solid purple; width: 100%; height: 600px;" src="https://pscalendar.parishsoftfc.com/calendar/calendar_public/embeded/0a312b15864d1d78140990af553bd129#agendaWeek" frameborder="0" scrolling="no"></iframe>

 

Day

<iframe style="border: 2px solid orange; width: 100%; height: 600px;" src="https://pscalendar.parishsoftfc.com/calendar/calendar_public/embeded/0a312b15864d1d78140990af553bd129#agendaDay" frameborder="0" scrolling="no"></iframe>

Have more questions? Submit a request

Comments

0 comments

Please sign in to leave a comment.