Skip to Content Skip to Menu

[SOLVED] Gallery View Issue

7 years 6 months ago - 7 years 6 months ago #292889 by tjohns92109
[SOLVED] Gallery View Issue was created by tjohns92109
I might have found another issue with the newest updates. Or, since I've had to customize the gallery plugin to an extent, it could be on my end (but I don't think so). Actually, just looked at your demo site and it's not an issue there.

I have the photo gallery of type 'button with fixed overlay'. When you click the gallery button, it shows previously uploaded photos. When you click on one, it used to show in the lightbox (before the upgrade, and on the live site). But on the upgraded dev site, the modal opens but the image doesn't show up. I'm thinking it could have to do with it having to open a modal inside a modal. When it shows up on the timeline, you can open it in the modal and it's fine.

I would expect to see a javascript error in the console, but no conflict there I guess.

By the way, the reason it's in a button instead of a typical tab is because it needs to act like most social networks in that it will allow you to post an image 'easily'... near the main area where you would post - not by opening a tab. The client wasn't that happy because he wanted it to be more like Facebook and there's no way to use that to post on someone else's timeline [I don't think]... but with it being a button at least it's similar.

I tested my theory... it is because of the tab type being a button. And I understand this won't be a priority since most people probably won't use a button to display the interface to add an image to the timeline (or 'gallery' if that's what it's used for). I'll post here if I find the conflict tomorrow.
Last edit: 7 years 6 months ago by krileon. Reason: Added [SOLVED] tag to subject

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 48449
  • Thanks: 8280
  • Karma: 1443
7 years 6 months ago #292905 by krileon
Replied by krileon on topic Gallery View Issue
Usages with JS of any kind do not work in the tab overlay usage. This is due to the JS needing to rebind every time it opens, which it currently has no functionality to do. This will eventually be fixed in a later CB release where we'll probably have to figure out a better way to handle loading the tab contents (probably a new overlay usage that ajaxs the tab in).


Kyle (Krileon)
Community Builder Team Member
Before posting on forums: Read FAQ thoroughly + Read our Documentation + Search the forums
CB links: Documentation - Localization - CB Quickstart - CB Paid Subscriptions - Add-Ons - Forge
--
If you are a Professional, Developer, or CB Paid Subscriptions subscriber and have a support issue please always post in your respective support forums for best results!
--
If I've missed your support post with a delay of 3 days or greater and are a Professional, Developer, or CBSubs subscriber please send me a private message with your thread and will reply when possible!
--
Please note I am available Monday - Friday from 8:00 AM CST to 4:00 PM CST. I am away on weekends (Saturday and Sunday) and if I've missed your post on or before a weekend after business hours please wait for the next following business day (Monday) and will get to your issue as soon as possible, thank you.
--
My role here is to provide guidance and assistance. I cannot provide custom code for each custom requirement. Please do not inquire me about custom development.

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

7 years 6 months ago #292991 by tjohns92109
Replied by tjohns92109 on topic Gallery View Issue
No problem. I found a workaround. I just displayed it in a div instead of a button and hid all elements except for the upload button, changed the wording to 'Post Image'... that way there's no way to open the gallery from there. Then I put the gallery in a different tab using substitutions. Figured I'd post that in case anyone else had the same needs and a quick & easy workable solution.
The following user(s) said Thank You: krileon

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

Moderators: beatnantkrileon
Powered by Kunena Forum