Hello, I am trying to get started with this framework and having problems getting a basic index page to load. I am using DHTMLX Scheduler to make a simple scheduling system which I would like to then add to. Right now I am just trying to get a blank schedule loaded for the index page with no data. Looking at the page source all the javascript files and css files I am using are linking properly, however the actual init function for the scheduler is never being used and I am unsure how to fix this. Coming from java the way cakePHP loads its scripts is a little weird to me.
On a side note I have the controller setup but the index method is blank as I am not loading anything from the database yet. Here is my view, let me know if you guys need anything else and thanks for looking at my issue. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <?php echo $this->Html->script('jquery'); ?> <?php echo $this->Html->script('/dhtmlx/dhtmlxscheduler'); ?> <?php echo $this->Html->css('/dhtmlx/dhtmlxscheduler'); ?> </head> <body> <div id="scheduler_here" class="dhx_cal_container" style='width:100%; height:100%;'> <div class="dhx_cal_navline"> <div class="dhx_cal_prev_button"> </div> <div class="dhx_cal_next_button"> </div> <div class="dhx_cal_today_button"></div> <div class="dhx_cal_date"></div> <div class="dhx_cal_tab" name="day_tab" style="right:204px;"></div> <div class="dhx_cal_tab" name="week_tab" style="right:140px;"></div> </div> <div class="dhx_cal_header"> </div> <div class="dhx_cal_data"> </div> </div> <script type="text/javascript" charset="utf-8"> scheduler.config.multi_day = true; scheduler.config.xml_date="%Y-%m-%d %H:%i"; scheduler.config.first_hour = 5; scheduler.init('scheduler_here',new Date(2010,7,5),"week"); </script> </body> </html> -- Like Us on FaceBook https://www.facebook.com/CakePHP Find us on Twitter http://twitter.com/CakePHP --- You received this message because you are subscribed to the Google Groups "CakePHP" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/cake-php?hl=en. For more options, visit https://groups.google.com/groups/opt_out.
