When using edit plugin panel, nested plugins eat each other
Hi everyone. I wanted to try and develop two nested plugins where the outer one renders a container and several instances of the inner one render a list of content elements.
The problem was, every time I used the "Edit Plugin" button on the outer plugin, the contents panel triggered the inner plugin to be executed. When I would click the "Submit Query" button, this rendered content would be saved as the outer plugin's contents, erasing the inner plugin's wiki code. That means all inner plugins are eaten up every time you use the plugin panel on the outer plugin.
Sometimes, some text representation of binary code was rendered as well. This seems to be related to jonnyb's findings on IRC 2009-05-13,Wed, and to his fixes in revisions 18720 and 18731.
http://irc.tikiwiki.org/irclogger_log/tikiwiki?date=2009-05-13,Wed&sel=389#l385
http://tikiwiki.svn.sourceforge.net/viewvc/tikiwiki?view=rev&revision=18720
http://tikiwiki.svn.sourceforge.net/viewvc/tikiwiki?view=rev&revision=18731
When I applied those changes to the current stable version (3.0.rc1), it didn't change anything in the edit panel. I also tried to install the current revision (19753), but here the "Edit Plugin" button is gone completely. In the plugin form, there's a checkbox labeled "Disable edit plugin icon", but even if it's unchecked, the button doesn't appear.
If you are restructuring the plugin code right now, is there maybe a bug or feature entry for that, where I can look things up?
I actually think the stable version worked quite well for me, I just don't want the plugins to be executed when I'm editing the wiki code. That works fine in the textual edit panel, so couldn't it be possible to display the content code inside the plugin panel just like in the edit panel? If you can tell me which functions are used here, I can maybe help to fix it.
Thanks for all your work, and best regards
Gerrit