跳转到内容

Joomla

此内容尚不支持你的语言。

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).

  • Joomla 4 or 5
  • PHP 8.1+
  1. Download the latest pkg_wink-x.x.x.zip from the GitHub releases page.
  2. In Joomla Admin, go to Extensions → Manage → Install.
  3. Upload the zip file and click Upload & Install.
  4. Both plugins are enabled automatically. Go to Components → Wink Settings.
  5. Enter your Client ID and Client Secret and click Save. Go to Applications to retrieve your credentials.

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.

ShortcodeOutputDescription
{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