Phocagallery plugin missing a final closing tag?

Phoca Gallery plugins - plugins for Phoca Gallery extension
gravex
Phoca Newbie
Phoca Newbie
Posts: 4
Joined: 10 Oct 2020, 20:17

Phocagallery plugin missing a final closing tag?

Post by gravex »

I have just realized that plugin is missing final closing tag - at least that was my case.
I was experiencing that all divs after phocagallery plugin declaration are placed under content from above.
So I added

Code: Select all

 echo '</div>';
just before

Code: Select all

	  } // end if count_matches
around line 1625 to fix this issue.

Anyone else experiencing the same issue?
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48386
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Phocagallery plugin missing a final closing tag?

Post by Jan »

Hi, which version of Phoca Gallery plugin do you use?
If you find Phoca extensions useful, please support the project
gravex
Phoca Newbie
Phoca Newbie
Posts: 4
Joined: 10 Oct 2020, 20:17

Re: Phocagallery plugin missing a final closing tag?

Post by gravex »

4.3.16. I think it's the latest.
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48386
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Phocagallery plugin missing a final closing tag?

Post by Jan »

Hi, hmmm, testing now, get no such problem. There is no opened tag between count_maches condition and for

Code: Select all

if ($count_matches != 0) {


		PhocaGalleryRenderFront::renderAllCSS();
		$lang = JFactory::getLanguage();
		$lang->load('com_phocagallery');


		for($i = 0; $i < $count_matches; $i++) {
Counting divs inside plugin - all opened and closed (there is one div plus because of condition)
The same with output HTML - all closed ... :idea:

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