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.
Development of plugin for phoca gallery
-
roland_d_alsace
- Phoca Newbie

- Posts: 9
- Joined: 04 Aug 2013, 08:06
- Jan
- Phoca Hero

- Posts: 49144
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Development of plugin for phoca gallery
Hi, no for now there are no events 
Jan
Jan
If you find Phoca extensions useful, please support the project
-
roland_d_alsace
- Phoca Newbie

- Posts: 9
- Joined: 04 Aug 2013, 08:06
Re: Development of plugin for phoca gallery
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.
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.
- Jan
- Phoca Hero

- Posts: 49144
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Development of plugin for phoca gallery
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
Jan
If you find Phoca extensions useful, please support the project
-
roland_d_alsace
- Phoca Newbie

- Posts: 9
- Joined: 04 Aug 2013, 08:06
Re: Development of plugin for gallery -> idem for phoca down
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
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

- Posts: 9
- Joined: 04 Aug 2013, 08:06
Re: Development of plugin for phoca gallery
A small "up" Jan, for having events in your components...
...and to give the abalility to extend them with plugins.
Regards.
...and to give the abalility to extend them with plugins.
Regards.
- Jan
- Phoca Hero

- Posts: 49144
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Development of plugin for phoca gallery
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
Jan
If you find Phoca extensions useful, please support the project
-
roland_d_alsace
- Phoca Newbie

- Posts: 9
- Joined: 04 Aug 2013, 08:06
Re: Development of plugin for phoca gallery
Thanks Jan.
What events will be trigger ?
...and for Phocadownload ? (i know i need a lot !)
Regards
What events will be trigger ?
...and for Phocadownload ? (i know i need a lot !)
Regards
- Jan
- Phoca Hero

- Posts: 49144
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Development of plugin for phoca gallery
Events to load external plugins:
onVoteCategory
onCommentCategory
onVoteImage
onCommentImage
onViewCategories
onViewCategory
onViewImage
onUploadAvatar
onStoreNewImage
Jan
onVoteCategory
onCommentCategory
onVoteImage
onCommentImage
onViewCategories
onViewCategory
onViewImage
onUploadAvatar
onStoreNewImage
Jan
If you find Phoca extensions useful, please support the project
- Jan
- Phoca Hero

- Posts: 49144
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Development of plugin for phoca gallery
If you find Phoca extensions useful, please support the project