I played a litte with this fantastic v.3
Some questions:
when I wrote a plugin... how can I run it? only from the plugin page? or is there a way to integrate it in the generation process?
I would like the write a plugin to build modules for PostNuke, PHPNuke, etc that manage tables...
I should start from a "template" module, generate the generator code, etc...
Can you confirm that this can be made (at least in theory)... ;-)
I'll need some more input from user (like module name, etc...) can the plugin manage this?
thanks a lot!!!
Stefano
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
When you write a plugin.. just make sure you all it... *.plugin.class.php and make a folder for it and drop it in the ..web/userPlugIns directory.. or just put the file directly in the ..web/userPlugIns directory and PCG will automatically detect it when you go to userPlugins option from the application.
Also put these somewhere in your plugin file as comments
<?
/*
<PLUGINNAME>pluginClassName</PLUGINNAME>
<DESCRIPTION>This plugin does something.</DESCRIPTION>
<AUTHOR>Your Name</AUTHOR>
*/
?>
where pluginClassName is the name of your plugin Class..
Sorry I have not done a good job at documenting it correctly. Maybe after you write your first plugin you can help write some better documentation on how to do a PCG plugin :)
Let me know how it works for you.
Thanks,
Nilesh
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I played a litte with this fantastic v.3
Some questions:
when I wrote a plugin... how can I run it? only from the plugin page? or is there a way to integrate it in the generation process?
I would like the write a plugin to build modules for PostNuke, PHPNuke, etc that manage tables...
I should start from a "template" module, generate the generator code, etc...
Can you confirm that this can be made (at least in theory)... ;-)
I'll need some more input from user (like module name, etc...) can the plugin manage this?
thanks a lot!!!
Stefano
When you write a plugin.. just make sure you all it... *.plugin.class.php and make a folder for it and drop it in the ..web/userPlugIns directory.. or just put the file directly in the ..web/userPlugIns directory and PCG will automatically detect it when you go to userPlugins option from the application.
Also put these somewhere in your plugin file as comments
<?
/*
<PLUGINNAME>pluginClassName</PLUGINNAME>
<DESCRIPTION>This plugin does something.</DESCRIPTION>
<AUTHOR>Your Name</AUTHOR>
*/
?>
where pluginClassName is the name of your plugin Class..
Sorry I have not done a good job at documenting it correctly. Maybe after you write your first plugin you can help write some better documentation on how to do a PCG plugin :)
Let me know how it works for you.
Thanks,
Nilesh