By KimaJako on
Hi everybody,
I`m newbie to drupal,and I want to use drupal for our client in different nations and religion,and I want all times which they are shown in their site to show in their native calendar such as Gregorian , Jewish or solar calendar,
How can I set new calndar in the drupal ?
Where Can I use our available Gregorian calendars function for changing all time to other calendars in drupal ?
any information would be greatly appreciated.
Thanks in advance,
Comments
Adding Jewish Dates to the Drupal Calendar
I used the Calendar module and made the following updates to the the theme template.php file:
First, I added a custom function that returned an array of Jewish date parts:
Next, you need to replace the theme_calendar_date_box() function as follows (my example uses garland):
The above solution simply adds the Jewish day/month to each calendar day on the month view; it also does the same for the table view and list view.
I did not update the year view; thinking having both the Gregorian and Jewish dates listed on the calendar would be too much.