On Oct 5, 4:48 pm, The Editor <[email protected]> wrote:
> 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.

i also thought of that, but it would become unbearable to update it
(or at least double-check it) every time boltwire gets updated.
not nice for a plugin.


> Other than
> the replace table, there's no real way to edit the content.

do you remember the PmWiki times? there was an array $EditFunctions
which was the pipe through which the page goes when saving. i thought
maybe there is something like that here.
well, a full pipe is not needed but maybe is it possible to implement
a way to fall back to the default BOLTsavepage after the custom code
is performed?


> 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...

this would work, changing the action.edit page... but again it is not
nice to do a plugin like this.
also, i need the same for reading as well. hook just before a page
gets read (or after, i don't know yet). again, if only i could fall
back to the default function...

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
-~----------~----~----~----~------~----~------~--~---

Reply via email to