Nucleus Support Forum Index

Find on the forum:
any terms  all terms  Advanced Search

RSS 2.0
Browse posts: Unanswered | Mark all read

« »
Loading Nucleus FAQ ticker...
Post new topic Reply to topic
Author Message
karma
Nucleus Master
Nucleus Master


Joined: 07 Dec 2001
Posts: 1097

Post Posted: Sun Mar 09, 2003 2:20 pm   Post subject: CVS 2003-03-09: 41 new plugin events
Reply with quote

I've added about 40 new plugin events in the admin area, mostly Pre/PostDelete and Pre/PostAdd events

I'm not going to list them all here. Instead, I'm pointing to the [url=http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/*checkout*/nucleuscms/nucleus/nucleus/documentation/devdocs/plugins.html?rev=HEAD&content-type=text/html#events]updated plugin devdocs[/url] (link to latest CVS version)

In those docs, I also colorcoded the parameters now, so it's more clear which are passed by reference/by value, and which are objects

_________________
Wouter Demuynck
http://karma.nucleuscms.org/

Back to top

View user's profile Send private message Visit poster's website
xiffy
Nucleus Guru
Nucleus Guru


Joined: 27 Mar 2002
Posts: 1218
Location: Deventer

Post Posted: Sun Mar 09, 2003 4:34 pm   Post subject:
Reply with quote

Damned cvs @ sourceforge is down.
But 40 events! Kewl. This way we can write a complete rework of the backside of nucleus as well.
Can't wait till sourceforge is up again...

Thanks Karma!

_________________
__deus ex machina__
http://xiffy.nl/weblog/
Japan photo's: http://2006.cooljapan.nl/main.php?g2_itemId=20

Back to top

View user's profile Send private message Send e-mail Visit poster's website MSN Messenger ICQ Number
anand
Nucleus Guru
Nucleus Guru


Joined: 26 Jul 2002
Posts: 539
Location: Bangalore, India

Post Posted: Mon Mar 10, 2003 4:55 am   Post subject: Whew !
Reply with quote

Fantastic ! you have covered pretty much everything Smile

One small doubt from a very brief reading of the docs : For the blogsettings, membersettings or generalsettings, Shouldnt there be a call after the settings have been updated ? A call like PostBlogSettingsUpdate or something like that, which we can hook into and get the values of the variables we have created ?

And what about a categorysettings call ? Since everything else is there, you might as well put this one as well Smile

Anyway, fantastic work ( as always ).

My head is already reeling with the possibilities Wink

Back to top

View user's profile Send private message Visit poster's website
anand
Nucleus Guru
Nucleus Guru


Joined: 26 Jul 2002
Posts: 539
Location: Bangalore, India

Post Posted: Mon Mar 10, 2003 7:06 am   Post subject:
Reply with quote

For the moved events, can you give the source as well as the destination ? I know, I can get the source in the pre Call by looking up the corresponding stuff for the itemid but still it would be easier if it is explicitly given.

Back to top

View user's profile Send private message Visit poster's website
karma
Nucleus Master
Nucleus Master


Joined: 07 Dec 2001
Posts: 1097

Post Posted: Sun Mar 16, 2003 3:14 pm   Post subject:
Reply with quote

anand wrote:
For the moved events, can you give the source as well as the destination ? I know, I can get the source in the pre Call by looking up the corresponding stuff for the itemid but still it would be easier if it is explicitly given.


The thing is, at the moment where I generate the MoveItem events, I don't have that info either (since I don't need it).

Quote:
One small doubt from a very brief reading of the docs : For the blogsettings, membersettings or generalsettings, Shouldnt there be a call after the settings have been updated ? A call like PostBlogSettingsUpdate or something like that, which we can hook into and get the values of the variables we have created ?


Actually, the blogsettings, membersettings and generalsettings events are not inside the form itself. The consequence of that, is that you'll need to add your own forms and data-handlers.

I don't feel fully satisfied with this solution, to be honest, but I think it offers more power than stuffing everything into one big form

_________________
Wouter Demuynck
http://karma.nucleuscms.org/

Back to top

View user's profile Send private message Visit poster's website
xiffy
Nucleus Guru
Nucleus Guru


Joined: 27 Mar 2002
Posts: 1218
Location: Deventer

Post Posted: Sun Mar 16, 2003 4:34 pm   Post subject:
Reply with quote

Quote:
Actually, the blogsettings, membersettings and generalsettings events are not inside the form itself. The consequence of that, is that you'll need to add your own forms and data-handlers.

I don't feel fully satisfied with this solution, to be honest, but I think it offers more power than stuffing everything into one big form


I think it's a good solution, maybe I'll come up with an form generator that is easily integrated with plugins, that way we get rid of the disadvantages (more work for the plugin developers when maintaining their own forms) and keep the advantages, one form per plugin and highly configurable settings forms.
Hopefully i'll get this one done.

_________________
__deus ex machina__
http://xiffy.nl/weblog/
Japan photo's: http://2006.cooljapan.nl/main.php?g2_itemId=20

Back to top

View user's profile Send private message Send e-mail Visit poster's website MSN Messenger ICQ Number
sulleleven
Nucleus Disciple


Joined: 13 Nov 2002
Posts: 136
Location: NY NY

Post Posted: Sat Mar 22, 2003 5:58 pm   Post subject:
Reply with quote

xiffy,

this would be great! ! !

thanks.

sull11

_________________
'stay tuned, always'

Back to top

View user's profile Send private message Visit poster's website AIM Address
Post new topic Reply to topic
Display posts from previous:   

Page 1 of 1

All times are GMT + 1 Hour

Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

Powered by phpBB © 2001, 2002 phpBB Group