MODX Launching a DIY module by administrator

Temporary forum to obtain support for MODs/Styles while phpbb.com is down
Locked
griffinmt
Registered User
Posts: 10
Joined: Mon Feb 02, 2009 12:26 am

MODX Launching a DIY module by administrator

Post by griffinmt »

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 ?!
Martyn T. Griffin

User avatar
A_Jelly_Doughnut
Registered User
Posts: 1780
Joined: Wed Jun 04, 2003 4:23 pm

Re: MODX Launching a DIY module by administrator

Post by A_Jelly_Doughnut »

The easiest way is likely to use UMIL. Announcement and Download
There is some documentation within the download.
A_Jelly_Doughnut

griffinmt
Registered User
Posts: 10
Joined: Mon Feb 02, 2009 12:26 am

Re: MODX Launching a DIY module by administrator

Post by griffinmt »

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.
Martyn T. Griffin

Locked