Panda Resort
a web software to create and manage websites for SINGLE hotel, resort, spa...

Panda Resort uses Pandao CMS, a Content Managment System which contains a simple, ergonomic and complete admin panel which allows you to manage easily the content of your website coupled with an easyly customizable template.
Specific modules: bookings, rooms, packages, rates, currencies, extra services and facilities, activities, coupons, taxes...
Pandao CMS is fully responsive, so use it as well on your smartphone as on your computer.
Based on PDO/MySQL - PHP 4.x/5.x/7.x/8.x - HTML5 - CSS3 - Bootstrap 3.x

Latest update: 05/08/2021 - By: Pandao

Admin panel Demo Front office Demo Purchase & Download

Thank you for purchasing our CMS. If you have any questions that are beyond the scope of this help file, please contact us. Thanks so much!

Features

Installer

This product provides an installation wizard:

  1. Unzip the archive
  2. Upload the files on your server
  3. Create an empty database
  4. Go to the URL of your website
  5. Fill in the fields with your information and click on Install

Manual installation

It happens that the installer failed because of your specific server configuration. Don't worry, you can make a manual installation.
To make a manual installation following these steps:

  1. Unzip the archive
  2. Upload the files on your server
  3. Create an empty database
  4. Rename /common/config-tmp.php as /common/config.php and edit the content
  5. Rename /htaccess.txt as /.htaccess and edit the line 67:
    >> Replace {DOCBASE} with / (unless your website is in a subdirectory, for ex: /dev/mywebsite/)
  6. Edit the file /common/db.sql and replace the values specified at the beginning of the file ("search and replace" function of your text editor is usefull) in the entire file:
    • MY_DATABASE: database name
    • MY_DB_USER: username (if required by your host)
    • MY_DB_PASS: password (if required by your host)
    • USER_EMAIL: email of the administrator
    • USER_LOGIN: username of the administrator
    • USER_PASS: password of the administrator
    • INSTALL_DATE: current date (timestamp >> generate a timestamp)
  7. Execute this script in your SQL manager (like phpMyAdmin for example)
If you rename the /admin folder manually (not from the admin panel settings), you must rename it also in the file /.htaccess and in the file /common/config.php (ADMIN_FOLDER_NAME).

According to your host, you may need to grant the rights 777 (r+w+x) to the following files:

  • /common/config.php    website settings editable from the admin panel
  • /medias/    the files and pictures of dynamic elements like articles, slideshow...
  • /.htaccess    server configuration rules, basedir and url rewriting
To set 777 rights on "/medias/" folder including all the files within all the subfolders, use the unix command from the /medias/ directory: chmod -R 777 ./

Edit settings

First of all, after the installation, add your settings (database connection, contact information, website name...) in the settings section of the admin panel.
You can also edit the settings manually directly from the file /common/config.php

To access to the admin panel : http://www.mywebsite.com/admin

Settings details (/common/config.php)

