Log in

View Full Version : Another Product Q


Adrian Schneider
07-27-2005, 07:03 PM
I was going to add a master on/off switch for a large project, but I figured the product management would do this automatically if it gets disabled there; well it would disable phrasegroups, plugins & options off the top of my head.

So my question is how would I do this in templates? Any variable I can use in templates to wrap around any new code? [template edits, not new templates]

Thanks

Andreas
07-27-2005, 07:14 PM
Set a $show['myhackisactive'] Flag with your Plugins and check this Flag.

Adrian Schneider
07-27-2005, 07:32 PM
Yeah good point lol :( Thanks Kirby.