Module Admin

Talk about writing modules and plugins for CMS Made Simple, or about specific core functionality. This board is for PHP programmers that are contributing to CMSMS not for site developers
Post Reply
User avatar
duclet
Forum Members
Forum Members
Posts: 187
Joined: Fri Jun 23, 2006 12:55 pm

Module Admin

Post by duclet »

I was wondering if anyone else has any ideas regarding this. Basically, in creating the backend for a module, I have come many times to the situation where I need to include JavaScript that might conflict with other JavaScript inclusion by the admin theme itself. My first idea was to create my own JavaScript framework which for the most part, works well. Unfortunately, having one person work on a framework is not really the way to go so I had a new idea:

Using SetParameters, I create user friendly urls  to a module backend but makes it inside of the /admin folder so that it can still do the various user checks. Obviously, this means that when the user wants to edit the module, the link on the admin site will need to point them to the true backend which is really not in the backend but a frontend page. Beside that, I am wondering if there are any other side effects and if they might be a better way?
Post Reply

Return to “Developers Discussion”