First thing to check with Firebug is that all of the CSS and JS files are actually getting loaded. I had a problem with the Datepicker when I first set it up until I put the CSS in the webroot/css folder and made the modifications to the JS files that the article you mentioned talked about.
Firebug will show you if the JS files and/or CSS isn't being loaded properly, that would be my first guess. On Dec 13, 2:34 am, "[email protected]" <[email protected]> wrote: > Hello, > > I'm using the unobtrusive datepicker > (http://bakery.cakephp.org/articles/view/using-the-unobtrusive-date-pi... > ) but the calendar button is not showing up. > > The output HTML is: > > <head> > <link rel="stylesheet" type="text/css" href="/cake_1_2/css/ > datepicker.css" /> > ....... > > <script type="text/javascript" src="/cake_1_2/js/datepicker.js"></ > script> > </head> > <body> > ..... > <input name="data[Application][dateOnly]" type="text" size="15" > class="w8em format-m-d-y divider-dash highlight-days-12 no- > transparency" value="" id="ApplicationDateOnly" /></div> > </body> > > The Application model has been amended to include the validation code > and datepicker.js is in /webroot/js . > > How can I check the code is doing what it should ( or not in this > case )? > > Any ideas on what is happening here will be greatly appreciated. > > Thanks, > > Roger --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "CakePHP" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~----------~----~----~----~------~----~------~--~---
