<?xml version="1.0" encoding="UTF-8"?>    <rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
      <channel>
        <title>Simple calendar/availability calendar</title>
        <link>https://interactivetools.com/forum/forum-posts.php?Simple-calendar-availability-calendar-78920</link>
        <description></description>
        <pubDate>Sun, 06 Sep 2026 02:13:47 -0700</pubDate>
        <language>en-us</language>
        <atom:link href="https://interactivetools.com/forum/forum-posts.php?rss=1&amp;Simple-calendar-availability-calendar-78920" rel="self" type="application/rss+xml" />

                <item>
          <title>Simple calendar/availability calendar</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2231407#post2231407</link>
          <description><![CDATA[<p>Hi Hannah,</p>
<p>A calender system has been bought to my attention in another post created by Zick, you can find the code here:</p>
<p><a href="http://www.interactivetools.com/forum/forum-posts.php?Calendar-populated-with-CMS-Builder-records-71673" rel="nofollow">http://www.interactivetools.com/forum/forum-posts.php?Calendar-populated-with-CMS-Builder-records-71673</a></p>
<p>and an example of the finished script here:</p>
<p><a href="http://thecmsbcookbook.com/calendar5.php" rel="nofollow">http://thecmsbcookbook.com/calendar5.php</a></p>
<p>If you wanted to use the fullcalender system you'd have to use the ajax system to display the data from CMS Builder. If you download the latest copy of the plugin from here:</p>
<p><a href="http://arshaw.com/fullcalendar/download/" rel="nofollow">http://arshaw.com/fullcalendar/download/</a></p>
<p>There is a demo called json.html, that you can use, to get it to display events from my blog section I modified the json-events.php file to this:</p>
<p><code>&lt;?php<br />  /* STEP 1: LOAD RECORDS - Copy this PHP code block near the TOP of your page */<br />  <br />  // load viewer library<br />  $libraryPath = 'cmsAdmin/lib/viewer_functions.php';<br />  $dirsToCheck = array('C:/wamp/www/test/','','../','../../','../../../');<br />  foreach ($dirsToCheck as $dir) { if (@include_once("$dir$libraryPath")) { break; }}<br />  if (!function_exists('getRecords')) { die("Couldn't load viewer library, check filepath in sourcecode."); }<br /><br />  // load records from 'blog'<br />  list($blogRecords, $blogMetaData) = getRecords(array(<br />    'tableName'   =&gt; 'blog',<br />    'loadUploads' =&gt; true,<br />    'allowSearch' =&gt; false,<br />  ));<br /><br />  $ajaxEvents = array();<br /><br />  foreach($blogRecords as $key =&gt; $blog){<br /><br />   $ajaxEvents[$key]['id'] = $key;<br />   $ajaxEvents[$key]['title'] = $blog['title'];<br />   $ajaxEvents[$key]['start'] = date('Y-m-d', strtotime($blog['createdDate']));<br />   $ajaxEvents[$key]['end']   = date('Y-m-d', strtotime($blog['createdDate']));<br />   $ajaxEvents[$key]['url'] = $blog['createdDate'];<br />  }<br /><br />  echo json_encode($ajaxEvents);</code></p>
<p>This is just example code, so you'll have to make some changes to get it working with your site. Specifically the tableName that is used to retrieve data, and the date field that you want displaying on the calendar.</p>
<p>So this script will loop through all of my blog posts and create an array item for each record. In this case it's using the createdDate, but you could use any date field. </p>
<p>After all of the event items have been created the json_encode function is used to return a json encoded array of items, which the json.html page then uses to display the calendar items.</p>
<p>Let me know if you have any questions.</p>
<p>Thanks!</p>
<p>Greg</p>]]></description>
          <pubDate>Wed, 31 Jul 2013 10:08:15 -0700</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2231407#post2231407</guid>
        </item>
                <item>
          <title>Simple calendar/availability calendar</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2231398#post2231398</link>
          <description><![CDATA[<p>Zick's calendar should work fine for your purpose.  I have used it on many different sites and it works well with CMSB.  The basics you need are in the zip file attached to this post.  Here is my latest implementation on a church site. </p>
<p><a href="http://stmarymassillon.com/events.php?Events-And-Fundraisers-28" rel="nofollow">http://stmarymassillon.com/events.php?Events-And-Fundraisers-28</a></p>
<p>Give the calendar a try ... there is more information on this forum on tailoring the calendar.</p>
<p>Good luck!</p>

]]></description>
          <pubDate>Wed, 31 Jul 2013 07:21:31 -0700</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2231398#post2231398</guid>
        </item>
                <item>
          <title>Simple calendar/availability calendar</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2231392#post2231392</link>
          <description><![CDATA[<p>Thanks Greg!</p>
<p>If I were to go with the full calendar version, so that site visitors could click through the months and check the availability of the rental, how would I then link in the CMS/how would you suggest the records work there?</p>

<p>Hannah</p>]]></description>
          <pubDate>Wed, 31 Jul 2013 04:03:44 -0700</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2231392#post2231392</guid>
        </item>
                <item>
          <title>Simple calendar/availability calendar</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2231375#post2231375</link>
          <description><![CDATA[<p>Hi Hannah,</p>
<p>There are a lot of great resources on how to create a PHP calenders on the net, in the past I've used this tutorial by David Walsh to get started:</p>
<p><a href="http://davidwalsh.name/php-event-calendar" rel="nofollow">http://davidwalsh.name/php-event-calendar</a></p>
<p>I've also integrated full Calendar into a site before, although this can actually be more complicated that creating something custom sometimes </p>
<p><a href="http://arshaw.com/fullcalendar/" rel="nofollow">http://arshaw.com/fullcalendar/</a></p>
<p>Cheers</p>
<p>Greg</p>]]></description>
          <pubDate>Tue, 30 Jul 2013 09:37:32 -0700</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2231375#post2231375</guid>
        </item>
                <item>
          <title>Simple calendar/availability calendar</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2231373#post2231373</link>
          <description><![CDATA[<p>I'm working on a small site for a holiday rental and want to have a calendar to show when the property is/isn't available. I'd like to do this simply, by the background colour of the cell being different when unavailable. Any ideas how I could do this?</p>
<p>I'd need the dates/months to be auto generated somehow.</p>
<p>Thanks in advance!<br />Hannah</p>]]></description>
          <pubDate>Tue, 30 Jul 2013 07:13:48 -0700</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2231373#post2231373</guid>
        </item>
              </channel>
    </rss>
  