Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Is it my oversight somewhere or is it TD code? - I'm missing the contextual gear-icon menu on the views displayed on the taxonomy page. This especially hurts when used with Draggable Views, which installs its own shortcut menu item "Order", it's a big time saver.
Please ensure the menu comes up.
Comment | File | Size | Author |
---|---|---|---|
#2 | taxonomy_display-contextual_views_links-1839442-2.patch | 704 bytes | codycraven |
Comments
Comment #1
codycraven CreditAttribution: codycraven commentedmoniuch,
It must be the way we are currently attaching the view to the output. We'll have to investigate the alternative embedding methods.
Comment #2
codycraven CreditAttribution: codycraven commentedmoniuch,
Please apply the attached patch and see if it resolves your problem.
Comment #3
moniuch CreditAttribution: moniuch commentedThanks for your time, but the patch doesn't seem to have changed anything...
Comment #4
moniuch CreditAttribution: moniuch commentedBe advised however, that in the conversation (http://drupal.org/node/1855398) I learned about the Embed display type in Views. This type causes that a view of that type, when embedded using
views_embed_view
is rendered along with the contextual menu. If you investigate how it is rendered, it might lead you to a solution though.Comment #5
codycraven CreditAttribution: codycraven commentedFrom that issue thread this definitely looks to be more of an issue with using the embed display type rather than how taxonomy display is embedding.
The way the module is currently written (7.x-1.1 and before) uses the same method as views_embed_view().
I'm going to close the issue for now as works as designed. If there's any change on Views side that needs to be incorporated please re-open and I'll be happy to update the code (or if I'm missing something currently of course).
Comment #6
moniuch CreditAttribution: moniuch commentedI can confirm that using an embed type of display (for those unfamiliar: you have to turn it on in Views settings, as it is not checked by default) makes taxonomy Display render the View's contextual links.
Would be great if TD could do necessary conversion of any disply into embed display on the fly through some *alter* hook, but that might not be possible.