[development] D6 Node Access, Was: D7 small survey: listing of node types at /node/add

Steven Jones darthsteven at gmail.com
Wed Dec 5 16:43:45 UTC 2007


Oh node access stuff, what joy!

It's very cool that D6 supports this kind of menu override, I tried to
follow the D6 dev cycle along, but didn't have time to contribute, I
was wondering if any other node access related stuff got into D6, or
do we still have the slightly stick mess of D5?

On 05/12/2007, Moshe Weitzman <weitzman at tejasa.com> wrote:
> One caveat - in drupal5 you can only override the callback function.
> any changes to 'access' will be silently ignored. this form of
> altering is not supported in d5. it is supported in d6 wth
> hook_menu_alter()
>
>
> On Dec 5, 2007, at 7:41 AM, Gábor Hojtsy wrote:
>
> > On Dec 5, 2007 1:46 PM, Augustin (Beginner)
> > <drupal.beginner at wechange.org> wrote:
> >> Obviously, there are many different workarounds, e.g. by creating an
> >> intermediary form to select the parent node.
> >> But I run into this problem often and all my workarounds feel like
> >> hacks and I am getting tired of them.
> >>
> >> What do you think? Would it be a useful feature for D7 to modify the
> >> second half of the function node_add() so that the listing can be
> >> customized?
> >
> > Both Drupal 5 and to my knowledge Drupal 6 has the ability to
> > overwrite the registered handler functions for paths you wish to
> > override. So you can do your own listing or whatever shiny page
> > content you'd like to display.
> >
> > Gabor
>
>
>


-- 
Regards
Steven Jones


More information about the development mailing list