Hijri
Categories
Component ID
Component name
Component type
Maintenance status
Development status
Component security advisory coverage
Downloads
Component created
Component changed
Component body
This is a smart module that basically extends Drupal's display date to provide Hijri Date integration with Drupal core date field and with other Drupal contributions.
This module is integrated very well with Views module. You can use it to display Hijri date instead of Gregorian date or you can have them both by mention "المواÙÙ‚".
Also this module comes with Hijri block that will be showing Hijri today date on your website wherever you want to show your Hijri Block of today's date in your header for example.
One of the Hijri date issues, sometime the day by the algorithm does not match the same day in the current period because of the moon cycle, so we resolve this issue by adding custom Hijri increment field so you can increment or decrement the Hijri date to meet the real day.
You can reach Hijri settings by going to this path: Administration » Configuration » Regional and language » Date and time » Hijri Settings.
Also you can change the Hijri format by editing the Drupal date format for (long, medium and short) types in this path: Administration » Configuration » Regional and language » Date and time » Types or add your own type.
Similar Projects
- Calendar Systems: Adds support for alternative calendar systems like Jalali, Iranian, Thai, Hijri, Hebrew, etc to Drupal in an integrated and extensible way and makes it possible to select different calendar system site-wide, per language, per field, per field formater. It also fully supports Views, Date, Webform, locale, i18n (for month,day,week names translation) modules and is integrated with JQuery Calendar module for adding popup date selector. For developers it has multi calendar date API plus a new #calendar_system element for Drupal Form API and several hooks for adding new calendar systems.
- Taarikh: is a field formatter and widget module to display and input hijri dates using the fields defined by the date module. The formatter can work with all the fields defined by the date module, i.e., Date, Date (ISO format) and Date (Unix timestamp). The widget, however, does not work with Date (Unix timestamp)..
من واقع ØØ§Ø¬Ø© المطور والمجتمع العربي للتاريخ الاسلامي الهجري لاستخدامه ÙÙŠ عرض المقالات والاخبار قمنا بعمل هذا الموديل ليلبي هذه Ø§Ù„ØØ§Ø¬Ø© ÙˆÙ†Ø±ØØ¨ بجميع الاÙكار والمشاركات ليتم عملها ÙÙŠ النسخ القادمة.
مميزات الموديل:
Ù¡- التØÙƒÙ… بعرض Ø§Ø¶Ø§ÙØ© Ø§Ù„Ù…ØØªÙˆÙ‰ بالتاريخ الهجري بجميع اشكاله المدمجة مع تنسيقات التاريخ الموجودة ÙÙŠ دروبال وايضاً عرض التاريخ الهجري ومايواÙقه بالميلادي
مثال : Ø§Ø¶ÙŠÙØª بواسطة Ùلان بتاريخ الاثنين Ù¡ Ù…ØØ±Ù… ١٤٣٦
Ù¢- التØÙƒÙ… بعرض تاريخ التعليقات وعرضها بالتاريخ الهجري او الميلادي او معاً.
Ù£- تم عمل تكامل مع موديل Ùيوز واعطاء امكانية اختيار التاريخ الهجري ونوعه عند اختيار Ø§Ø¶Ø§ÙØ© ØÙ‚Ù„ Ø§Ø¶Ø§ÙØ© او تعديل Ø§Ù„Ù…ØØªÙˆÙ‰.
Ù£- ÙÙŠ ØµÙØØ© البلوكات سو٠تجد بلوك تاريخ اليوم وايضاً توجد ÙÙŠ Ù„ÙˆØØ© التØÙƒÙ… خيارات عرض تاريخ اليوم مثل التاريخ كامل او مختصر او عرض التاريخ الميلادي والهجري ÙÙŠ Ù†ÙØ³ البلوك.
Ù¤- ØªÙØ¹ÙŠÙ„ الهجري لعدد Ù…ØØ¯Ø¯ من انواع Ø§Ù„Ù…ØØªÙˆÙ‰ عن طريق Ù„ÙˆØØ© التØÙƒÙ… الخاصة بالموديل.
For Developer:
to change any date to Hijri you can use this function:
hijri_format_date($timestamp, $type = 'medium', $format = '', $correction = 0);
Road-map:
- [ ] Adding the support for Date field.
- [ ] Adding a new library for ummulqura.
- [ ] Supporting features.
