corman420
02-29-2008, 02:42 PM
Hi all,
I have a few modules that I wish for my staff to turn off & on when needed. The problem I have is I don't want them in the AdminCP to do this. I've tried setting up a simple query to SET active=0 and vice versa to turn them on. Unfortunatley, the modules don't disappear.
So my next step was to go into the phpmyadmin and double check. Sure enough the module was set to 0, but still showing on the main page.
I figured out that each page also has a field for the module lists, so Im guessing while in the admincp, it must also update the pages as well as the module.
My question is, has anyone done anythign like this before? Use a seperate script to turn modules off and on? And how do I do it?
Thanks in advance!
I have a few modules that I wish for my staff to turn off & on when needed. The problem I have is I don't want them in the AdminCP to do this. I've tried setting up a simple query to SET active=0 and vice versa to turn them on. Unfortunatley, the modules don't disappear.
So my next step was to go into the phpmyadmin and double check. Sure enough the module was set to 0, but still showing on the main page.
I figured out that each page also has a field for the module lists, so Im guessing while in the admincp, it must also update the pages as well as the module.
My question is, has anyone done anythign like this before? Use a seperate script to turn modules off and on? And how do I do it?
Thanks in advance!