Joomla
This content is not available in your language yet.
The Wink Joomla Extension is a package that installs a system plugin (loads CDN scripts), a content plugin (processes shortcode tags in articles), and a component (admin settings page).
wink-travel/wink-joomla-extension on GitHub Source code, developer setup guide, and contribution instructions.
Requirements
Section titled “Requirements”- Joomla 4 or 5
- PHP 8.1+
Install
Section titled “Install”- Download the latest
pkg_wink-x.x.x.zipfrom the GitHub releases page. - In Joomla Admin, go to Extensions → Manage → Install.
- Upload the zip file and click Upload & Install.
- Both plugins are enabled automatically. Go to Components → Wink Settings.
- Enter your Client ID and Client Secret and click Save. Go to Applications to retrieve your credentials.
Embed components in articles
Section titled “Embed components in articles”Use shortcode-style tags anywhere in article content:
{wink-content layout="HOTEL" id="YOUR_LAYOUT_ID"}
{wink-lookup}
{wink-search}
{wink-account}
{wink-itinerary}
{wink-cart}The content plugin replaces these tags with the correct <wink-*> HTML at render time. The system plugin automatically loads the CDN scripts and injects <wink-app-loader> in the page footer.
Available shortcodes
Section titled “Available shortcodes”| Shortcode | Output | Description |
|---|---|---|
{wink-content layout="..." id="..."} | <wink-content-loader> | Hotel cards, grids, maps |
{wink-lookup} | <wink-lookup> | Destination search bar |
{wink-search} | <wink-search-button> | Itinerary picker button |
{wink-account} | <wink-account-button> | Sign-in / user account |
{wink-itinerary} | <wink-itinerary-button> | Itinerary status button |
{wink-cart} | <wink-shopping-cart-button> | Cart button |