Astroid topbar module

Phoca Cart - complex e-commerce extension
User avatar
Nidzo
Phoca Professional
Phoca Professional
Posts: 387
Joined: 07 Nov 2018, 14:55

Astroid topbar module

Post by Nidzo »

I know that latest versions of Astroid brought some problems. I think this is one of them.
Sometimes Cart, Wishlist and Comparison module placed in Astroid Zero template topbar position won't open drop-down.
Image

In global settings I set to Phoca Cart load Bootstrap 4. It's only way to Ajax add to cart pop-up works with Astroid.
Image

Is there simple workaround to make drop-down work flawlessly? ☺️
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48402
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Astroid topbar module

Post by Jan »

Hi, yes, the problem is, that the scripts are loaded at the end of html in body part, but Joomla itself adds the scripts to header. So for now e.g. scripts needs to be loaded twice, etc. etc.

https://www.joomdev.com/forum/astroid-f ... ery-loaded

So the code needs to be checked, if there are no JS conflicts :idea:

Jan
If you find Phoca extensions useful, please support the project
User avatar
Nidzo
Phoca Professional
Phoca Professional
Posts: 387
Joined: 07 Nov 2018, 14:55

Re: Astroid topbar module

Post by Nidzo »

On JoomDev forum you mention system plugin. Do you mean jQuery easy or something else?
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48402
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Astroid topbar module

Post by Jan »

Hi,
I mean this plugin:
https://www.phoca.cz/phoca-upgrade-system-plugin

In this plugin you can hide some libraries or load the newest jQuery (but in every case, the standard Joomla! method to load script is used, and this is the problem)

Jan
If you find Phoca extensions useful, please support the project
Post Reply