Page 1 of 1

Plugin calls are commented out in the backend. Why?

Posted: 20 Nov 2012, 11:42
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

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

Posted: 25 Nov 2012, 21:26
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

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

Posted: 01 Dec 2012, 16:08
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!

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

Posted: 09 Dec 2012, 01:08
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