Welcome,
Guest
.
Please
login
or
register
.
Did you miss your
activation email
?
News:
Elxis documentation
for users and developers.
Home
Help
Login
Register
Elxis CMS Forum
»
Extensions
»
Components
»
mod_iosr_holidays ( limited country )
« previous
next »
Print
Pages: [
1
]
Author
Topic: mod_iosr_holidays ( limited country ) (Read 4926 times)
wieyoga
Jr. Member
Posts: 77
mod_iosr_holidays ( limited country )
«
on:
January 13, 2014, 08:12:24 »
Hi there does anyone know, how to add more country on mod_iosr_holidays.
i saw there only limited country list on mod parameter
Logged
Online hotel reservation -
http://www.easyresv.com
datahell
Elxis Team
Hero Member
Posts: 10356
Re: mod_iosr_holidays ( limited country )
«
Reply #1 on:
January 13, 2014, 08:47:37 »
It is not a module thing. You must add country's public holidays in IOSR Hotels.
components/com_reservations/ext/hotels/includes/holidays/
If you can't do so send me a list of your country's public holidays for at least up to year 2020 and I will create this file for you.
«
Last Edit: January 13, 2014, 08:49:23 by datahell
»
Logged
Elxis Team
|
Is Open Source
|
IOS Rentals | IOS AERO
wieyoga
Jr. Member
Posts: 77
Re: mod_iosr_holidays ( limited country )
«
Reply #2 on:
January 14, 2014, 03:15:41 »
Hi data hell,
thank you for the quick reply.
i will try to update its
below the list a public holiday that i will feature on my site
http://portalseven.com/calendar/Holidays_Indonesia.jsp?year=2014#page=holiday-list
http://publicholidays.com.au/
That will repeat every year.
Thanks
Logged
Online hotel reservation -
http://www.easyresv.com
datahell
Elxis Team
Hero Member
Posts: 10356
Re: mod_iosr_holidays ( limited country )
«
Reply #3 on:
January 14, 2014, 11:13:38 »
No, they are not repeated the same dates. Check yourself.
If you want to do this for you send me a list of public holidays for Indonesia from 2014 to 2020 (at least - preferable up to 2040).
This list will contain the holidays like that:
YYYY-MM-DD, Public holiday name in English, Public holiday name in Indonesian
Example:
2016-05-01, May day, May day (translated in Indonesian)
Logged
Elxis Team
|
Is Open Source
|
IOS Rentals | IOS AERO
wieyoga
Jr. Member
Posts: 77
Re: mod_iosr_holidays ( limited country )
«
Reply #4 on:
January 17, 2014, 09:25:03 »
Here the list
=====================
2014-01-01,New Year's, Tahun Baru
2014-01-14, The Prophet Muhammad's Birthday, Maulid Nabi Muhammad SAW
2014-01-31, Chinese New Year, Tahun Baru Imlek 2565 Kongzili
2014-03-31, Day of Silence, Hari Raya Nyepi
2014-04-18, Good Friday, Wafat Isa Al Masih
2014-05-01, International Labor Day, Hari Buruh Internasional
2014-05-15 , Waisak Day, Hari Raya Waisak 2558
2014-05-27, Ascension of the Prophet, Isra' Mi'raj Nabi Muhammad SAW
2014-05-29, Ascension Day of Jesus Christ, Kenaikan Isa Al Masih
2014-07-28, Eid al-Fitr, Hari Raya Idul Fitri 1435 Hijriah
2014-08-17, Indonesia Independence Day, Hari Kemerdekaan RI
2014-10- 05, Eid al-Adha, Hari Raya Idul Adha 1435 Hijriah
2014-10-25, Muharram, Tahun Baru Islam 1436 Hijriah
2014-12- 25, Christmas Day, Hari Raya Natal
==============================================
2015-01-01,New Year's, Tahun Baru
2015-01-03, The Prophet Muhammad's Birthday, Maulid Nabi Muhammad SAW
2015-04-3, Good Friday, Wafat Isa Al Masih
2015-05-01, International Labor Day, Hari Buruh Internasional
2015-05-03 , Waisak Day, Hari Raya Waisak 2558
2015-05-14, Ascension Day of Jesus Christ' Kenaikan Isa Al Masih
2015-05-15, Ascension of the Prophet, Isra, Mi'raj Nabi Muhammad SAW
2015-07-18, Eid al-Fitr, Hari Raya Idul Fitri 1435 Hijriah
2015-08-17, Indonesia Independence Day, Hari Kemerdekaan RI
2015-09-24, Eid al-Adha, Hari Raya Idul Adha 1435 Hijriah
2015-10-15, Muharram, Tahun Baru Islam 1436 Hijriah
2015-12- 25, Christmas Day, Hari Raya Natal
===============================================
2016-01-01,New Year's, Tahun Baru
2016-05-01, International Labor Day, Hari Buruh Internasional
2016-08-17, Indonesia Independence Day, Hari Kemerdekaan RI
2016-12- 25, Christmas Day, Hari Raya Natal
===============================================
2017-01-01,New Year's, Tahun Baru
2017-05-01, International Labor Day, Hari Buruh Internasional
2017-08-17, Indonesia Independence Day, Hari Kemerdekaan RI
2017-12- 25, Christmas Day, Hari Raya Natal
===============================================
2018-01-01,New Year's, Tahun Baru
2018-05-01, International Labor Day, Hari Buruh Internasional
2018-08-17, Indonesia Independence Day, Hari Kemerdekaan RI
2018-12- 25, Christmas Day, Hari Raya Natal
===============================================
2019-01-01,New Year's, Tahun Baru
2019-05-01, International Labor Day, Hari Buruh Internasional
2019-08-17, Indonesia Independence Day, Hari Kemerdekaan RI
2019-12- 25, Christmas Day, Hari Raya Natal
===============================================
2020-01-01,New Year's, Tahun Baru
2020-05-01, International Labor Day, Hari Buruh Internasional
2020-08-17, Indonesia Independence Day, Hari Kemerdekaan RI
2020-12- 25, Christmas Day, Hari Raya Natal
===============================================
Thank you
Logged
Online hotel reservation -
http://www.easyresv.com
datahell
Elxis Team
Hero Member
Posts: 10356
Re: mod_iosr_holidays ( limited country )
«
Reply #5 on:
January 17, 2014, 19:50:07 »
Upload the file I attach inside the zip (
id.php
) in this folder:
components/com_reservations/ext/hotels/includes/holidays/
Especially for
module holidays
you also need to do these:
1.
Open the XML file
modules/mod_iosr_holidays/mod_iosr_holidays.xml
Add this in the list of countries:
<option value="ID">ID - Indonesia</option>
2.
Open the PHP file
modules/mod_iosr_holidays/mod_iosr_holidays.php
Set
$supported_countries
(line 27) to this:
private $supported_countries = array('BG', 'BR', 'CY', 'DE', 'ES', 'FR', 'GB', 'GE', 'GR', 'HR', 'ID', 'IN', 'IT', 'LV', 'NL', 'PL', 'PT', 'RU', 'SE', 'TH', 'TR', 'US', 'ZA', 'ZN');
Logged
Elxis Team
|
Is Open Source
|
IOS Rentals | IOS AERO
wieyoga
Jr. Member
Posts: 77
Re: mod_iosr_holidays ( limited country )
«
Reply #6 on:
January 18, 2014, 00:38:31 »
Thanks alot
Logged
Online hotel reservation -
http://www.easyresv.com
Print
Pages: [
1
]
« previous
next »
Elxis CMS Forum
»
Extensions
»
Components
»
mod_iosr_holidays ( limited country )