[drupal-devel] Working around node_access in node/add

Gerhard Killesreiter killesreiter at physik.uni-freiburg.de
Mon Feb 14 00:18:36 UTC 2005



On Sun, 13 Feb 2005, Mark wrote:

> Gerhard Killesreiter wrote:
>
> >Can't you just hide or disable the /node url and add a node creation
> >interface for yourself?

> Thats's basically what I'm trying to do.  I use a path of
> node/add/$type/parent/$parent_nid, and only want to require certain

Can't you use an entirely new path?

create/$type/$parent for example.

Then disable or hide node/add through menu.module.
I agree that it is hackish but less hackish than what you proposed.

Cheers,
	Gerhard




More information about the drupal-devel mailing list