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.
Hi
I d like to be able to move the local task to the admin menu only for certain themes, normally when using an admin theme (Seven for example) I d like to have them where they are supposed to be, but remove them on a normal front end theme.
tx
Simone
Comment | File | Size | Author |
---|---|---|---|
#5 | admin_menu-do-not-move-local-tasks-on-admin-pages-2001104-5.patch | 1.9 KB | sirtet |
#2 | admin_menu-do-not-move-local-tasks-on-admin-pages-2001104-2.patch | 1.43 KB | sirtet |
Comments
Comment #1
sirtet+1,
I am looking for the same feature, same reason...
Comment #2
sirtetIt's not exactly what the title requests,
But this patch allows to not move the local tasks on admin pages.
I was looking for how to make the new checkbox appear as in the hierarchy of the other, with indent.
but i did not find a good howto.
also it could depend on the first, did not try that yet.
Comment #3
sirtetComment #4
sirtetok, with
i can get the functional dependency, but how to indent this checkbox to better show the dependency visually?
Views does this via ctools
#dependent
, eg. on childs of the checkbox "Create a label".Comment #5
sirtetOk, i used #prefix/#suffix to get the indent.
I was surprised i did not find a generic, easy way to get a semantic AND visual hierarchy. I did not get my head around all the #container, #parent, #child, #tree options.
But i think it's usable this way.
Comment #6
sirtetComment #7
sirtetComment #8
Chris Gillis CreditAttribution: Chris Gillis commentedAny update since January?
Comment #9
sirtetThe patch works and has passed,
someone needs to review...
Comment #10
vaccinemedia CreditAttribution: vaccinemedia commentedApplied cleanly and works a treat for me even when using the adminimal menu on top.
Comment #11
cosolom CreditAttribution: cosolom commentedI think it's time to include it in the next release) Year is more than enough to test
Comment #12
vaccinemedia CreditAttribution: vaccinemedia commentedComment #13
truls1502Let's set the status to NR so people look at this.
Comment #14
cosolom CreditAttribution: cosolom commentedI think that people already looked at this during last 5 years. maybe 2 more years and this patch will be commited.
Comment #15
Chris Matthews CreditAttribution: Chris Matthews commentedThe patch in #5 still applies cleanly to 7.x-3.x-dev, great improvement, changing status to RTBC in hopes this is committed before the next release, be it -rc7 or 7.x-3.0.
Comment #17
truls1502I have also corrected the patch regarding Drupal Coding Standards.