Page 1 of 1

Plugin Phocagallery and View "tag"

Posted: 23 Dec 2021, 16:29
by simkea
Hello Jan,

Why is no tag view rendered with the Phocagallery plugin?

I just have a project where the posts are listed by tags. Now I've noticed this piece of code here and I'm wondering why that is.
Can you work out a solution for this or do I need to manipulate code?

Code: Select all

		$app 	= JFactory::getApplication();
		$view	= $app->input->get('view');

>>>>		if ($view == 'tag') { return; }
my current version is 4.4.3 for J3.10.4

br Henry

Re: Plugin Phocagallery and View "tag"

Posted: 24 Dec 2021, 14:30
by Jan
Hi, I am not sure but I think, there was some conflict in tag view with content plugin. you can try to disable this condition and test if it can work there. But for now I don't have any information if there were some changes. :idea:

Jan

Re: Plugin Phocagallery and View "tag"

Posted: 28 Dec 2021, 10:18
by simkea
Hello,

I have commented out the line and it works flawlessly so far.
I am not a fan of code manipulation in client projects. Because as soon as they install a new update, it is overwritten again.

Can you perhaps create a setting in the options for this protective measure?

Re: Plugin Phocagallery and View "tag"

Posted: 03 Jan 2022, 01:25
by Jan
Hi, added to feature request list:
https://github.com/PhocaCz/PhocaGallery ... n/issues/1

Jan

Re: Plugin Phocagallery and View "tag"

Posted: 08 Mar 2023, 20:27
by simkea
Now I have noticed this again after hours of searching that in the code the prepare for the component_tags is not interpreted as {phocagallery.

Shall I program that for you?

Re: Plugin Phocagallery and View "tag"

Posted: 12 Mar 2023, 17:44
by Jan
Hi, yes, you can add there the changed code which can then help me to make the change faster.

Thank you, Jan