Development of plugin for phoca gallery

Phoca Gallery - image gallery extension
roland_d_alsace
Phoca Newbie
Phoca Newbie
Posts: 9
Joined: 04 Aug 2013, 08:06

Development of plugin for phoca gallery

Post by roland_d_alsace »

Hello.

When importing images, I need to record in the mysql tables database, some informations such as tags or description from the EXIF / IPTC tags of each picture.

But, of course, I don't want to hack the phoca gallery code.
So I need to develop a plugin for phocagallery.

Is-it defined, in the phoca gallery component, events (as defined in joomla) such as "onBeforePictureSave" that would allow me to make this kind of plugin ?

Regards.
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49144
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Development of plugin for phoca gallery

Post by Jan »

Hi, no for now there are no events :-(

Jan
If you find Phoca extensions useful, please support the project
roland_d_alsace
Phoca Newbie
Phoca Newbie
Posts: 9
Joined: 04 Aug 2013, 08:06

Re: Development of plugin for phoca gallery

Post by roland_d_alsace »

Thanks for your repply Jan.

Do you think that it's possible to have some important events for having possibility like describe in my post header ?

I don't want to hack Phoca code.

So if you said no, i prefer to make a little component, that modify the table of phoca, after pictures integration, for filling with the good informations.

Regards.
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49144
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Development of plugin for phoca gallery

Post by Jan »

Hi, I have added it to feature request list, but really no idea when I will find time to look at this (this can take a lot of time :-( )

Jan
If you find Phoca extensions useful, please support the project
roland_d_alsace
Phoca Newbie
Phoca Newbie
Posts: 9
Joined: 04 Aug 2013, 08:06

Re: Development of plugin for gallery -> idem for phoca down

Post by roland_d_alsace »

Thanks Jan, I thinks that this will be very interesting for extending the capacity of your very good components.

If i can...
...I suggest to make the same in Phoca Download.

For exemple an event when uploading a new file to the server before writing in the db table
(for exemple for making a plugin for copying file to preview for having the ability to directly display a pdf for exemple).

Regards.
Roland_d_alsace
roland_d_alsace
Phoca Newbie
Phoca Newbie
Posts: 9
Joined: 04 Aug 2013, 08:06

Re: Development of plugin for phoca gallery

Post by roland_d_alsace »

A small "up" Jan, for having events in your components...
...and to give the abalility to extend them with plugins.

Regards.
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49144
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Development of plugin for phoca gallery

Post by Jan »

Hi, for now I am working on implementing loading of external plugins in Phoca Gallery (made by Bernard Gilly), I hope I will finish it soon.

Jan
If you find Phoca extensions useful, please support the project
roland_d_alsace
Phoca Newbie
Phoca Newbie
Posts: 9
Joined: 04 Aug 2013, 08:06

Re: Development of plugin for phoca gallery

Post by roland_d_alsace »

Thanks Jan.

What events will be trigger ?

...and for Phocadownload ? (i know i need a lot !)

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

Re: Development of plugin for phoca gallery

Post by Jan »

Events to load external plugins:

onVoteCategory
onCommentCategory
onVoteImage
onCommentImage
onViewCategories
onViewCategory
onViewImage
onUploadAvatar
onStoreNewImage

Jan
If you find Phoca extensions useful, please support the project
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49144
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Development of plugin for phoca gallery

Post by Jan »

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