CodeIgniter Forums
[SOLVED] Calendar for CI - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Using CodeIgniter (https://forum.codeigniter.com/forumdisplay.php?fid=5)
+--- Forum: General Help (https://forum.codeigniter.com/forumdisplay.php?fid=24)
+--- Thread: [SOLVED] Calendar for CI (/showthread.php?tid=65893)



[SOLVED] Calendar for CI - davy_yg - 08-06-2016

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> 



RE: Calendar for CI - InsiteFX - 08-07-2016

Gee maybe a jQuery plugin!


RE: Calendar for CI - ivantcholakov - 08-07-2016

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.