Advertisement

Bootstrap issue with Phoca Maps Topic is solved

This forum is for general questions about extensions for Joomla! 5.x.

Moderators: pe7er, General Support Moderators

Forum rules
Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting, this means YOU.
Forum Post Assistant - If you are serious about wanting help, you will use this tool to help you post.
Windows Defender SmartScreen Issues <-- please read this if using Windows 10.
Post Reply
petjez
Joomla! Intern
Joomla! Intern
Posts: 50
Joined: Wed Nov 16, 2005 3:15 pm

Bootstrap issue with Phoca Maps

Post by petjez » Fri Jul 26, 2024 2:15 pm

Hello all,

since i moved to Joomla 5, the Joomla Maps plugin is messing with my template. This only happens when i set the Maps Plugin Detail Window to: Bootstrap Modal Box.

The setting is enabled now on https://globetrotten.nl
You can see the layout is messed up
There is a little text link under the first article box. The link is called 'KAART'.
When you click the link, the modal pops up, but stays empty.

I disabled some other plugins and modules, but this doesn't help. I also tried with another template which gives the same result

I've asked this same question on the Phoca Forumhttps://www.phoca.cz/forum/viewtopic.ph ... 57#p181657

I got an image with some errors from someone on the forum, see attachment. But i don't know how to fix a bootstrap issue.

Can someone give me some help ons this?

