Well the idea is to copy the entire BOLTsavepage to your new myBOLTsavepage function and then just tweak what you want. That way you can change just part or all of the function as needed. Other than the replace table, there's no real way to edit the content.
Scratch that, I suppose you could add a custom command that parses the content you are about to save in some way and then add that to your actions, before the content gets saved. [session mytweak content] function than scans BOLTarray['content'] and changes the content as desired... Not sure which is easiest--depends on your situation. Cheers, Dan On Mon, Oct 5, 2009 at 9:21 AM, blues <[email protected]> wrote: > > i need to hook the savepage function to do some modifications to the > page before it is saved. > from what i understand form the code, it is possible to hook it by > defining a myBOLTsavepage function, but as i understand it goes to > completely replace the saving process. > as i said, what i need is a way to do something BEFORE the page is > saved and then call the standard BOLTsavepage. and no, a ROS is not > enough. > is it possible? > > blues > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "BoltWire" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/boltwire?hl=en -~----------~----~----~----~------~----~------~--~---
