![]() |
Anyone use the js calendar plugin in 1.6? - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20) +--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forumdisplay.php?fid=23) +--- Thread: Anyone use the js calendar plugin in 1.6? (/showthread.php?tid=5945) |
Anyone use the js calendar plugin in 1.6? - El Forum - 02-08-2008 [eluser]dmorin[/eluser] I updated my site to 1.6 and my JS calendar isn't working. So, after checking it out, it's failing to call the insert_date() function. Apparently in 1.6 (at lease in my version) that function has been commented out. It doesn't look like the interface has changed and uncommenting the function works fine. Does anyone know anything about the change? Thanks. Anyone use the js calendar plugin in 1.6? - El Forum - 02-21-2008 [eluser]phpwebdev[/eluser] Yep i have similar problem too ![]() But ... im clever ![]() Do that 1) Download CI 154 2) After that replace 2 plugin files (153->161). And have fun Regards phpwebdev Anyone use the js calendar plugin in 1.6? - El Forum - 04-21-2008 [eluser]Taff[/eluser] I am also having some issues trying to get the calendar plugin to work. I ahve it displaying, but for some reason it isn't populating the field it should be (it should be shouldn't it?) I'm following the instructions: Code: $this->load->plugin('js_calendar'); is being called in my controller. I am echoing out the Javascript and CSS. Both can be found in my source code and the form has the same name as Code: <?php echo js_calendar_script('my_form'); ?> I am however using version 1.6.1 CI, and after some searching I have found this post. Quote:Do that Even removing the comments around insert_date seem to make no difference. ![]() Thanks for any help! Taff Anyone use the js calendar plugin in 1.6? - El Forum - 04-22-2008 [eluser]Taff[/eluser] I've spent quite sometime trying to get this to work. Does it work with 1.6.1 for anyone? I installed firebug to help me find the solution, but I am at a loss, and hopefully soemone with more JavaScript knowledge can show me the light, the error looks like this: Code: fval has no properties These are the steps and relative code: In my header I have: Code: echo js_calendar_script('myform'); The output from my header and view seems to look OK: Code: <form action="http://localhost/p_p/index.php/project/add" method="post" name="myform"> <label for="name">Title:</label><input type="text" name="title" value="" /><br /> If anyone has any ideas, I would be so grateful! Spent more time on this bit than the rest put together ![]() Taff Anyone use the js calendar plugin in 1.6? - El Forum - 04-22-2008 [eluser]Taff[/eluser] For anybody wanting to embed a datepicker I can highly recommend http://www.kelvinluck.com/assets/jquery/datePicker/v2/demo/ especially if you are using JQuery anyway. It took less than 5 minutes to setup and get working. Beyonds as how I will only need the picker on pages that edit or add data I added Code: <?php if($this->uri->segment(2) =='add' OR $this->uri->segment(2)=='edit'){ ?> Hope this helps someone. Taff Anyone use the js calendar plugin in 1.6? - El Forum - 07-09-2008 [eluser]Unknown[/eluser] Hi, i happen to have the same problem like you guys, can't apply datePicker using jquery v 1.6. Then i come up with this forum page when i try to find the solution in Google. FYI, for the datePicker, i also use the one from http://www.kelvinluck.com/assets/jquery/datePicker/v2/demo/, but still not working, sigh!!! Dunno why... Anymore bright idea guys? Thanks in advance. [quote author="Taff" date="1208911469"]For anybody wanting to embed a datepicker I can highly recommend http://www.kelvinluck.com/assets/jquery/datePicker/v2/demo/ especially if you are using JQuery anyway. It took less than 5 minutes to setup and get working. Beyonds as how I will only need the picker on pages that edit or add data I added Code: <?php if($this->uri->segment(2) =='add' OR $this->uri->segment(2)=='edit'){ ?> Hope this helps someone. Taff[/quote] Anyone use the js calendar plugin in 1.6? - El Forum - 01-31-2009 [eluser]munko[/eluser] hi, i'm new to CI, and currently using ci 1.7 i have the same problem using the calendar library, i tried to remove Code: cal = eval(cal); on the insert_date function because cal is an object and it works for me, hope it helps you (pardon my english) cheers munko |