Name Expected type / values Description
SITE_TITLE text Title of the website
TIME_ZONE text "Europe/London"
DATE_FORMAT text (allowable formats) e.g. %F
LANG_ENABLED 1 or 0 Enables or disables the foreign languages (multilingual or not)
ADMIN_LANG_FILE en.ini Translation file name from /admin/includes/langs/
ENABLE_COOKIES_NOTICE 1 or 0 Enables or disables the cookies notices
MAINTENANCE_MODE 1 or 0 Enables or disables the maintenance mode
MAINTENANCE_MSG text HTML content of the maintenance page
TEMPLATE text Name of the template in use (name of the folder)
OWNER text Contact name
EMAIL text Contact email
ADDRESS text Contact address
PHONE text Contact phone
MOBILE text Contact mobile
FAX text Contact fax
DB_NAME text Database name
DB_HOST text Database host (localost)
DB_PORT integer Database port (3306)
DB_USER text Database user
DB_PASS text Database password
SENDER_EMAIL text Email of the sender
SENDER_NAME text Name of the sender
USE_SMTP 1 or 0 Use SMTP to send emails
SMTP_SECURITY "" | "ssl" | "tls" Security of the SMTP connection
SMTP_AUTH 1 or 0 Enable SMTP autentication
SMTP_HOST text Name of the SMTP server
SMTP_USER text Username
SMTP_PASS text Password
SMTP_PORT integer Usually 25, 465 (SSL) or 587 (TLS)
GMAPS_API_KEY text Google Maps API key (required for domains not active prior to June 22nd, 2016)
ANALYTICS_CODE text Google Analytics code (without <script> tags)
ADMIN_FOLDER text Admin folder name ("admin")
AUTOGEOLOCATE 1 or 0 Change the currency according to the country (https required)
PAYMENT_TYPE comma separated values: cards,paypal,check,arrival Available payment methods
PAYPAL_EMAIL text Paypal account email
VENDOR_ID text 2Checkout.com account number
SECRET_WORD text 2Checkout.com secret word
PAYMENT_TEST_MODE 1 or 0 Enables or disables the test mode
ENABLE_DOWN_PAYMENT 1 or 0 Enables or disables the down payment
DOWN_PAYMENT_RATE integer Down payment rate (%)
ENABLE_TOURIST_TAX 1 or 0 Enables or disables the tourist taxt
ENABLE_TOURIST_TAX 1 or 0 Enables or disables the tourist taxt
TOURIST_TAX decimal Tousist tax amount or rate (%)
TOURIST_TAX_TYPE "fixed" or "rate" Tourist tax type
ALLOW_COMMENTS 1 or 0 Allows or disallows comments on rooms
ALLOW_RATINGS 1 or 0 Allows or disallows rating (0-5) on rooms
ALLOW_RATINGS 1 or 0 Allows (if comments enabled) or disallows ratings (0-5) on room
ENABLE_BOOKING_REQUESTS 1 or 0 Enables or disables the booking requests if no availability

The package contains basic modules like the articles, the pages, the comments, the slideshow, etc.

The first part of a module section lists recorded elements for this module, the second part is a form to add or modify an element.
In the settings section, you can manage the parameters essential to the smooth running of the web site and its manager.

Add / configure your own modules

You can add and personalize your own modules:

  1. Duplicate the folder /admin/modules/.TABLE_NAME_WITHOUT_PREFIX/ and its content
  2. Rename it with the same name of the table in the database without the prefix "pm_" (module name = table name without prefix = folder name)
  3. Edit the file db.sql in the module folder and execute this script in your phpMyAdmin
  4. Edit the file config.xml in the module folder

Database: db.sql

-- ================ CREATION OF THE TABLE pm_article =============

CREATE TABLE IF NOT EXISTS pm_article(
    id int NOT NULL AUTO_INCREMENT,
    lang int NOT NULL,
    title varchar(250),
    subtitle varchar(250),
    alias varchar(100),
    text longtext,
    url varchar(250),
    tags varchar(250),
    id_page int,
    id_user int,
    home int DEFAULT 0,
    checked int DEFAULT 0,
    rank int DEFAULT 0,
    add_date int,
    edit_date int,
    publish_date int,
    unpublish_date int,
    comment int DEFAULT 0,
    PRIMARY KEY(id, lang)
) ENGINE=INNODB DEFAULT CHARSET=utf8;

ALTER TABLE pm_article ADD CONSTRAINT article_lang_fkey FOREIGN KEY (lang) REFERENCES pm_lang(id) ON DELETE CASCADE ON UPDATE NO ACTION;
ALTER TABLE pm_article ADD CONSTRAINT article_page_fkey FOREIGN KEY (id_page, lang) REFERENCES pm_page(id, lang) ON DELETE CASCADE ON UPDATE NO ACTION;

Usefull and reserved columns names for the tables

  • id : required
  • lang : required if "multi" attribute has the value 1 in config.xml (for multilingual modules)
  • rank : required if "ranking" attribute has the value 1 in config.xml (if the elements can be sorted with drag'n'drop on the list)
  • home : required if "home" attribute has the value 1 in config.xml (if the element can appear on homepage)
  • checked : required if "validation" attribute has the value 1 in config.xml (if the element can be published or not)
  • add_date / edit_date : required if "date" attribute has the value 1 in config.xml (if the element needs a add date and an edit date)
  • publish_date / unpublish_date : required if "release" attribute has the value 1 in config.xml (if the release of the element needs to be sheduled)

Conserve the "TABLE_NAME_file" if the element neads medias (pdf, pictures, videos...)

Configuration: config.xml

The file config.xml define the module settings and the columns displayed in list.php and form.php (/admin/module/default/). config.xsd check the syntax of this document

