Use for opening content as well as images?

Created on 19 December 2022, over 1 year ago
Updated 28 March 2023, over 1 year ago

Problem/Motivation

This might be a silly question, but could / should this module be used for displaying content (nodes, views etc.) in a popup window?

I have just installed it and set it up and configured a URL to a view linke this...

<a href="/my-content-view" rel="lightbox">My Content in a popup</a>

The popup opens nicely but just hangs.

Now, I didn't really expect it to work but I have been hunting far and wide for a "Lightbox-like" solution to opening modal windows onto content mainly because working natively in HTML with the core/drupal.dialog.ajax is too fiddling with a requirement fo me fashion links which look like this...

<a href="/my-content-view" class="use-ajax" title="My Content in a popup" data-dialog-options="{&quot;width&quot;:&quot;auto&quot;,&quot;title&quot;:&quot;My Content in a popup&quot;}" data-dialog-type="modal">My Content in a popup</a>

...which is just too fiddly and doesn't nicely animate like this module does?

If anyone has any suggestions as to how I can achieve what I'm after - preferably via a contrib' module which integrates with Views etc - then advice is gracefully received.

Thanks

πŸ’¬ Support request
Status

Active

Version

2.0

Component

Miscellaneous

Created by

πŸ‡¬πŸ‡§United Kingdom SirClickALot Somerset

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.69.0 2024