• 1

Read this first!

We do not monitor these forums. The forum is provided to exchange information and experience with other users ONLY. Forum responses are not guaranteed.

However, please submit a ticket if you have an active subscription and wish to receive support. Our ticketing system is the only way of getting in touch with RSJoomla! and receiving the official RSJoomla! Customer Support.

For more information, the Support Policy is located here.

Thank you!

TOPIC: Replace Lightbox with Slimbox?

Replace Lightbox with Slimbox? 11 years 7 months ago #19069

  • Paul OD
  • Paul OD's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 1
Hi, I'm a designer/developer trying to Replace Lightbox with Slimbox in RSMediaGallery!. Does anyone know if this is feasible and if so, how do you think I should approach it please?

If there's no way, I might try to style Lightbox like Slimbox, but I don't know how to make lightbox do the nice fade transition like slimbox does. I guess that involves editing the jQuery files, I'm not experienced at that but I'll try it if it might solve the problem. Thanks, Paul
The administrator has disabled public write access.

Re: Replace Lightbox with Slimbox? 11 years 6 months ago #19500

  • jurajvt
  • jurajvt's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 3
Hello.

I have done it with JCE MediaboxBox, which is multipurpose popup plugin. But you can use any lightbox gallery, principle is same.

In very basic, you can made it in three steps:

1. Install JCE MediaBox, turn it on in plugins and choose your preferred theme.

2. Go to file:

components/com_rsmediagallery/views/tmpl/default.php

and on line 31 modify code to
<a class="jcepopup" <?php if ($this->params->get('open_in_new_page', 0)) { ?>target="_blank"<?php } ?> href="<?php echo addslashes($item->full); ?>" rel="title[<?php echo $this->escape($item->title); ?>];group[group]" title=""><img src="<?php echo $item->thumb; ?>" alt="<?php echo $this->escape($item->title); ?>" /></a>

3. In file

components/com_rsmediagallery/views/view.html.php

you can remove/comment some unnecessary links declarations to bundled lightbox libraries and styles.

If you want to use other lightbox library, go to webpages of that and look on link examples. You can build link above (line 31 in default.php) by it.

When you will have it, you can play more with details. Of course, you must remember that your edits may be lost when new version will come b/c you edit source code directly.
Last Edit: 11 years 6 months ago by jurajvt. Reason: typos
The administrator has disabled public write access.

Re: Replace Lightbox with Slimbox? 11 years 6 months ago #19507

  • gavindcht
  • gavindcht's Avatar
  • OFFLINE
  • Banned
  • Posts: 63
  • Thank you received: 1
Hi Paul. I was wondering if you were successful with the switch. Were you able to get Slinbox to work already?
Deleted code is debugged code.
The administrator has disabled public write access.
  • 1

Read this first!

We do not monitor these forums. The forum is provided to exchange information and experience with other users ONLY. Forum responses are not guaranteed.

However, please submit a ticket if you have an active subscription and wish to receive support. Our ticketing system is the only way of getting in touch with RSJoomla! and receiving the official RSJoomla! Customer Support.

For more information, the Support Policy is located here.

Thank you!