<?xml version="1.0" encoding="UTF-8"?>
<module title="Articles" name="article" multi="1" library="1" dashboard="1" icon="thumb-tack" ranking="1" home="1" validation="1" dates="1" release="1" index="1">
    <!-- resizing
    [0] 1 single image
    [1] 1x big, 1x medium, 1x small -->
    <medias max="30" resizing="1">
        <big maxw="1920" maxh="1440"/>
        <medium maxw="600" maxh="600"/>
        <small maxw="400" maxh="400"/>
    </medias>
    <list order="rank">
        <filter label="Page" name="id_page" table="pm_page" fieldlabel="name" fieldvalue="id" order="name"/>
        <col label="Title" name="title" type="none"/>
        <col label="Page" name="id_page" table="pm_page" fieldvalue="name" fieldref="id"/>
    </list>
    <form>
        <field multi="1" label="Title" name="title" type="text" required="1" unique="0" validation="none"/>
        <field multi="1" label="Subtitle" name="subtitle" type="text" required="0" unique="0" validation="none"/>
        <field multi="1" label="Alias" name="alias" type="text" required="1" unique="1" validation="none" comment="Article URL"/>
        <field multi="1" label="Text" name="text" type="textarea" editor="1" required="0" unique="0" validation="none"/>
        <field multi="1" label="URL" name="url" type="text" required="0" unique="0" validation="none"/>
        <field multi="0" label="Page" name="id_page" type="select" required="1" unique="0" validation="none">
            <options table="pm_page" fieldlabel="name" fieldvalue="id" order="name"/>
        </field>
        <field multi="0" label="Tags" name="tags" type="multiselect" required="0" unique="0" validation="none">
            <options table="pm_tag" fieldlabel="value" fieldvalue="id" order="value"/>
        </field>
        <field multi="0" label="Allow comment ?" name="comment" type="radio" required="1" unique="0" validation="none" roles="administrator">
            <options>
                <option value="1">Yes</option>
                <option value="0">No</option>
            </options>
        </field>
        <field multi="0" label="User" name="id_user" type="select" required="1" unique="0" validation="none" roles="administrator">
            <options table="pm_user" fieldlabel="login" fieldvalue="id" order="login"/>
        </field>
    </form>
    <roles>
        <user type="administrator" permissions="all"/>
        <user type="manager" permissions="all"/>
        <user type="editor" permissions="add,edit,upload"/>
    </roles>
</module>

XML structure

<module> has the following attributes

