You need to be logged in to post in the forum - Log In

An active JCE Pro Subscription is required to post in the forum - Buy a Subscription

Support is currently Offline

Official support hours
Monday to Friday
09:00 - 17:00 Europe/London (BST)

Please create a new Ticket and we will get back to you as soon as we can.

#108981 Custom template Mediabox

Posted in ‘Mediabox’
This is a public ticket

Everybody will be able to see its contents. Do not include usernames, passwords or any other sensitive information.

Latest post by [email protected] on Monday, 18 July 2022 22:48 BST

Gelauff
Hello,
Other than in Mediabox 1.x.x version, in Mediabox 2 one can no longer add a custom template.
I've read quite a while ago on the forum that you were working on it.
Will this feature be added?
If not, will modified CSS files be overridden by updates?
Thanks in advance.

Ryan
Will this feature be added?


I'm not sure, it is not planned at the moment.

If not, will modified CSS files be overridden by updates?


Don't modify existing css, but rather override the css by adding it to your template stylesheet, in a custom.css file if your template supports one.

Ryan Demmer

Lead Developer / CEO / CTO

Just because you're not paranoid doesn't mean everybody isn't out to get you.

Gelauff
Silly me, should have thought of it.
Thank you, Ryan !

[email protected]
I like PhotoSwipe, can you add to setup MediaLightBox 2?

Ryan
[quotePost id="111439"]I like PhotoSwipe, can you add to setup MediaLightBox 2?[/quotePost]

Photoswipe appears to be similar to MediaBox, ie: it is a "lightbox" style display of images.

If you prefer Photoswipe, then look for a Joomla plugin enables it for a Joomla site.

Ryan Demmer

Lead Developer / CEO / CTO

Just because you're not paranoid doesn't mean everybody isn't out to get you.

[email protected]
Im looked and find only our plugin https://extensions.joomla.org/extension/system-wt-jsphotoswipe/ (pending for confirm :)

$wa = Factory::getApplication()->getDocument()->getWebAssetManager();n$wa->useScript('photoswipe')n->useScript('photoswipe-lightbox')n->useStyle('photoswipe');
But how can I add new dropdown in theme list? Lightbox theme has other place for Cancel button, ... Can we hack this plugin or waiting for add from you?

[email protected]
I added new line to XML - PHOTO SWIPE
I f I setup this, definitelly is called core JCE Mediabox JS and setup default theme - yep, I assumed that.

So for new theme == loading new JS nad CSS, maybe is two journey:
- hack PHP file and change link for JS and CSS to PhotoSwipe link (I think it will be not function)
- hack core JS and add function for new theme

What do you mean?

Ryan
Can we hack this plugin or waiting for add from you?


I'm not adding Photoswipe to MediaBox. MediaBox is staying as it is.

Ryan Demmer

Lead Developer / CEO / CTO

Just because you're not paranoid doesn't mean everybody isn't out to get you.

[email protected]
[quotePost id="111447"]
Can we hack this plugin or waiting for add from you?


I'm not adding Photoswipe to MediaBox. MediaBox is staying as it is.[/quotePost]

Of course 😃 , you don't adding now, but you can add in future.

This is what about I m speaking...