Page 1 of 1

Embed Phoca Gallery in COMPONENT

Posted: 02 Jan 2014, 17:20
by Graschki
Hi and welcome myself to this forum! :-)

I am trying to embed the phoca Gallery into a Component! How to embed into an article is explained about a thousand times, install plugin and:
{phocagallery view=categories}
and so on...

BUT: this doesn't work in a component with echo "{phocagallery view=categories}";, the text is written as it is.

Does anybody know how to include Phoca into a Compontent, AND is ist then possible to allow users to upload fotos to a certain category?
Background: I have a website with a Tour-Guide. I want to allow users to see and upload fotos for each tour and collect them also in a gallery. Maybe also to rate them.... all the stuff you want from a great Gallery (like Phoca is)

Thanks in advance!!!! :twisted: :twisted: :twisted:

Roman

Re: Embed Phoca Gallery in COMPONENT

Posted: 02 Jan 2014, 18:45
by Graschki
Oh and i forgot: I still run on Joomla 2.5, so it is Phoca 3.2.6

Re: Embed Phoca Gallery in COMPONENT

Posted: 03 Jan 2014, 17:24
by Jan

Re: Embed Phoca Gallery in COMPONENT

Posted: 06 Jan 2014, 20:12
by Graschki
Hi Jan

Thanks for the answer. But this workaround only works static, because the text in the content description ist static. In my Tour-Guide I have in my MySQL a tour with id=xy und I'd like to include a phoca_id=xy. So each tour has its own Poca category.

I need something that delivers me the phoca category just like:
{phocadownload view=category|id=1|target=s}
but dynamic like

Code: Select all

echo "phocadownload view=category|id=" . $phoca_id . "|target=s";
still hoping :-)

Thanx

Re: Embed Phoca Gallery in COMPONENT

Posted: 06 Jan 2014, 21:43
by Jan
Aha, now I understand, I think, there is no other way than customizing the plugin - so it somehow should get the info from database or url and modify the output :idea:

Jan

Re: Embed Phoca Gallery in COMPONENT

Posted: 11 Jan 2015, 17:39
by Graschki
I have movedmy problem by side, now this issue ist coming back to me. I hope to push this topic up to find somebody who can answer me

Thank you very much

Roman

Re: Embed Phoca Gallery in COMPONENT

Posted: 12 Jan 2015, 21:20
by Jan
Ok