Tips for install the package EI Hotels Template
Content of EI Hotels package
- tpl_eihotels_1.x.zip
- mod_nivoslide_trip_1.x.zip
mod_iosr_topdestinations_speck_1.1.zip
mod_iosr_hsearch_eihotels_1.1.zip - eihotels_images.zip
- PNG_eihotels.zip
- eihotels.sql (Elxis 4.5 Thypon- IOS Reservation 4.3 - IOSR Hotels 2.3)
- readme.pdf (english instructions to install)
- leggimi.pdf (italian instructions to install)
1 - Install Elxis4, IOSR Reservations and IOSR Hotel extensions
Install Elxis version 4.5
Install IOSR Reservation vers 4.3
Install IOSR Hotels vers. 2.3
Install all modules contents in the IOSR Reservations and IOSR Hotels packages.
Don't install the extension mod_iosr_topdestinations_1.0.zip
In the template package there's the same extensiosn modified with a little improvement.
2 - Additional modules required
Below are listed the modules and plug-ins used in the demo site Company Template and needed to get your site ready to go fully functional:
- RSS/Atom - Social Networks 1.x (module)
Newsletters 1.x (module)
Install these extensions in Administrative Panel of Elxis 4.
3 - Install EI Hotels template and other extension in the package.
Unzip the EI Hotels Package where you want and in Administrative Panel of elxis4 proceed to install:
- tpl_eihotels_1.x.zip
- mod_nivoslide_trip_1.x.zip
- mod_iosr_topdestinations_speck_1.1.zip
mod_iosr_hsearch_eihotels_1.1.zip
put your site off-line
4 - Restore the example database
Restoring the file batch file eihotels.sql, you can have your site completely set with modules placed as in the example site http://hotels.elxisitalia.com/eihotels, with all module positions already setted. Recommended if you do not use other templates in elxis4. Otherwise you will need proceed manually to setup.
Open the "eihotels.sql" with a text editor or wordpad, find and replace "http://127.0.0.1/" with the your domine name:
example: http://127.0.0.1/ -> http://www.mydomine.com/
If the suffix used during the original installation of elxis is different of elx_, find and replace elx_ with the suffix used.
example: elx_ -> mysuffix_
Find and replace "mysuff_ with the "elx_
example: "mysuff_ -> "elx_
Save the file in UTF-8
If the package must be in a subsite with his defined database, or better the u don't want sharing the database of principal site::
- find and replace "images/" with "images/subsite/"
example: images/ -> images/site2/
- find and replace "templates/system/images/subsite/" with"templates/system/images/"
example: templates/system/images/site2/ -> templates/system/images/
Save the file in UTF-8
Open the phpMyAdmin of your site, or with the software you use to manage MySql databases, import the batch file "eihotels.sql"
5 - Upload the images used in the demo site
Do this operation if you have restored the batch file eihotels.sql.
Make this operation after the installation of IOSR Reservations, IOSR Hotels and other extensions that the example site request
Unzip where you want on your pc the file eihotels_images.zip.
Upload all content in to the root of your elxis site.
You can add so all images used in the example site of IOSR Reservations and IOSR Hotels and a css file (eihotels) for iosr hotels
If the package must be in a subsite with his defined databae, or better u don't want sharing the database of principal site, by ftp create:
1) media/images/subsite/ (example: media/images/site2/), and copy in this folder all content of /media/images/ folder.
2) modules/mod_nivoslide_trip/images/subsite/ (example: modules/mod_nivoslide_trip/images/site2/), and copy in this folder all content of /modules/mod_nivoslide/images/ folder.
6 - Configuring your server for .HTC file
This template use file PIE.HTC for advanced CSS classes to create round borders, shadow. Be sure your server gives the possibility to manage MIME Types.
If yes, to be compatible with IE7-8 & 9 you must check set the MIME Types of your server or add a new MIME Type:
File extension: .HTC
MIME TYPE: text/x-component
If on your server you hane not the possibility to manage MIME Type, try to add this line in the .htacces
AddType text/x-component .HTC
Create a text page using the code generated at http://css3pie.com/
7 - Configuring file .htaccess
For to have a great layout and funcionality, for this template has been hidden two parts of IOSR reservations and IOSR Hotel.
Please open your file .htaccess and add at the top of file, these two command lines:
Redirectmatch ^/reservations/hotels/$ http://yourdomine/
Redirectmatch ^/reservations/$ http://yourdomine/
If the template is in a subsite:
Redirectmatch ^/subsite_name/reservations/hotels/$ http://yourdomine/subsite_name/
Redirectmatch ^/subsite_name/reservations/$ http://yourdomine/subsite_name/
Now your site is ready to put online, all perfectly configured to be modified and expanded with your personal contents.