Phoca Gallery Button Plugin error

Phoca Gallery plugins - plugins for Phoca Gallery extension
User avatar
Tartine
Phoca Member
Phoca Member
Posts: 15
Joined: 31 Dec 2021, 16:31

Phoca Gallery Button Plugin error

Post 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
User avatar
Benno
Phoca Hero
Phoca Hero
Posts: 9440
Joined: 04 Dec 2008, 11:58
Location: Germany
Contact:

Re: Phoca Gallery Button Plugin error

Post 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
User avatar
Tartine
Phoca Member
Phoca Member
Posts: 15
Joined: 31 Dec 2021, 16:31

Re: Phoca Gallery Button Plugin error

Post 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 ;)
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48402
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Phoca Gallery Button Plugin error

Post 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
If you find Phoca extensions useful, please support the project
Post Reply