Kind regards,
Patrick
You do not have the required permissions to view the files attached to this post.
Last edited by AMurray on Mon Jul 29, 2024 9:18 pm, edited 1 time in total.
Reason: topic moved to Extensions J5.x Forum - not a coding issue (moved from https://forum.joomla.org/viewforum.php?f=833)

Advertisement
anaisystechno
Joomla! Fledgling
Joomla! Fledgling
Posts: 2
Joined: Thu Apr 06, 2017 1:34 pm

Re: Bootstrap issue with Phoca Maps

Post by anaisystechno » Mon Jul 29, 2024 12:00 pm

Which version of PHP you have selected on the site?

petjez
Joomla! Intern
Joomla! Intern
Posts: 50
Joined: Wed Nov 16, 2005 3:15 pm

Re: Bootstrap issue with Phoca Maps

Post by petjez » Mon Jul 29, 2024 2:51 pm

Hello,

i'm using PHP version is 8.1.28 at the moment. Joomla is up-to-date.

Thank you,
Patrick

User avatar
Webdongle
Joomla! Master
Joomla! Master
Posts: 44436
Joined: Sat Apr 05, 2008 9:58 pm

Re: Bootstrap issue with Phoca Maps

Post by Webdongle » Mon Jul 29, 2024 4:44 pm

Set Cassiopeia as default template. If no avail then put a bug report to Phoca
http://www.weblinksonline.co.uk/
https://www.weblinksonline.co.uk/updating-joomla.html
"When I'm right no one remembers but when I'm wrong no one forgets".

petjez
Joomla! Intern
Joomla! Intern
Posts: 50
Joined: Wed Nov 16, 2005 3:15 pm

Re: Bootstrap issue with Phoca Maps

Post by petjez » Mon Jul 29, 2024 4:56 pm

Hi,

Cassiopeia is my default and only Template. I've tried to disable the child template with no result. I've tried another template also. Phoca can't help me. In the screenshot above is some JS error

Regards,
Patrick

User avatar
Webdongle
Joomla! Master
Joomla! Master
Posts: 44436
Joined: Sat Apr 05, 2008 9:58 pm

Re: Bootstrap issue with Phoca Maps

Post by Webdongle » Mon Jul 29, 2024 5:17 pm

You could use the Joomla update component to reinstall core files.
Also uninstall the child template

If no avail

In global config set debug on.

Also please https://forumpostassistant.github.io/docs/


It could be a 3rd party plugin overriding bootstap or perhaps an incomplete Joomla update.
http://www.weblinksonline.co.uk/
https://www.weblinksonline.co.uk/updating-joomla.html
"When I'm right no one remembers but when I'm wrong no one forgets".

petjez
Joomla! Intern
Joomla! Intern
Posts: 50
Joined: Wed Nov 16, 2005 3:15 pm

Re: Bootstrap issue with Phoca Maps

Post by petjez » Mon Jul 29, 2024 5:52 pm

Thanks for helping,

i will try the steps above and let you know.

Patrick

User avatar
Pavel-ww
Joomla! Ace
Joomla! Ace
Posts: 1691
Joined: Tue Jun 30, 2020 12:17 pm

Re: Bootstrap issue with Phoca Maps

Post by Pavel-ww » Tue Jul 30, 2024 8:15 am

petjez wrote: Fri Jul 26, 2024 2:15 pm I got an image with some errors from someone on the forum, see attachment. But i don't know how to fix a bootstrap issue.

Hi. Just my thoughts.

Errors in the screenshot do not say that these are errors in Bootstrap. Some error in Phoca Maps can cause a chain reaction and is determined in the console as an error in Bootstrap, but in fact it is not.

I doubt Joomla has errors in Bootstrap. You need to wait for the answer from the developer of Phoca Maps, but not from "someone on the forum". I believe that if Cassiopea is used on your site, then the error is clearly on the Phoca Maps side, since the developers of extensions always debug for the default Joomla template (Cassiopea) and in this case there should be no errors.

User avatar
Webdongle
Joomla! Master
Joomla! Master
Posts: 44436
Joined: Sat Apr 05, 2008 9:58 pm

Re: Bootstrap issue with Phoca Maps

Post by Webdongle » Tue Jul 30, 2024 8:25 am

Thanks @Pavel-ww
That concurs with my first answer.
Webdongle wrote: Mon Jul 29, 2024 4:44 pm Set Cassiopeia as default template. If no avail then put a bug report to Phoca
http://www.weblinksonline.co.uk/
https://www.weblinksonline.co.uk/updating-joomla.html
"When I'm right no one remembers but when I'm wrong no one forgets".

User avatar
Pavel-ww
Joomla! Ace
Joomla! Ace
Posts: 1691
Joined: Tue Jun 30, 2020 12:17 pm

Re: Bootstrap issue with Phoca Maps

Post by Pavel-ww » Tue Jul 30, 2024 8:54 am

A simple way to check.

Through Dev Tools, I added example code from https://getbootstrap.com/docs/5.0/components/modal/

No errors after click on the example Bootstrap button
1.jpg
2.jpg
--

Errors appear only after click on the Phoca Maps button
3.jpg
Therefore, I believe that the reason is in Phoca Maps
You do not have the required permissions to view the files attached to this post.

petjez
Joomla! Intern
Joomla! Intern
Posts: 50
Joined: Wed Nov 16, 2005 3:15 pm

Re: Bootstrap issue with Phoca Maps

Post by petjez » Wed Jul 31, 2024 2:59 pm

Thank you everyone,

i will get back to the people of Phoca to see if they can help me a bit further on this one.

Thanks so far,
Patrick

User avatar
H13
Joomla! Ace
Joomla! Ace
Posts: 1547
Joined: Sun Dec 10, 2006 6:39 pm
Location: Czech Republic
Contact:

Re: Bootstrap issue with Phoca Maps

Post by H13 » Wed Jul 31, 2024 11:54 pm

Hi,

do you use some specific system plugin which can e.g. manipulate the Joomla output content?

Why I ask, because if I look at your source code, the code there is completely disordered and e.g. the modal window code, which usually is rendered above the link code, is on your site divided into more parts and rendered e.g. inside some button:

Image

Where did you place teh plugin code? Is ist correctly set in article content?

BTW Phoca Maps does not use any own Bootstrap library, it just calls the one loaded by Joomla.

Jan
- Phoca Cart - Joomla eCommerce App - https://www.phoca.cz/phocacart
- Phoca Gallery - powerful image gallery
- Phoca Restaurant Menu - https://www.phoca.cz/phocamenu
- Phoca Download - download manager for Joomla

petjez
Joomla! Intern
Joomla! Intern
Posts: 50
Joined: Wed Nov 16, 2005 3:15 pm

Re: Bootstrap issue with Phoca Maps

Post by petjez » Fri Aug 02, 2024 12:16 pm

Hello all,

this is what i tried:
- made en clone of my 'live' website
- removed all 3rd party components and plugins
- uninstalled my Child Template
- removed all overrides

I'm still having this issue. Strange thing is that the Akeeba Backup cannot be uninstalled. This is version 5.3.1 which is very old and not compatible with Joomla 5. I've tried to reinstall Akeeba Backup 5.3.1 which fails offcourse. I don't know how to uninstall the left over software and i don't know if it can trigger my issue?

The cloned site is https://test.globetrotten.nl

Any thoughts?

Patrick

User avatar
Webdongle
Joomla! Master
Joomla! Master
Posts: 44436
Joined: Sat Apr 05, 2008 9:58 pm

Re: Bootstrap issue with Phoca Maps

Post by Webdongle » Fri Aug 02, 2024 12:40 pm

Akeeba has a tool for that
http://www.weblinksonline.co.uk/
https://www.weblinksonline.co.uk/updating-joomla.html
"When I'm right no one remembers but when I'm wrong no one forgets".

petjez
Joomla! Intern
Joomla! Intern
Posts: 50
Joined: Wed Nov 16, 2005 3:15 pm

Re: Bootstrap issue with Phoca Maps

Post by petjez » Sat Aug 03, 2024 11:59 am

Hello,

i found the issue. The problem is that i wanted to put the link to the Phoca Maps plugin inside a button. I messed it up myself because of lack of knowledge.

The link is inside a div, this does not work correctly. When i put the link outside the div everything works as expected.

Code: Select all

<div class="knopjes-groep" style="width: 100%;"><a href="fotos/duitsland-frankrijk-zwitserland-2024"><button class="knopje" style="width: 48%;">FOTO'S</button></a> &nbsp;&nbsp;<button class="knopje" style="width: 48%;">{phocamaps view=link|id=32|text=KAART}</button></div>
<div>&nbsp;</div>
I guess i need to fix this button somehow.

Thanks for helping out.

Patrick

User avatar
H13
Joomla! Ace
Joomla! Ace
Posts: 1547
Joined: Sun Dec 10, 2006 6:39 pm
Location: Czech Republic
Contact:

Re: Bootstrap issue with Phoca Maps

Post by H13 » Mon Aug 05, 2024 2:15 pm

OK
- Phoca Cart - Joomla eCommerce App - https://www.phoca.cz/phocacart
- Phoca Gallery - powerful image gallery
- Phoca Restaurant Menu - https://www.phoca.cz/phocamenu
- Phoca Download - download manager for Joomla

Advertisement

Post Reply

Return to “Extensions for Joomla! 5.x”