Author |
Message |
liqiud
Regular
Joined: Nov 05, 2006
Posts: 53
|
Posted:
Wed Nov 22, 2006 8:36 am |
|
When i'm signed in as an admin, is there a way to hide the Inactive Modules from the Modules Block. It makes my modules block huge, and pushes the rest of my content down. I know i could delete the modules, but i'm not sure i want to do that.
Thanks in advance. |
|
|
|
|
evaders99
Former Moderator in Good Standing
Joined: Apr 30, 2004
Posts: 3221
|
Posted:
Wed Nov 22, 2006 8:44 am |
|
|
|
|
hitwalker
Sells PC To Pay For Divorce
Joined:
Posts: 5661
|
Posted:
Wed Nov 22, 2006 8:47 am |
|
here we go...
openup block-modules.php
somewhere below look for :
if ($a == 1 AND $dummy != 1) {
put this //
infront of it...
Same goes for every line after that...like
//
//
//
etc..
but end with } < <
leave that last one intact. |
|
|
|
|
liqiud
|
Posted:
Wed Nov 22, 2006 9:31 am |
|
You guys rock. Thank you so much. |
|
|
|
|
-I4nI-GENOCIDE
New Member
Joined: Apr 10, 2005
Posts: 4
|
Posted:
Fri Aug 10, 2007 12:18 am |
|
Is this still valid because I tried that and it does not work for me. I wish to hide the Inactive Modules. I added // in front of the code and my site will not load. I am running the latest version of RN. |
|
|
|
|
montego
Site Admin
Joined: Aug 29, 2004
Posts: 9457
Location: Arizona
|
Posted:
Fri Aug 10, 2007 6:26 am |
|
|
|
|
liqiud
|
Posted:
Fri Aug 10, 2007 6:39 am |
|
I just did an install 3 or 4 days ago, and it still worked for me. |
|
|
|
|
fkelly
Former Moderator in Good Standing
Joined: Aug 30, 2005
Posts: 3312
Location: near Albany NY
|
Posted:
Fri Aug 10, 2007 7:45 am |
|
You could also create a directory called /inactive_modules and move your inactive modules there. The admin program wouldn't pick them up and they would still be there if you ever wanted to activate one ... just move it back to /modules. I'm pretty sure that would work without needing to change any code and it would save you a few nanoseconds every time admin.php runs. That said, I haven't tried it so it's not warranteed. |
|
|
|
|
-I4nI-GENOCIDE
|
Posted:
Sat Aug 11, 2007 11:48 pm |
|
Thanks guys it was a simple error on my part.
I must say I have been using this forum for support for a long time but I have only posted a few times. The reason is, all of the problems I have had have been covered. All you have to do is search and you find the answer.
Thanks again for all of your support to nuke. |
|
|
|
|
montego
|
Posted:
Sun Aug 12, 2007 8:13 am |
|
|
|
|
|