In a mod I am trying to create, a number of items are dealt with in the xml file, such as copying files, creating/altering DB tables or rows and editing existing modules. This is done for you if using AutoMod.
But if further operations are needed and are coded in an install-only php module, there is no way to run this other than the installer pasting the module name (and location) into the browser address line, maintaining the sid value if it must be run as the admin.
Surely there is an easier and less error prone way to accomplish this ?!
MODX Launching a DIY module by administrator
MODX Launching a DIY module by administrator
Martyn T. Griffin
- A_Jelly_Doughnut
- Registered User
- Posts: 1780
- Joined: Wed Jun 04, 2003 4:23 pm
Re: MODX Launching a DIY module by administrator
The easiest way is likely to use UMIL. Announcement and Download
There is some documentation within the download.
There is some documentation within the download.
A_Jelly_Doughnut
Re: MODX Launching a DIY module by administrator
I downloaded the mod files in the zip container, but one of the files has the name root with no extension, same name as the root folder in there. I get an error trying to copy that file. The root folder has no content.
Edit: I did this on a different system and now it appears ok. I have the contents of the UMIL folder.
I'll look at this tomorrow morning.
Thanks.
Edit: I did this on a different system and now it appears ok. I have the contents of the UMIL folder.
I'll look at this tomorrow morning.
Thanks.
Martyn T. Griffin