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?

0

1 Answer 1

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

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

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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