Phoca Gallery Button Plugin error

Phoca Gallery plugins - plugins for Phoca Gallery extension
Tartine
Phoca Newbie
Phoca Newbie
Posts: 8
Joined: 31 Dec 2021, 16:31

Phoca Gallery Button Plugin error

Post by Tartine » 21 Sep 2022, 17:21

Hi,
i install Gallery Button and i have this error "behavior::modal not found" when editing article
Joomla 4.2.2
Phoca Gallery 4.5.1
Phoca Gallery Button Plugin 4.4.0

Regards

User avatar
Benno
Phoca Hero
Phoca Hero
Posts: 8294
Joined: 04 Dec 2008, 11:58
Location: Germany
Contact:

Re: Phoca Gallery Button Plugin error

Post by Benno » 21 Sep 2022, 18:25

Hi,
see: https://www.phoca.cz/download/category/ ... ton-plugin
v4.4.0 is a Joomla! v3.9.x plugin. Till now there is no v4.5.x (Jooma! v4.x) Phoca Gallery Button Plugin available.

Kind regards,
Benno

Tartine
Phoca Newbie
Phoca Newbie
Posts: 8
Joined: 31 Dec 2021, 16:31

Re: Phoca Gallery Button Plugin error

Post by Tartine » 22 Sep 2022, 15:11

Hi,
in 'plg_editors-xtd_phocagallery' and in the file phocagallery.php i remove this : 'JHtml::_('behavior.modal');'
The button is display :) but the lynks in the frame crash except the first.

I modify this file 'view.html.php' for the second link (phocagallerylinkimg) and insert '$uri = Uri::getInstance();' before '$this->request_url = $uri->toString();'
It work, it is not perfect because once inserted the display is not good. Your developers should take a very short time to correct this little problem.

I look forward to the diffusion in version of this button.
Sorry for my English ;)

User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 45567
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Phoca Gallery Button Plugin error

Post by Jan » 26 Sep 2022, 14:39

Hi, one part is to display the different options (which might be simple with not so much changes) but the second part is to modify the code to run with latest Phoca Gallery plugin.

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

Post Reply