2017 © Pedro PelĂĄez
 

library canarium-plugins-airbnb-quote

Airbnb quote calculator plugin for Canarium

image

unarealidad/canarium-plugins-airbnb-quote

Airbnb quote calculator plugin for Canarium

  • Thursday, January 26, 2017
  • by unarealidad
  • Repository
  • 0 Watchers
  • 0 Stars
  • 0 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 1 Forks
  • 0 Open issues
  • 1 Versions
  • 0 % Grown

The README.md

CanariumAirbnbQuote

Airbnb quote calculator plugin for Canarium, (*1)

Installation

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

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

Exposed Pages

None, (*8)

Additional Customization

Overriding Plugin Template

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)

Exposed Services

canariumShowBookingWidget View Helper

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)

The Versions

26/01 2017

dev-master

9999999-dev http://www.canarium.ph

Airbnb quote calculator plugin for Canarium

  Sources   Download

MIT

hotels airbnb canarium una realidad