WT Lightbox2.js for Joomla developers

WT Lightbox2.js for Joomla developers

WT Lightbox2.js for Joomla developers

This plugin is for Joomla developers. The plugin registers Lightbox2.js package in Joomla Web Assets Manager. Then you can use it in your extensions.

Description

Plugin for Joomla developers. It allows you to use Lightbox2.js anywhere in Joomla 4: in modules, components, plugins.

To do this in your code, use:

<?php
use Joomla\CMS\Factory;

$wa = Factory::getApplication()->getDocument()->getWebAssetManager();
$wa->usePreset('lightbox2')->useScript('jquery');

Ligthbox2 needs in jQuery library for work.

The plugin can be used as a dependency when developing your own extensions for Joomla 4. The plugin uses the Joomla 4 update system.

Joomla

Extension type:
Plugin
Folder:
System
Joomla version:
4.0.0

What's new

v.2.11.4 for Joomla 4

Addition

WebTolk Joomla Extensions

85 Extensions
11 Categories
354 Versions released
348907 Downloads
Cart
Cart is empty