2

I want to use Jalali calendar in my store, I use a plugin that have some js and css files that I add these files in skin/default/my-theme/js and skin/default/my-theme/css and also in local.xml.

Now I don't know how can I use this calendar in back-end and front-end?

2

use this code:- <link rel="stylesheet" href="jalalijscalendar/skins/aqua/theme.css"> <script src="jalalijscalendar/jalali.js"></script> <script src="jalalijscalendar/calendar.js"></script> <script src="jalalijscalendar/calendar-setup.js"></script> <script src="jalalijscalendar/lang/calendar-fa.js"></script> <input id="date_input" type="text"><input id="date_btn" type="button"> <script> Calendar.setup({ inputField: 'date_input', button: 'date_btn', ifFormat: '%Y/%m/%d', dateType: 'jalali' }); </script>

https://www.dropbox.com/s/5s6yetwl5xcylhi/JalaliJSCalendar-1.4.tar.gz?dl=0

| improve this answer | |
  • Add this code in which file? – Elham Gdz Jun 30 '15 at 10:46
  • Is ok add this code in head.html? – Elham Gdz Jun 30 '15 at 10:49
  • Can you explain me about the attachment in dropbox?how can I use it? – Elham Gdz Jun 30 '15 at 10:58
  • I don't know how can I use these files. – Elham Gdz Jun 30 '15 at 11:00
  • first magento->js folder change – Ashvin Monpara Jun 30 '15 at 11:02

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.