CodeIgniter Forums

Full Version: [SOLVED] Calendar for CI
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hello,

I am looking for a drop down calendar for this program.  Where can I find such a thing?  How to create one? 

Or is there any CI calendar component that I can reuse?


PHP Code:
<div class="row-fluid">
 
               <div class="span12">
 
                   
                    
<?php $this->load->library('form_validation'); ?>
                    
                    <?php echo $success_message?>
                        
                    <?php echo validation_errors(); ?>
                        
                    <?php echo form_open('cpages/addnewsletters'); ?>
                    
                    <div class="widget-box">
                        <div class="widget-title"><h5>Administrator</h5></div>
                        <div class="widget-content">
                        
                        <table border="0" style="width: 100%; height: 90px;">
                            <tr>
                                <td>Newsletter Name:</td>
                                <td><input type="text" name="newsl_name"></td>
                            </tr>
                            <tr>
                                <td>Newsletter Date:</td>
                                <td><input type="text" name="newsl_date"></td>
                            </tr>
                            <tr>
                                <td>Newsletter Content:</td>
                                <td><textarea name="newsl_content"></textarea></td>
                            </tr>    
                            <tr>
                                <td></td>
                                <td><input type="submit" class="add" name="submit" value="SUBMIT" /></td>
                            </tr>    
                        </table>            
                        </div>
                    </div>                    
                </div>
            </div> 
Gee maybe a jQuery plugin!
https://jqueryui.com/datepicker/ - I have used this one, but it needs additional styling to be combined with Bootstrap 3.

https://eonasdan.github.io/bootstrap-datetimepicker/ - This is for Bootstrap, I have not tried it. Looks like it merits attention.