Note that there are some explanatory texts on larger screens.

plurals
  1. POXrtml And Ruby on Rails, Calendar booking slot
    primarykey
    data
    text
    <p>I am trying to build a time slot calendar whereby a booking manager can create timeslots from a calendar. I have found some examples below: </p> <p><a href="http://www.phpjabbers.com/time-slots-booking-calendar/demo.php" rel="nofollow">Time slot calendar</a></p> <p><a href="http://www.xrtml.org/demos/calendarclient.aspx?SessionID=xpbo3n3loh" rel="nofollow">XRTML Calendar Booking</a></p> <p>Was wondering is it possible to have xRTML work with Ruby On Rails. I downloaded the .js file and put this in my assets/javascript folder. </p> <p>I found that xRTML has its own tags and put the demo code in an index.html.erb. But this did not seem to work. </p> <p>My index.html.erb file looked like the following: </p> <pre><code>&lt;xrtml:config debug="false"&gt; &lt;xrtml:connections&gt; &lt;xrtml:connection appkey="myAppKey" authenticate="false" authtoken="myDevToken" url="http://developers.realtime.livehtml.net"&gt; &lt;xrtml:channels&gt; &lt;xrtml:channel name="myChannel" permission="write"/&gt; &lt;/xrtml:channels&gt; &lt;/xrtml:connection&gt; &lt;/xrtml:connections&gt; &lt;/xrtml:config&gt; &lt;xrtml:calendar channelid="myChannel" dayonly="false" enddate="2011-12-13" handlerurl="./handler/calendarTest.ashx" id="calendarXPTO" lang="en" receiveownmessages="true" startdate="2011-08-13" target="#divcalendar" userid="userxpto"&gt; &lt;xrtml:triggers&gt; &lt;xrtml:trigger name="myTrigger"/&gt; &lt;/xrtml:triggers&gt; &lt;xrtml:slots&gt; &lt;xrtml:slot value="09:00 - 10:00|10:00 - 11:00|11:00 - 12:00|12:00 - 13:00|15:00 - 16:00|16:00 - 17:00|17:00 - 18:00"/&gt; &lt;xrtml:slot value="09:00 - 18:00" weekday="Sat"/&gt; &lt;xrtml:slot weekday="Sun"/&gt; &lt;/xrtml:slots&gt; &lt;/xrtml:calendar&gt; </code></pre> <p>I have also considered using Jquery full calendar to help me achieve what I am trying to do. However this is proving to be more difficult than I thought. Is there anything similar out there that is like what I am trying to do </p> <p>My initial idea is to have some sort of calendar with times listed vertically and have slots horizontally enabling a user to click a plus sign that will create new slots as it were. </p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload