[documentation] [Documentation bug] Add query to the menu items.

gordon drupal-docs at drupal.org
Tue Jun 20 03:52:20 UTC 2006


Issue status update for 
http://drupal.org/node/69270
Post a follow up: 
http://drupal.org/project/comments/add/69270

-Project:      Drupal
+Project:      Documentation
-Version:      cvs
+Version:      <none>
-Component:    menu system
+Component:    Documentation in CVS
 Category:     bug reports
 Priority:     normal
 Assigned to:  gordon
 Reported by:  gordon
 Updated by:   gordon
-Status:       fixed
+Status:       patch (code needs review)
 Attachment:   http://drupal.org/files/issues/menu_doc.patch.txt (814 bytes)

Here is the changes to the api for hook_menu()




gordon



Previous comments:
------------------------------------------------------------------------

Fri, 16 Jun 2006 01:12:00 +0000 : gordon

Attachment: http://drupal.org/files/issues/menu_query.patch.txt (770 bytes)

Here is a small patch that allows modules to add to the querystring of
an item.


Case: I have used this to allow CiviCRM use standard menu entries for
it's functions instead of the custom block that is currently being
used. I am going to submit a patch for the next version of CiviCRM
which will remove the current blocks and use the Drupal menu structure
which is more powerful.


The attached patch was created on 4.7.2 but should apply to CVS.




------------------------------------------------------------------------

Sat, 17 Jun 2006 15:22:35 +0000 : Dries

Committed to CVS HEAD.  


(Looks like a stupid function to me.)




------------------------------------------------------------------------

Tue, 20 Jun 2006 03:41:24 +0000 : gordon

Just out of interest, what is the stupid function. adding the query
parameter, or the theme_menu_item() function.






More information about the documentation mailing list