Embed Phoca Gallery in COMPONENT

Phoca Gallery - image gallery extension
Graschki
Phoca Newbie
Phoca Newbie
Posts: 4
Joined: 02 Jan 2014, 17:12

Embed Phoca Gallery in COMPONENT

Post 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
Graschki
Phoca Newbie
Phoca Newbie
Posts: 4
Joined: 02 Jan 2014, 17:12

Re: Embed Phoca Gallery in COMPONENT

Post by Graschki »

Oh and i forgot: I still run on Joomla 2.5, so it is Phoca 3.2.6
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49144
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Embed Phoca Gallery in COMPONENT

Post by Jan »

If you find Phoca extensions useful, please support the project
Graschki
Phoca Newbie
Phoca Newbie
Posts: 4
Joined: 02 Jan 2014, 17:12

Re: Embed Phoca Gallery in COMPONENT

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

Re: Embed Phoca Gallery in COMPONENT

Post 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
If you find Phoca extensions useful, please support the project
Graschki
Phoca Newbie
Phoca Newbie
Posts: 4
Joined: 02 Jan 2014, 17:12

Re: Embed Phoca Gallery in COMPONENT

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

Re: Embed Phoca Gallery in COMPONENT

Post by Jan »

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