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.
Missing action links content type
Comment | File | Size | Author |
---|---|---|---|
#4 | actions_links-1470264-4.patch | 1.47 KB | anon |
actionlinks.patch | 1.04 KB | casey |
Comments
Comment #1
HnLn CreditAttribution: HnLn commentedworks perfectly for me
Comment #2
merlinofchaos CreditAttribution: merlinofchaos commentedExcellent, this was definitely missing in D7. Committed, pushed.
Comment #3
HnLn CreditAttribution: HnLn commentedThe action links are rendered without ul container, the plugin should wrap menu_local_actions() in
<ul class="action-links">
(taken from the core 7 theme).Comment #4
anonHere is a patch that will add a new file to the include dir called "action-links.theme.inc"
It contains a theme function that will wrap the actions links in the UL as code does.
It also changes the ctools_page_actions_content_type_render function to use this new theme function.
Here is a relevant issue in panels everywhere #1678138: Render Action Links for Messages pane in preprocess
Comment #5
mattiasj CreditAttribution: mattiasj commentedThe patch in #4 works great!
Comment #6
merlinofchaos CreditAttribution: merlinofchaos commentedCommitted and pushed. Thanks!