YOOtheme Pro is here! The best WordPress and Joomla theme. Learn more

Avatar bernd.kusen asked

Lightbox in widgetkit2 grid-stack

Is there a way to open grid-stack media in a lightbox?
If not it would be nice to add this option.

As a workaround I added the image file as link and changed
administrator/components/com_widgetkit/plugins/widgets/grid-stack/views/widget.php
in Line 222: $media .= '<a class="uk-position-cover" href="' . $item->escape('link') . '"></a>';
to
$media .= '<a data-uk-lightbox class="uk-position-cover" href="' . $item->escape('link') . '"></a>';

But this means that links will allways open in a lightbox which is not necessarily desired.

  • Widgetkit

4 Answers

1

Avatar mouchachnuk answered

Hello the support. This should be a mandatory option.

Thx for the tip

0

Avatar wallydavid answered

Yeah.. lightboxes in 2.2.1 in grid view don't even work on the demo...

0

Avatar aoprisiu answered

Any update on this? Seems like this would be a standard option.

0

Avatar joshgilson answered

I had it made for me by Ramil Valitov and would like to share it with the community.

Download Here: Widgetkit v2 Grid Stack with Lightbox

Installation instructions:
1. Unzip the archive and upload the folder "grid-stack-ex" into your Joomla website in directory /administrator/components/com_widgetkit/plugins/widgets, so that you will have a folder /administrator/components/com_widgetkit/plugins/widgets/grid-stack-ex
2. The widget should appear in the list of available widgets under the name "Grid Stack Ex" now.
3. The new options for this widget are in the "Lightbox" section of the settings.

Good luck!

Edited

Know someone who can answer? Share a link to this question via email or twitter.