From: Wendall C. <wen...@to...> - 2004-04-07 15:28:20
|
Hey everyone, Don and I have never taken the time to see why the Go to Module link doesn't work with some mods after installing. I finally took the time to find out and wanted to share it with everyone, and discuss adding it to mods that don't have it, or modify the behavior of mod/boost/class/Boost.php. Anyway, in conf/controlpanel.php you need to add "admin"=>TRUE to the $link[] array to have the "Go to Module" link appear after boosting your mod. I didn't test to see if this makes the mod only available to admin users in the control panel. If that is the case, I think a modification to Boost.php may be in order. The line that would need to be altered is 337 in current cvs: if (isset($modLink['admin']) && (bool)$modLink['admin'] == TRUE) I'm not sure what the original thought was behind this line. It doesn't really make any sense to me since a user must be a Diety to boost anyway. May be more appropriate to just whack this line. Something to look into anyway. Wendall -- "Only the ideas that we really live have any value." --Hermann Hesse (Demian) |