Этот плагин не тестировался с последними 3 основными выпусками WordPress. Скорее всего, он уже не поддерживается и может быть несовместим с текущими версиями WordPress.

Tixys Widget

Описание

Tixys is a booking plattform for long-distance coaches. This plugin uses the Tixys API to provide an interactive search for travel connections.

This is very handy for companies who have a Tixys shop and want to embed a booking form into their own website. It may also be used by partners and affiliates of such companies.

Установка

  1. Install the plugin from the WordPress repository.
  2. Go to Settings → Tixys, and enter your shop ID, domain and path.
  3. Edit the page on which the form is to be embedded.
  4. Use the shortcode [tixysform] to embed a form.

The [tixysform] shortcode accepts a number of parameters, all of which are optional:
* target (values: same, new. default: same): Open the Tixys page in the same or a new window.
* from (value: a station ID. default: null): Pass a station ID, to have it preselected as starting point, and the select field hidden.
* to (value: a station ID. default: null): Pass a station ID, to have it preselected as destination, and the select field hidden.
* datepicker (values: true, false. default: false): Add a datepicker to allow selecting a journey date. If no datepicker is to be embedded, the current day will be used.
* affiliate (value: a user ID. default: null): Pass an affiliate ID, as provided by the shop owner. This can be used for tracking where customers came from and what turnovers they generated. Note: Affiliate tracking is only supported on Tixys Premium.

Часто задаваемые вопросы

How can I apply my own CSS styles?

Simple.

  1. In your theme’s functions.php, dequeue the stylesheets tixys-form and tixys-jquery-ui-smoothness.
  2. You can add any styles you want in your theme’s style.css.
Can I modify the form?

Apart from the configurational parameters and CSS styling, no. Of course, you could modify the source code. But this is strongly discouraged, because new updates will overwrite your modifications. And, you are advised to update the plugin as soon as new versions are available, because there may be updates to the Tixys API, which the new plugin version reflects.

Отзывы

Нет отзывов об этом плагине.

Участники и разработчики

«Tixys Widget» — проект с открытым исходным кодом. В развитие плагина внесли свой вклад следующие участники:

Участники

Перевести «Tixys Widget» на ваш язык.

Заинтересованы в разработке?

Посмотрите код, проверьте SVN репозиторий, или подпишитесь на журнал разработки по RSS.

Журнал изменений

0.2

  • Making the base server name selectable as we’re introducing different versions of Tixys.
  • More verbose error handling.
  • Wrap PHP code into classes.
  • Rewrite form JS code to use WP as backend.
  • Changing $options object structure.

0.1.2

  • Various fixes to reflect API changes.

0.1.1

  • Migration to www.tixys.com.

0.1

  • Initial release.