2010-03-05, 08:45:54
yxcvbnm Wrote:sry, but the documentation is complicated, the interfaces of register_plugin is not documented: what does $type and $loaddata do?Nothing to apologise for, it really lacks documentation on that point, I didn’t know either. If I recall correctly, but don’t take my word for it, $type tells under what top-level tab the plugin needs to popup and $loaddata what function should be ran when you load the plugins page (that is, when the admin panel loads your plugin.php file).
In the latest SVN build I’m pretty sure neither $type or $loaddata are required any more.
Didn’t know there was a problem with the tabs though, will need to look into why exactly this is happening.
“Don’t forget the important ˚ (not °) on the a,†says the Unicode lover.
Help us test a key change for the core! ¶ Problems with GetSimple? Be sure to enable debug mode!
Help us test a key change for the core! ¶ Problems with GetSimple? Be sure to enable debug mode!