[support] setting.php - changing Drupal's admin path

David Reed dreed10 at gmail.com
Wed Feb 1 15:10:23 UTC 2006


In the new administration module (in CVS) we use the
menu.modulecapabilities to reparent menu items.  This module
essentially creates a new
admin path (called sadmin) and reparents admin to be a child of sadmin.
Currently this is a 4.7 only module but the concepts should work for 4.6 as
well.


On 2/1/06, dir.dev at digitalreef.net <dir.dev at digitalreef.net> wrote:
>
> Bèr said:
>
> > The parent of this mail gives a soluion that lets you hack into
> > drupal.moudle.
> > That is very bad advice.
> >
> >  http://drupal.org/node/2476 contains a lot of links to solutions.
>
> All the solutions except one listed on the link above require you to hack
> your  includes/common.inc file instead of the modules/user.module file.
>
> Bèr, I'm just learning Drupal. what's the difference between making
> changes to includes/common.inc and making changes to modules/user.module?
> Is one okay and the other not? Either would be wiped out by a source-copy
> update to a new version of Drupal. What else do we need to be wary of?
>
> Deeper info of why such changes are not a good idea would be good to know
> out here in the field.
>
> - - -
>
> I see only one solution on the page Bèr recommended that reportedly worked
> and doesn't require any source code changes:
>
> http://drupal.org/node/2476#comment-30525
>
> It recommends using the path module; an elegant and proper solution. As
> long as your ISP host doesn't route *all* /admin/ paths to their control
> panel, it'll set up as described. Otherwise, you'll have to set up the
> path module while your Drupal is still in the subdirectory, and then move
> it up to the main directory.
>
> Cheers,
> --Katin
>
>
> --
> [ Drupal support list | http://lists.drupal.org/ ]
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.drupal.org/pipermail/support/attachments/20060201/eeda43b3/attachment.htm


More information about the support mailing list