Hello community.
Moved phoca guestbook from joomla 2.5.28 to 4.2.9. With . I attached a photo in the post, so that the user on the site could open the photo in the modal window (class="caption"). on joomla 2.5.28 in the modal window there was a cross to close. At 4.2.9, a photo opens on a black background without a cross to close. I use helix ultimate 2.0.12 template. Should this element be in J4 at all, and if so, what could be the reason for the absence?
No cross close on imgage in modal window
-
- Phoca Newbie
- Posts: 7
- Joined: 18 Apr 2023, 21:32
- Jan
- Phoca Hero
- Posts: 48403
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: No cross close on imgage in modal window
Hi, can you paste a screenshot of what do you exactly mean? Do you get the same problem when using standard template like cassiopeia (only for test).
Jan
Jan
If you find Phoca extensions useful, please support the project
-
- Phoca Newbie
- Posts: 7
- Joined: 18 Apr 2023, 21:32
Re: No cross close on imgage in modal window
The example was made on the Casiopea plugin.
The photo opens in a modal window - example
https://imgur.com/XOa9Env
But there is no close button in the upper right corner of the photo.
To open a modal window use the code
I use exactly the same code on Joomla 2.5.28 and there is a button to close the photo and return to posts.
The photo opens in a modal window - example
https://imgur.com/XOa9Env
But there is no close button in the upper right corner of the photo.
To open a modal window use the code
Code: Select all
<p><a class="caption" href="images/responses/4/imov.jpg"><img src="images/responses/4/imov.jpg" alt="" width="234" height="177" border="0" /></a></p>
- Jan
- Phoca Hero
- Posts: 48403
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: No cross close on imgage in modal window
Hi, it is possible that there is no popup but the image opens in browser. But Phoca Guestbook does not have any such option, so did you use on your old website some specific feature to open images in popup? Phoca Guestbook does not manipulate content and have no option to e.g. open images inside content in modal window
If you find Phoca extensions useful, please support the project
-
- Phoca Newbie
- Posts: 7
- Joined: 18 Apr 2023, 21:32
Re: No cross close on imgage in modal window
Thanks Jan! Looked deeper. Indeed, in the "themza_j17_05" template itself on my Joomla 2.5.28, the nivo-lightbox plugin is built in, which deals with just opening the window. In Joomla 4 I tried to put an automatic resizer as a plugin, but it was unsuccessful. In articles it works, but in phoca guestbook it is not called. Does anyone have experience using something like this for Phoca? Thanks in advance.
- Jan
- Phoca Hero
- Posts: 48403
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: No cross close on imgage in modal window
Hi, unfortunately, I don't have any experience with such function inside guestbook posts (when this should work, I think, it should be system plugin or template feature, not content plguin )
Jan
Jan
If you find Phoca extensions useful, please support the project