Name Expected type / values Description
title text title of the module
name text column name in the table
multi 1 or 0 enables or disables the foreign languages (multilingual or not)
library 1 or 0 the medias of the module appear or not in the library of medias on the form page
dashboard 1 or 0 shows or hides a focus box on the manager homepage
icon text the icon associated with the module (it's the suffix of "Font Awesome": fa fa-xxxx)
ranking 1 or 0 enables or disables the ranking of the elements in the list
home 1 or 0 possible or not to show/hide an element on the homepage
validation 1 or 0 possible or not to publish/unpublish an element
dates 1 or 0 enables or disables the add date and the edit date
release 1 or 0 possible or not to shedule the release of an element
index integer > 0 rank of the module in the main menu

<module> contains 1 element <media>, 1 element <list>, 1 element <form> and 1 element <roles>

<medias> has the following attributes

Name Expected type / values Description
max integer maximum number of medias
resizing 1 or 0 resizing type for the picture: "0" = 1 single image, "1" = 1x big, 1x medium and 1x small

<medias> contains 1x <big>, 1x <medium> and 1x <small>

<big>, <medium> and <small> has the following attributes

Name Expected type / values Description
maxw integer maximum width of the pictures in pixels
maxh integer maximum height of the pictures in pixels

<list> has the following attributes

Name Expected type / values Description
order text column name in the table followed by DESC or ASC if necessary

<list> contains 1 or more elements <col>

<col> has the following attributes

Name Expected type / values Description
label text title in the header cel
name text column name in the table
type "date" | "price" | "none" (for text) display format (price: currency in fn_form.php)
table text table referencing the values (optional)
fieldref text column name referencing the values of this table (visible, optional)
fieldvalue text column name containing the value referenced by "fieldref" (hidden, optional)

<form> contains 1 or more elements <field>

<field> has the following attributes

Name Expected type / values Description
multi 1 or 0 display for all languages or not
label text label of the field (optional)
type "radio" | "text" | "textarea" | "select" | "checkbox" | "date" | "current_date" | "separator" field type
editor 1 or 0 CKEditor or basic input
name text column name in the table or other for a "separator" field, it must be unique for a module
required 1 or 0 required value or not
validation "mail" | "numeric" | "none" validation type
unique 1 or 0 unique value in the table or not (e-mail for exmaple)
comment text instruction about this field
roles comma separated values: administrator, manager, editor user types allowed to edit this field

<roles> contains 3 elements <user> (1 for each type of user)

<user> has the following attributes

Name Expected type / values Description
type "administrator" | "manager" | "editor" type of user
permissions comma separated values: all, add, edit, delete, publish, upload, no_access permissions for this user

More about the field types

  • radio : radio buttons - the options are defined into the <options> tag
  • select : drop-down list - the options are defined into the <options> tag
  • multiselect : multiple-choice list - the options are defined into the <options> tag
  • checkbox : as the name suggests - the options are defined into the <options> tag
  • text : text field
  • textarea : as the name suggests
  • date : automatic drop-down lists with year, month, day (converted in timestamp)
  • datetime : automatic drop-down lists with year, month, day, hours, minutes, seconds (converted in timestamp)
  • current_date : hidden field with the current date (timestamp)
  • separator : separator between different parts of the form

More about the <options> tag

<field> can contain a <options> tag which define the options of the "checkbox", "radio" and "select" fields

  1. the options are "continuous" values
    <options> tag must contain 1 <min> and 1 <max> tags
  2. the options are "one-off"
    L'élément <options> devra comporter un ou plusieurs éléments <option> contenant le libellé de l'item.
    each <option> tag must contain an attribute "value" like the html tag.
  3. the options are stored in a specific table of the database
    <options> must contain the following attributes
    • table : table name containing the values
    • fieldlabel : column name of the item label (visible)
    • fieldvalue : column name of the item value (hidden)

PayPal: express checkout

  1. No Paypal account? Create one here.
  2. If you need to make tests:
    1. Create 2 sandbox test accounts (1 business and 1 personal) via PayPal Developer.
      For example pandao.buyer@gmail.com and pandao.merchant@gmail.com.
    2. Enable the payment test mode in the Pandao admin panel:
      Admin > Settings > Booking > "Enable payment test mode" => Yes.
    3. Insert your PayPal test email (business) in the Pandao admin panel:
      Admin > Settings > Booking > "PayPal email".
    4. Test your application by making a booking with the PayPal test account (personal).
  3. Insert your PayPal email (live account) in the Pandao admin panel:
    Admin > Settings > Booking > "PayPal email".
  4. Enable live payment in your PayPal account: https://developer.paypal.com/docs/classic/lifecycle/goingLive/.
  5. Disable the payment test mode in the Pandao admin panel:
    Admin > Settings > Booking > "Enable payment test mode" => No.
  6. It's over!

2Checkout.com: credit cards

  1. If you need to make tests:
    1. Create a sandbox account here.
    2. Log in to your sandbox account.
    3. Get your test account number.
    4. Get your test account secret word.
    5. Define the return URL called by 2Checkout.com when a booking is performed here:
      > Order created > Enable and past URL > Save Settings.
      This URL must be: http://REPLACE_WITH_YOUR_SITE_URL/includes/payments/2checkout_notify.php
    6. Set the setting Direct Return to "Direct Return (Our URL)" in your Sandbox account.
    7. Enable the payment test mode in the admin panel:
      Admin > Settings > Booking > "Enable payment test mode" => Yes.
    8. Insert your sandbox account number in the Pandao admin panel:
      Admin > Settings > Booking > "2Checkout vendor ID".
    9. Insert your sandbox secret word in the Pandao admin panel:
      Admin > Settings > Booking > "2Checkout secret word".
    10. Test your application by making a booking.
  2. No 2Checkout account? Create one here.
  3. Log in to your live account.
  4. Get your live account number.
  5. Get your live account secret word.
  6. Define the return URL called by 2Checkout.com when a booking is performed here:
    > Order created > Enable and past URL > Save Settings.
    This URL must be: http://REPLACE_WITH_YOUR_SITE_URL/includes/payments/2checkout_notify.php
  7. Set the setting Direct Return to "Direct Return (Our URL)" in your Live account.
  8. Insert your live account number in the Pandao admin panel:
    Admin > Settings > Booking > "2Checkout vendor ID".
  9. Insert your live secret word in the Pandao admin panel:
    Admin > Settings > Booking > "2Checkout secret word".
  10. Disable the payment test mode in the admin panel:
    Admin > Settings > Booking > "Enable payment test mode" => No.
  11. It's over!

You can synchronize your website with all OTA like Booking.com, Airbnb, and so on. Don't waste time and keep your calendars up to date with this feature.

Enable iCal

  1. Enable the iCal feature in the Pandao admin panel:
    Admin > Settings > Booking > "Enable iCal synchronization".
  2. Under this field, you can:
    • Enable the automatic execution of the synchronization.
    • Define the automatic synchronization interval (daily or hourly).
    • Define the automatic synchronization clock if the interval is set on "daily".

Import calendars

Then you need to bind the external calendars from the OTA (Booking.com, Airbnb...) to each room in your Pandao admin panel.

  1. Add external calendars in Admin > Modules > Rooms > Edit > External iCal calendars > New entry:
  2. Give a title to your calendar (for example the name of the OTA: Booking.com)
  3. Fill the URL that you get from the OTA website and ocrresponding to this accomodation
  4. Save when all calendars are added.

You can always execute the synchronization manualy in the listing by clicking on the button "Synchronize all calendars" on top.
If you chose the automatic method, the external bookings will be imported automatically daily or hourly, only if a client visits your website to prevent unnecessary server requests.

Export calendars

For each room, you can export the iCal calendar of the bookings in the form of each room:

  1. Admin > Modules > Rooms > Edit
  2. Scroll until the section "iCal Synchronization"strong> at the bottom
  3. Click on " Copy" or " Download the calendar"
  4. Import this calendar or URL on your own calendar or OTA website

The folder /templates/ lists the templates of your website. The folder default/ is the basic default template.
You can choose to edit the existing template or add you own.

Files structure

The template contains 5 folders:

  • common/: common files for all models
    • header.php: <head> tag with meta tags, css and js scripts... and the top of the web site (logo, navigation, flags...)
    • page_header.php: top of all internal pages (heading 1, breadcrumb...)
    • footer.php: <footer> tag with widgets and the copyrights
    • get_articles.php: articles of a page
    • get_images.php: images of an article (e.g. gallery)
    • comments.php: the form to add comments and layout of the reviews about the current item (hotel, article, page...)
    • change_currency.php: called when the user change his preferred currency
    • 2checkout_notify.php: called by 2Checkout.com after payment (database update, sending of emails)
    • paypal_notify.php: called by PayPal after payment (database update, sending of emails)
    • get_rooms.php: list of rooms (rooms.php)
    • get_activities.php: list of activities (activities.php)
    • get_activity_sessions.php: the sessions of the selected date in the booking activities page (booking-activities.php)
    • get_days_activity.php: the availabilities of the calendars in the booking activities page (booking-activities.php)
    • get_days.php: the availabilities of the calendars in the results of the booking search engine (booking.php)
    • search.php: booking search engine
    • update_booking.php: called when the user adds/changes extra services of the booking (details.php)
  • css/: stylesheets
    • layout.css: basic layout (Pandao CMS)
    • main.css: main layout of Panda Resort
    • custom.css: your own rules to customize the basic rules or add yours
    • colors.css: rules about colors of texts, buttons, backgrounds, border, etc (copy the content of a color file and past in colors.css)
  • images/: as the name suggests... the images used by the template. Replace the following files:
    • logo.png
    • favicon.png
    • header-mail.png: banner used in the emails sent
    • page-header.jpg: header image of the internal pages
  • models/: models files of the template.
    The models are simply PHP files which defines the models of pages and articles.
    • home.php: homepage
    • page.php: simple page with articles (or not)
    • article.php: a single article
    • blog.php: blog model with articles
    • article-blog.php: a single article from blog
    • gallery.php: a gallery with its pictures (e.g. album)
    • contact.php: contact form
    • sitemap.php: sitemap
    • search.php: search engine results
    • 404.php: custom 404 page
    • booking.php: booking search engine results (rooms)
    • booking-activities.php: step 2 of the booking process => activities
    • details.php: step 3 => contact information and extra services
    • summary.php: step 4 => summary of the booking
    • payment.php: step 5 => payment choice (if multiple payment modes), database update, payment system call (for PayPal and 2Checkout.com)
    • rooms.php: list of all rooms
    • room.php: a single room
    • activities.php: list of all activities
    • activity.php: a single activity
    Create your own models (php file in the folder "models") and bind a page to this model in the admin panel:
    Admin > Modules > Pages > Add/Edit > Page model / Article model
  • widgets/: widgets files of the template:
    • contact_informations.php: name, address, phone numbers, email of the owner (displayed in the footer)
    • footer_form.php: currencies, languages and global search engine
    • latest_articles.php: most recent articles displayed in the footer
    • pages_list.php: list of pages of the current page
    Create your own widgets (php file in the folder "widgets") and bind a widget to this file in the admin panel:
    Admin > Modules > Widgets > New/Edit > Type

Pages VS Articles

There are 2 possible levels of models for each page:

  • page (required): defines the page model (e.g. home.php, page.php, contact.php...)
  • article  (optional): defines the model of each article of this page (e.g. article.php, article-blog.php, gallery.php)
URL example
Example of page URL http://www.mywebsite.com/my-page
Example of article URL of "my-page" http://www.mywebsite.com/my-page/my-article
Don't forget to define an alias (string of characters without spaces or accents displayed in the URL of the page) for your pages or articles for each language.
You can specify the alias in Admin > Modules > Pages (or Articles) > Edit/New > Alias.
E.g. http://www.mywebsite.tld/my-page (my-page is the alias of the page)

Add custom CSS stylesheets and JS plugins

Add CSS and JS files in your models at the begining of the PHP model file.
Example for models/page.php which needs Isotope and jQuery LazyLoader plugins:

/* ==============================================
 * CSS AND JAVASCRIPT USED IN THIS MODEL
 * ==============================================
 */
$stylesheets[] = array("file" => DOCBASE."js/plugins/isotope/css/style.css", "media" => "all");
$javascripts[] = DOCBASE."js/plugins/isotope/jquery.isotope.min.js";
$javascripts[] = DOCBASE."js/plugins/isotope/jquery.isotope.sloppy-masonry.min.js";

$stylesheets[] = array("file" => DOCBASE."js/plugins/lazyloader/lazyloader.css", "media" => "all");
$javascripts[] = DOCBASE."js/plugins/lazyloader/lazyloader.js";

Back Office

To translate the back office, simply change the language in > Settings > General > Admin panel language.
You can add translation files in /admin/includes/langs/xx.ini where xx is the code of your language.
Example:

BACK_TO_LIST="Back to list"
SAVE="Save"
SAVE_EXIT="Save and exit"
REPLICATE="Replicate"
EXPECTED_IMAGES_SIZE="Expected images size:"
RELEASE="Release"
...

Front Office

To translate the front office, enable the foreign language in Admin > Settings > General > Enable foreign languages.
Add languages in Admin > Modules > Languages > New.
Edit the content for each language directly in the modules. When you add or edit an item, you can move between tabs, one per language.
You can also translate the "small texts" like notices, captions, labels... in the module Texts in the admin panel.

Add an item (article, page...)

  1. Go to Admin > Modules > Then select the item type (for example Articles)
  2. Click on "New" in the top bar
  3. Fill in the form without missing the required fields
  4. Click on "Save" to register. The item is added.

Edit an item

  1. Go to Admin > Modules > Then select the item type (for example Articles)
  2. Click on the icon "pen" in the column Actions in front of the element to edit
  3. Edit the values in the form without missing the required fields
  4. Click on "Save" to register. The item is modified.

Sort items

  1. Go to Admin > Modules > Then select the item type (for example Articles)
  2. Click and hold down on the row of an element and move up or down towards the new location
  3. The order of the item is modified.

Add files (images, documents, videos) to an item

  1. Go to Admin > Modules > Then select the item type (for example Articles)
  2. Click on the icon "pen" in the column Actions in front of the element to edit
  3. At the bottom of the form, click on the button "Choose a file"
  4. Select the files on your machine (10 max / upload) and click on "Open"
  5. The files upload automatically
  6. Click on "Save" after the upload completed to register. The medias are added.
These media are used in the slideshow, in articles as images slider or in the gallery model.
The first image is usually used as a thumbnail of an article.
To add an image in the content of a page (in the middle of the text for example), use the following method.

Add images in the content of a page

  1. Go to Admin > Modules > Medias
  2. Click on "New" in the top bar
  3. Click on the button "Choose a file"
  4. Select the file on your machine and click on "Open"
  5. The file uploads automatically
  6. Click on "Save" after the upload completed to register. The media is added
  7. Go to Admin > Modules > Pages
  8. Click on the icon "pen" in the column Actions in front of the element to edit
  9. A panel containing all the medias opens at the right side of the screen
  10. Drag and drop the media towards the main text area (editor)
  11. Make layout changes if needed
  12. Click on "Save" to register. The item is modified.
These media are used in the slideshow, in articles as images slider or in the gallery model.
The first image is usually used as a thumbnail of an article.
To add an image in the content of a page (in the middle of the text for example), use the following method.

Add a page

  1. Go to Admin > Modules > Pages
  2. Click on "New" in the top bar
  3. Fill in the form without missing the required fields
    • Title is the main title (level 1 or <h1>) which will appear at the top of this page.
    • Subtitle will appear below (level 2 or <h2>).
    • Title tag is the title of the browser window. This value is not visible on the website but is very important for SEO.
    • Alias is the name of the page in lowercase with no space, no accent and no special characters. This value is displayed in the URL of the page.
    • Parent page is the page above the new page in the tree, i.e. the added page will be a subpage.
    • Page model determines the layout and type of content displayed. "Page" is the default value.
    • Article model determines the layout of the articles on this page. "Article" is the default value.
    • The "Robots" field is used by the search engines that browse the website. "Index, follow" means that the robot saves the page in its index and follows the links there. "noindex,nofollow" means "do not index and not follow", useful for pages that you don't want to appear on Google because the content is reserved or devoid of interest.
    • In the special case of the "Pages" module, the "Home" field should only be set to "yes" for the homepage.
  4. Click on "Save" to register. The item is added.
Don't insert images directly in this module, they won't be displayed.
The images (illustrations) and PDF or other document displayed in the body of the text of the pages must be inserted in the "Medias" module. Then drag and drop from the right side panel to the "Pages" module text editor.

Add a menu item

  1. Go to Admin > Modules > Menus
  2. Click on New in the top bar
  3. Fill in the form without missing the required fields
    • Parent item is the parent menu, i.e the added menu will be a submenu.
    • Item type is the content type which will be displayed after clicking on the menu.
    • Item id is the ID of the article or page (according to the item type the menu will display).
      To get the ID, go to Modules > Articles or Pages (still according to the item type), it's the value of the column ID in front of the selected element
    • URL is required for the item type "URL". It's an external URL towards another website for example.
    • Main menu is the menu on the top of the website, select Yes to add the item in this menu.
    • Footer menu is the menu at the bottom, select Yes to add the item in this menu.
  4. Clic on Save to register. The item is added.

Add prices / availabilities

When you add a room in the admin panel, you define a default price, but this price is not used to check availabilities. You need to add rates (prices) for each room in the admin panel: Admin > Modules > Rates.
If you don't add prices in the module Rates, the booking search result will show "No availability".
  1. Go to Admin > Modules > Rates
  2. Click on New in the top bar
  3. Fill in the form without missing the required fields
    • Start and End dates defined the priod of the price.
    • Package is the type of the price (defines the min and max nights, the days of the week and the days for check in / out).
    • Price / night is the price per night for the number of people defined.
    • Num people is the number of guests included in the price (e.g. 2 if the price is for 2 persons). If equals to 0, the fields "Price / extra adult / night" and "Price / extra child /night" will be used instead of "Price / night" (usefull to define a price per person instead of per room).
    • Price / extra adult / night and Price / extra child /night define the price per guest if the number of people is greater than "Num people".
    • Fixed supplement / stay is added to the total amount of the stay.
    • Discount is the amount or the rate (%) deducted from the amount.
    • Discount type is the type of discount (rate = percentage or fixed = amount).
    • Included tax is the tax included in the displayed prices (e.g. VAT).
    • Added taxes are taxes added to the amount (e.g. Luxury tax). Important: can't be "VAT".
  4. Clic on Save to register. The item is added.
You can add your own package in Admin > Modules > Packages