dev-master
9999999-dev http://www.canarium.phAirbnb quote calculator plugin for Canarium
MIT
hotels airbnb canarium una realidad
Airbnb quote calculator plugin for Canarium
Airbnb quote calculator plugin for Canarium, (*1)
Install via composer:, (*2)
composer require unarealidad/canarium-plugins-airbnb-quote dev-master
, (*3)
Add CanariumAirbnbQuote
to your Appmaster's config/application.config.php
or your Appinstance's config/instance.config.php
under the key modules
, (*4)
Copy the global config data/googlesso.global.php.dist
to your Appinstance's config/autoload/
directory and remove the .dist
extension. This is the global configuration., (*5)
Copy the sample config config/canariumairbnbquote.local.php.dist
to your Appinstance's config/autoload/
directory and remove the .dist
extension. Customize the options if you need to., (*6)
Configuration main key: canariumairbnbquote
Sample Config file: config/canariumairbnbquote.local.php.dist
, (*7)
Config Item | Sample Value | Required | Description |
---|---|---|---|
host_ids | array('host_id1' => 'host name', 'host_id2' => 'host name') | true | The list of airbnb host ids to select |
date_format | 'Y m d' | true | The format that will be used for the date selection |
locale | 'en-AU' | true | The locale that will be used for querying airbnb apis |
currency | 'AUD' | true | The currency to use |
None, (*8)
By default, the plugin will render the template in view/canarium-airbnb-quote/widget/show_booking_widget.phtml
. To override this, you need to pass the template when calling $this->canariumShowBookingWidget()
in your template files:, (*9)
$this->canariumShowBookingWidget(<path_to_template>);
, (*10)
This plugin will expose a View Helper that can be used in any part of your canarium template., (*11)
$this->canariumShowBookingWidget(<path_to_template>)
, (*12)
If <path_to_template>
is not specified, then the plugin will render view/canarium-airbnb-quote/widget/show_booking_widget.phtml
., (*13)
Airbnb quote calculator plugin for Canarium
MIT
hotels airbnb canarium una realidad