From: Dan F. <dfr...@cs...> - 2004-06-09 21:03:17
|
No suggestions, other than to change the plug-in interface (add a method, say), and put a hook in editpage.php. I can't check in code in Phpwiki, tho, so you shouldn't necessarily take my word on it. Out of curiosity, what are you trying to do? I've thought about putting hooks there for structured data (essentially, the ability to edit and retrieve versioned fields associated with a page, like "author" of a book page and so on). Dan Dmitry M. wrote: >Hello all. > >I need a suggestion on how to implement a plugin. > >Basically I'm trying to submit some additional data on page edit. I've >hacked editpage.php which seems to work fine. For the final version >however, I want the whole thing implemented as a plugin. > >This is not a problem for retrieving data as the engine passes control >to the plugin on page load (which is all I need). I can't think of a >nice way to do it on page edit (and can't find anything in code). > >Any suggestions? > >-d > > > > >------------------------------------------------------- >This SF.Net email is sponsored by: GNOME Foundation >Hackers Unite! GUADEC: The world's #1 Open Source Desktop Event. >GNOME Users and Developers European Conference, 28-30th June in Norway >http://2004/guadec.org >_______________________________________________ >Phpwiki-talk mailing list >Php...@li... >https://lists.sourceforge.net/lists/listinfo/phpwiki-talk > > |