[drupal-devel] [bug] No q=poll breadcrumb; link to q=poll breadcrumb only present if block enabled

nysus drupal-devel at drupal.org
Sun Mar 27 17:14:13 UTC 2005

Issue status update for http://drupal.org/node/19485

 Project:      Drupal
 Version:      cvs
 Component:    poll.module
 Category:     bug reports
 Priority:     minor
 Assigned to:  Anonymous
 Reported by:  ankur
 Updated by:   nysus
 Status:       active
 Attachment:   http://drupal.org/files/issues/poll_patch.patch (581 bytes)

Here's a patch that adds "Home" to the q=poll page.


Previous comments:

March 26, 2005 - 00:47 : ankur

I was looking at a bug report submitted on civicspacelabs.org
The issue was about there being no breadcrumbs (there should be one:
"Home") when you go to q=poll.
I was looking through the code and noticed that there is no obvious way
to get to q=poll unless the poll block is enabled.  I was thinking both
problems could be solved by changing poll_menu() so that it changes the
path for q=poll to q=admin/poll....?  Of course, I know that perms for
q=admin/poll would then have to fall under the 'create polls'
permission, which would then make it useless for the 'older polls' link
in the polls block, but I'm thinking there's no harm done in making this
a seperate menu item in poll_menu.
If this is something that you think deserves a patch, I'm willing to
submit one... 


March 26, 2005 - 00:50 : ankur

sorry, the title should really read "....q=poll link only present if
block enabled".

More information about the drupal-devel mailing list