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
Plugin calls are commented out in the backend. Why?
-
- Phoca Member
- Posts: 22
- Joined: 12 Jul 2008, 17:15
- Jan
- Phoca Hero
- Posts: 48386
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Plugin calls are commented out in the backend. Why?
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 )
Jan
Jan
If you find Phoca extensions useful, please support the project
-
- Phoca Member
- Posts: 22
- Joined: 12 Jul 2008, 17:15
Re: Plugin calls are commented out in the backend. Why?
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!
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!
- Jan
- Phoca Hero
- Posts: 48386
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Plugin calls are commented out in the backend. Why?
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
Jan
If you find Phoca extensions useful, please support the project