Magento Themes and Magento Extensions

How to add Datepicker to Magento Forms

Share
Posted on February 2nd, 2012 | Posted by admin

Magento has a built in library for calendar functionalities. However the calendar library is available only on Admin pages like Customer Grid,Customer Account view page,Sales order Grid etc. We can extend the prototype Javascript library’s calendar functions to frontend.

Step 1: Edit the page.xml file in your current theme in the directory app/design/frontend/default/ yourthemename /layout/page.xml Around line 65 add the below lines in between
<block type=”page/html_head” name=”head” as=”head”> </block >

Page 4 of 4«1234