Note that there are some explanatory texts on larger screens.

plurals
  1. POFull Calendar in CakepPHP
    primarykey
    data
    text
    <p>I am following this tutorial: <a href="http://duckranger.com/2010/03/fullcalendar-and-cakephp-part-1-set-up/" rel="nofollow">http://duckranger.com/2010/03/fullcalendar-and-cakephp-part-1-set-up/</a> and I cannot display my fullcalendar. I uploaded jquery lib into app/webroot/js, css into app/webroot/css, </p> <p>My Event model:</p> <pre><code>&lt; ?php class Event extends AppModel { var $name = 'Event'; } ?&gt; </code></pre> <p>I got events_controller:</p> <pre><code> &lt; ?php class EventsController extends BaseController { var $name = 'Events'; &gt; var $helpers = array('Admin','Time','Javascript'); } </code></pre> <p>In views/events i got calendar.ctp:</p> <pre><code> &lt;?php echo $javascript-&gt;link('jquery-1.3.2.min.js'); echo $javascript-&gt;link('ui.core.js'); echo $javascript-&gt;link('ui.resizable.js'); echo $javascript-&gt;link('fullcalendar.min.js'); echo $javascript-&gt;link('ui.draggable.js'); echo $html-&gt;css('fullcalendar'); //Note: to use $html-&gt;css as above, the fullcalendar.css //file must be in your app/webroot/css folder. ?&gt; &lt;div id="calendar"&gt;&lt;/div&gt; </code></pre> <p>And i dont know what to do. Where tu put these lines?:</p> <pre><code>&lt;script type='text/javascript'&gt; $(document).ready(function() { $('#calendar').fullCalendar({}); }); </code></pre> <p></p> <p>BTW, i got error name:</p> <blockquote> <p>Fatal error: Class 'BaseControllerÂ' not found in D:\PHP Projekty\salon\app\controllers\events_controller.php on line 2</p> </blockquote>
    singulars
    1. This table or related slice is empty.
    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