- Moderated by:
- Support Team
-
- rank:
-
Freshman
- registered:
- April 2003
- Status:
- offline
- last visit:
- 03.04.03
- Posts:
- 2
What's the difference between active and inactive modules ?
i tries to make and modules inactive ( e.q. Download ), but it's seem didn't make any difference. it still can be accessed
I use 0.7.2.3-Phoenix.
Thanks -
- rank:
-
Moderator
- registered:
- March 2002
- Status:
- offline
- last visit:
- 26.08.08
- Posts:
- 7720
chandra13
What's the difference between active and inactive modules ?
i tries to make and modules inactive ( e.q. Download ), but it's seem didn't make any difference. it still can be accessed
I use 0.7.2.3-Phoenix.
Thanks
The active and inactive state only works for fully pnAPI compliant modules. We are currently in the process of rewriting all modules to this status.
The only way to fully remove access to a non-compliant module is to remove the code.
Also the main menu is idependant of the modules status and is edited from administration->blocks then editing the 'main menu' block.
-Mark -
- rank:
-
Freshman
- registered:
- April 2003
- Status:
- offline
- last visit:
- 03.04.03
- Posts:
- 2
markwest
The active and inactive state only works for fully pnAPI compliant modules. We are currently in the process of rewriting all modules to this status.
The only way to fully remove access to a non-compliant module is to remove the code.
Also the main menu is idependant of the modules status and is edited from administration->blocks then editing the 'main menu' block.
-Mark
Yup, i have removed the link in the menu but i can still access it by call it manually
.../modules.php?op=modload&name=Downloads&file=index
I think Download modules is official module so i expect it's compliant module :) -
- rank:
-
Moderator
- registered:
- March 2002
- Status:
- offline
- last visit:
- 26.08.08
- Posts:
- 7720
chandra13
Yup, i have removed the link in the menu but i can still access it by call it manually
.../modules.php?op=modload&name=Downloads&file=index
I think Download modules is official module so i expect it's compliant module :)
There are currently two module standards. The older PN .6x/php-nuke way and the newer pnAPI compliant way. The modules that ship with the current release are a mixture of the two.Downloads is of the older style.
As I said we are currently recoding all modules to be pnAPI compliant. This is why the current release is v0.723 i.e. pre version 1.0.
The only way to deactivate an older style module is to remove the code.
I hope this explains where we are and why things are as they are.
-Mark -
- rank:
-
Freshman
- registered:
- April 2003
- Status:
- offline
- last visit:
- 09.04.03
- Posts:
- 22
Hi Mark West :)
Thanks for the explanation.. it certainly answers a lot of questions.
But I'm still unsure of how we can go about removing the actual link..? and is it safe to delete the corresponding directory after doing so? i.e. can I delete the AvantGo directory when I delete the link..? :?:
Thanks for any help you can offer.. :D -
- rank:
-
Moderator
- registered:
- March 2002
- Status:
- offline
- last visit:
- 26.08.08
- Posts:
- 7720
SweetTreat
Hi Mark West :)
Thanks for the explanation.. it certainly answers a lot of questions.
But I'm still unsure of how we can go about removing the actual link..? and is it safe to delete the corresponding directory after doing so? i.e. can I delete the AvantGo directory when I delete the link..? :?:
Thanks for any help you can offer.. :D
The link in the menu can be removed by editing the menu block (called by main menu by default). This is under Administration->Blocks. Edit the 'main menu' block.
And then you can safely remove the module. Be aware though that some modules may be used in places you wouldn't initially expect e.g. the module Wiki is used by the news module to allow Wiki style markup in news posts.
-Mark -
- rank:
-
Freshman
- registered:
- April 2003
- Status:
- offline
- last visit:
- 09.04.03
- Posts:
- 22
markwest
SweetTreat
Hi Mark West :)
Thanks for the explanation.. it certainly answers a lot of questions.
But I'm still unsure of how we can go about removing the actual link..? and is it safe to delete the corresponding directory after doing so? i.e. can I delete the AvantGo directory when I delete the link..? :?:
Thanks for any help you can offer.. :D
The link in the menu can be removed by editing the menu block (called by main menu by default). This is under Administration->Blocks. Edit the 'main menu' block.
And then you can safely remove the module. Be aware though that some modules may be used in places you wouldn't initially expect e.g. the module Wiki is used by the news module to allow Wiki style markup in news posts.
-Mark
Thank you :D
