Page 1 of 1

Display parent category names

Posted: 28 Dec 2014, 18:34
by Tom
Hello,

The Phoca Gallery Plugin displays the parent category names in an article, in the old Version 2.8.1 it was not displaying.

How can I change?

Here you can see

My Code

Code: Select all

{phocagallery view=categories|categoryid=3|imagecategories=1|imagecategoriessize=5}
Tom

Re: Display parent category names

Posted: 02 Jan 2015, 01:02
by Jan
Hi, I get 404 on that site :idea:

Not sure where exactly is displayed parent category name :idea:

Jan

Re: Display parent category names

Posted: 03 Jan 2015, 14:59
by Tom
Oh, sorry i have changed my site.

Now you can see the link

The parent category name is "alte zeiten". this should not displaying

Tom

Re: Display parent category names

Posted: 06 Jan 2015, 01:38
by Jan
Hmm, this needs to be customized directly in the plugin, as the plugin get the whole tree from the component. But this in fact needs to be hardcoded.

e.g. to remove the string from the output: $the_new_string = str_replace('alte Zeiten - ', '', $the_output_string);

:idea:

Jan

Re: Display parent category names

Posted: 12 Jan 2015, 18:17
by Tom
Ok, but in the old Version 2.8.1 it was not displaying.
Jan wrote: e.g. to remove the string from the output: $the_new_string = str_replace('alte Zeiten - ', '', $the_output_string);
which file i must change?

Tom

Re: Display parent category names

Posted: 14 Jan 2015, 02:04
by Jan
Hi, directly the plugin:

plugins/content/phocagallery/phocagallery.php :idea:

Jan