End of Support for Joomla 3 - Forum closed

lightbox für xtra

lightbox für xtra was created by gf@mso365.cloud

Posted 9 years 1 month ago #16648
Hi, I'd like to use lightboxes for showing articles. Unfortunatly I did not find any hint how I can do this in Xtra template. Thanks for any hint in advance.

Please Log in or Create an account to join the conversation.

Replied by joomlaplates on topic lightbox für xtra

Posted 9 years 1 month ago #16650
Hi there,
if you want to open an image or a Joomla article please use the lightbox which is included:
More inforamtion here:
getuikit.com/v2/docs/lightbox.html
Code:
<a data-uk-lightbox="{group:'my-group'}" data-lightbox-type="iframe" href="index.php?id=5?&tmpl=component">Click here</a>
id57 = Your Joomla article ID
tmpl=component = Article only without Template
Last Edit:9 years 1 month ago by joomlaplates
Last edit: 9 years 1 month ago by joomlaplates.
The following user(s) said Thank You: gf@mso365.cloud

Please Log in or Create an account to join the conversation.

Replied by gf@mso365.cloud on topic lightbox für xtra

Posted 9 years 1 month ago #16654
I tried that and i does not work unfortunatly.

www.xlsx.at/

please visit my site an have a klick on "Noch mehr Referenzen" in the TOPC Area.

This will Show the Article as a blanc page but not in a Lightbox as intended.

Did I miss to install something?

Regards

Lars

Please Log in or Create an account to join the conversation.

Replied by joomlaplates on topic lightbox für xtra

Posted 9 years 1 month ago #16655
Hi again, I have visited your site and found the issue.
Your template is a lil bit older, the new version is 1.0.006 and here is the lightbox included.

Anyway you can insert the light box component in this way:

Add this code below to your file > layouts/theme.config.php ( line 124)
Code:
$this['asset']->addFile('js', 'warp:vendor/uikit/js/components/lightbox.js');

Attachment lightbox-2-3-4.jpg not found

Last Edit:9 years 1 month ago by joomlaplates

Attachments:

Last edit: 9 years 1 month ago by joomlaplates.

Please Log in or Create an account to join the conversation.

Replied by gf@mso365.cloud on topic lightbox für xtra

Posted 9 years 1 month ago #16656
Sorry, that didnt work either.
Name Version
jp-xtra 1.0.003
Warp Framework 7.3.1

I added those two lines to my config file:
Code:
$this['asset']->addFile('js', 'warp:vendor/uikit/js/components/tooltip.js'); $this['asset']->addFile('js', 'warp:vendor/uikit/js/components/lightbox.js');

Please Log in or Create an account to join the conversation.

Replied by joomlaplates on topic lightbox für xtra

Posted 9 years 1 month ago #16657
I have checked the code and maybe depends on your installed extensions > widgetkit or slitslider.
Please disable the lightbox frm Widgetkit, see image below

Attachment widgetkit-2.jpg not found



2 Lightbox Scripts may have a conflict!

Attachments:

The following user(s) said Thank You: gf@mso365.cloud

Please Log in or Create an account to join the conversation.

Moderators: joomlaplates
Powered by Kunena Forum