[development] D7 small survey: listing of node types at /node/add

Moshe Weitzman weitzman at tejasa.com
Wed Dec 5 15:01:30 UTC 2007


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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 2421 bytes
Desc: not available
Url : http://lists.drupal.org/pipermail/development/attachments/20071205/d1932095/attachment.bin 


More information about the development mailing list