Plugin calls are commented out in the backend. Why?

Phoca Gallery plugins - plugins for Phoca Gallery extension
caro23
Phoca Member
Phoca Member
Posts: 22
Joined: 12 Jul 2008, 17:15

Plugin calls are commented out in the backend. Why?

Post by caro23 »

Hi Jan,

is there any reason why you commented out the content plugin calls in the backend?
(e.g. triggering onContentBeforeSave in /administrator/components/com_phocagallery/models/phocagalleryc.php line 261)

This would be a good opportunity to implement individual code changes in a clear way and without touching the core.
(An even better option would be if these trigger use their own plugin scope...)

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

Re: Plugin calls are commented out in the backend. Why?

Post by Jan »

Hi, if you look into the history of the forum you can see it there, I don't remember all the problems it caused, but there were a lot of problems so I have commented it (not sure if now it will work ok :idea: )

Jan
If you find Phoca extensions useful, please support the project
caro23
Phoca Member
Phoca Member
Posts: 22
Joined: 12 Jul 2008, 17:15

Re: Plugin calls are commented out in the backend. Why?

Post by caro23 »

Well, this is the reason why I suggested to use your own plugin scope (e.g. phoca) and define own methods (e.g. onPhocaGalleryBeforeSave).

I've read some threads in this forum, mostly warning messages because of wrong parameters - nothing serious. On the other hand, I've also seen some requests like mine (e.g. viewtopic.php?f=1&t=20333).
Maybe you rethink about that? Thanks!
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48386
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Plugin calls are commented out in the backend. Why?

Post by Jan »

Hi, yes, it is open case, so I didn't close it as it should be not moved back, but I need to make a closer look at it.
Jan
If you find Phoca extensions useful, please support the project
Post Reply