Plugin Phocagallery and View "tag"

Phoca Gallery - image gallery extension
simkea
Phoca Newbie
Phoca Newbie
Posts: 6
Joined: 09 Dec 2012, 12:35
Location: Marburg
Contact:

Plugin Phocagallery and View "tag"

Post 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

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

Re: Plugin Phocagallery and View "tag"

Post 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
If you find Phoca extensions useful, please support the project
simkea
Phoca Newbie
Phoca Newbie
Posts: 6
Joined: 09 Dec 2012, 12:35
Location: Marburg
Contact:

Re: Plugin Phocagallery and View "tag"

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

Re: Plugin Phocagallery and View "tag"

Post by Jan »

Hi, added to feature request list:
https://github.com/PhocaCz/PhocaGallery ... n/issues/1

Jan
If you find Phoca extensions useful, please support the project
simkea
Phoca Newbie
Phoca Newbie
Posts: 6
Joined: 09 Dec 2012, 12:35
Location: Marburg
Contact:

Re: Plugin Phocagallery and View "tag"

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

Re: Plugin Phocagallery and View "tag"

Post by Jan »

Hi, yes, you can add there the changed code which can then help me to make the change faster.

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