CodeCanyon

Meeting Room Booking System

Localize the Datepicker

  1. Download your language js file from http://jquery-ui.googlecode.com/svn/trunk/ui/i18n/. For example: jquery.ui.datepicker-en-GB.js
  2. Save your js language file to “app/webroot/js/jquery.ui.datepicker-en-GB.js”
  3. Open file app/views/layouts/home.ctp and add the js language file as follow:
     
    <?php        
    
            echo $javascript->link('jquery-1.4.2.min'); 
            echo $javascript->link('jquery-ui.min'); 
            echo $javascript->link('jquery.ui.datepicker-en-GB.js'); 
            echo $html->css('jui/ui-lightness/jquery-ui');
            echo $html->css('style');
    
            echo $scripts_for_layout;
        ?>
    
  4. Open file “app/views/homes/index.ctp”, and scroll to the bottom. Change the this function
    $('#datepicker').datepicker(
                    {        
                    minDate: 0,
                    beforeShowDay: setFullDays,
                    onSelect: checkThisDay
                    }
            );
    

    To

    
    $('#datepicker').datepicker(
                    $.datepicker.regional['en-GB'],
                    {        
                    minDate: 0,
                    beforeShowDay: setFullDays,
                    onSelect: checkThisDay
                    }
    );
    
    

“404 Not Found” ?

If you keep on hitting 404 not found error when using MRBS . Most probably it is because your Apache server has htaccess disabled. Please follow this guide to enable htaccess : http://www.tildemark.com/software/servers/enable-htaccess-on-apache.html
by
by
by
by
by