Page 1 of 1

Phoca Gallery Button Plugin error

Posted: 21 Sep 2022, 17:21
by Tartine
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

Re: Phoca Gallery Button Plugin error

Posted: 21 Sep 2022, 18:25
by Benno
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

Re: Phoca Gallery Button Plugin error

Posted: 22 Sep 2022, 15:11
by Tartine
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 ;)

Re: Phoca Gallery Button Plugin error

Posted: 26 Sep 2022, 14:39
by Jan
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