Skip to Content Skip to Menu

🕒 Save Time and Effort with CB Editor Assistant: Effortlessly create and refine content in Joomla 3, 4, & 5.
🎁 Limited Offer: Enjoy a 5-day FREE trial and save up to 30% afterward!

[SOLVED] Popup outside screen in CB gallery

  • GUEST
11 years 7 months ago - 11 years 7 months ago #227577 by
In CB gallery (v1.2) frontend tab, when clicking the edit icon, which is under an uploaded image-thumbnail, a popup window opens. This popup opens left of the thumbnail picture. In case of the first (most left) thumbnail, the popup windows falls for a big part outside of the browser screen. This makes it impossible to edit the thumbnail items. There is/appears no horizontal scrollbar in the browser. This happens with Chrome and Firefox.
I Expect the popup window to always stays within the browser screen boundary.
Attached an example

.
Attachments:
Last edit: 11 years 7 months ago by krileon.

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 48700
  • Thanks: 8317
  • Karma: 1447
11 years 7 months ago #227615 by krileon
Replied by krileon on topic Popup outside screen in CB gallery
Your template has no left spacing. Plugin is pretty old so it's not designed for little to no room to the left (all default templates are fixed, centered, and have left sidebars). Perform the below edit to make it popup to the right instead of to the left.

IN: /components/com_comprofiler/plugin/user/plug_cbprofilegallery/cb.profilegallery.php
ON: Line 1335
FROM:
Code:
ANCHORALIGN,'LR','UR'
TO:
Code:
ANCHORALIGN,'LR','UL'


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.

  • GUEST
11 years 7 months ago #227622 by
Thanks for your response. That would indeed be the solution I was looking for. But..it didn't work. Edited the file as specified and cleared the browser cache, but the popup still opens on the left.

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 48700
  • Thanks: 8317
  • Karma: 1447
11 years 7 months ago #227631 by krileon
Replied by krileon on topic Popup outside screen in CB gallery
Probably using one of the other display modes, there's 3. Also before the below edits to change them all.

IN: /components/com_comprofiler/plugin/user/plug_cbprofilegallery/cb.profilegallery.php
ON: Line 1230
FROM:
Code:
ANCHORALIGN,'LR','UR'
TO:
Code:
ANCHORALIGN,'LR','UL'
ON: Line 1271
FROM:
Code:
ANCHORALIGN,'LR','UR'
TO:
Code:
ANCHORALIGN,'LR','UL'

After changing the above plus the change in my first reply you should have all 3 modes adjusted. I've tested the first mode in my first reply as working so it does change the direction.


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.

  • GUEST
11 years 7 months ago #227655 by
That did the trick, thnx. I'm happy now.

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

Moderators: beatnantkrileon
Powered by Kunena Forum