Page 1 of 1

Is there a fuller account of the module api?

Posted: Thu Aug 30, 2007 11:43 am
by paulr2007
Hi,

I am getting stuck / going in circles.  I've been trying to find a way to display a page to edit certain database tables from within an admin page in CMSMS. 

But really I am feeling the lack of a coherent account of the way in which the module api works.  Please don't direct me to that automatically generated stuff.

If such a thing existed I would read it and not bother you again, except if there was something missing.  Reading others' code and the few bits of tutorials on this site may enable to me hack something together, but I would rather do it properly.  I hate working this way.

Re: Is there a fuller account of the module api?

Posted: Thu Aug 30, 2007 1:15 pm
by alby
paulr2007 wrote: I am getting stuck / going in circles.  I've been trying to find a way to display a page to edit certain database tables from within an admin page in CMSMS. 
I you want a module for you only and you have sql skill try this module (but I remember a few errors/bugs).
If you want a simple editing, look to GoogleMap module and rcrud.inc.php in particulary

Alby

Re: Is there a fuller account of the module api?

Posted: Thu Aug 30, 2007 2:36 pm
by paulr2007
Thank you but this is not what I was after.

I am writing something that will be used by other people, who certainly will not know SQL.

Re: Is there a fuller account of the module api?

Posted: Thu Aug 30, 2007 5:04 pm
by alby
paulr2007 wrote: I am writing something that will be used by other people, who certainly will not know SQL.
Ok, Look into GoogleMap for rcrud use:
alby wrote: If you want a simple editing, look to GoogleMap module and rcrud.inc.php in particulary
Alby

Re: Is there a fuller account of the module api?

Posted: Fri Aug 31, 2007 11:25 am
by paulr2007
Thanks for persisting.  I will have a look at rcrud.

Does anyone fancy writing a (pdf) book though?  Or something at least as good as the smarty online docs? I might even be prepared to pay for it, and so I imagine would a few others. I can't write it because I don't understand cmsms yet.  I've actually started reading some of the base class files, to try and figure it out, but I have limited time for this.

Dare I suggest that documenting such a system is not optional, that is if you want it to be widely used?

Thanks again ALBY

ps

rcrud turned out to have really repaid the effort.  I can certainly use this as a basis for what I want.  With some adjustment and some rules for field naming it will probably take care of all editing.  This does not alter the point of my original post.