The d7ux Seven theme consciously doesn't include breadcrumbs. Lots of core and contrib interfaces rely on breadcrumbs for navigating between different admin screens.
This leaves us with two choices:
1. Do a review of all of core (and it also has to happen for contrib), to find places where you can no longer navigate within an admin section due to lack of breadcrumbs, and refactor those interfaces so they work without them.
2. Add breadcrumbs to the Seven theme.
Obviously I'm not using the D7 admin interface that much in real life, but as an example, both I and merlinofchaos noticed a lack of breadcrumbs in simpletest - when you run tests, there's no proper link (except the tiny 'back to list' link) to get back to the main config/development/testing page - in my case I clicked the 'back to real site' link without reading it, thinking it was a breadcrumb, then swore a bit.
Comments
Comment #1
yoroy CreditAttribution: yoroy commentedfunny thing is. when in admin, the 'back to live site' == Home link in the breadcrumb:
Rename 'Home' to 'Site' and voila! :-)
Well, having "places where you can no longer navigate within an admin section due to lack of breadcrumbs" is not so good.
Maybe a theme function override or something could do that just for Seven (this would 'hardcode' Seven to be an admin only theme of course)
attached patch creates the layout as seen in the screenshot, so certainly needs work.
Comment #2
catchThat looks like a good compromise to me.
So instead of:
< Back to the live site
We'd have
Site >> Admin >> something else
Which pretty much takes up the same space too. I don't see why Seven couldn't have a theme_breadcrumb() implementation to swap out 'home'.
Comment #3
dropcube CreditAttribution: dropcube commentedThere are multiple places where the navigation is lost due to the lack of breadcrumbs. For example, if you go to admin/settings/formats/1 to configure a text format, there is no way to go back to the Text formats list.
I propose to consider adding breadcrumbs to the Seven theme, at least temporarily.
Comment #4
yoroy CreditAttribution: yoroy commentedComment #5
dmitrig01 CreditAttribution: dmitrig01 commentedTo me this gives the impression that Administer is part of Site and Something Else is part of Administer. The second part is correct, but from what I've seen, we're working hard *not* to convey the first part, so I think that we could add the breadcrumb like it is in the mockup, and just remove "home" from the breadcrumb.
Otherwise, visually, the screenshot looks good.
Comment #6
xmacinfoGreat! The most most important issue.
It is very hard to see were we are in D7, new and old users alike.
In #546694: "Back to the live site" is misleading and incorrect I've just commented about the "Back to" link and the Breadcrumb.....
In yoroy screen capture in #1, I would remove Home and rename Administer to Dashboard, making the root for the new breadcrumb: "dashboard". For example:
dashboard > config > development > maintenance
With the new breadcrumb, we could keep the «Back to the ...» link displayed below the breadcrumb.
I would also align the breadcrumb and the «Back to the ...» link to the left.
Comment #7
catch@dmitrig01, the idea behind the admin theme and overlay isn't to hide the fact that the admin area is part of the site, it's to make a distinction between them - see the discussion on #546694: "Back to the live site" is misleading and incorrect.
@xmacinfo, we'll very soon not have anything at /admin, unless a dashboard patch gets in within the next two weeks, so let's not make assumptions about that here.
Comment #8
Zarabadoo CreditAttribution: Zarabadoo commentedI am all for the breadcrumbs. I am actually in favor to the
theme_breadcrumb()
implementation that catch mentioned in #2.Comment #9
xmacinfoI'm now voicing for #2 also. :-)
Comment #10
xmacinfo@catch What's the issue number for removing /admin? Will D7 simply show a 404 on /admin?
Comment #11
catchxmacinfo - adding admin/config, and the various patches tagged 'IA' will mean we gradually move items out of /admin to either the 'hubs' or config, until there's nothing left at /admin.
Comment #12
NaheemSays CreditAttribution: NaheemSays commentedsubscribe.
I also agree with number 2.
Another (probably stupid) approach would be to extend that by moving the admin theme functionality into a new admin_theme module and using that to set the "home" segment of the breadcrumb to "back to front page" or whatever for whatever theme is used as the admin theme.
Comment #13
alexanderpas CreditAttribution: alexanderpas commentedDue to the streamlined interface of Seven, adding breadcrumbs (without home and the current page) enables someone to disable the whole Management menu block (when not in overlay modus), without having any problems (after everything has been moved out of admin)
As a concequence, this streamlines the interface of Seven even more!
Comment #14
alexanderpas CreditAttribution: alexanderpas commentedTry the following:
- Install the drupal with the expert profile.
- Set Seven as your admin theme.
- Now try to find the module page without using the Management Menu (ofcourse, you can click Administer when you are in Garland)
(you won't be able to find that page)
Solution:
Provide breadcrumbs: allows one to get back to a less drilled down overview.
Don't use local tasks on admin overview pages (exception: different views of the same e.g. by task / by module) (see #550718: admin/people needs to have a default tab (was: Tabs on admin pages are not accessible from overviews and menus))
Comment #15
laura s CreditAttribution: laura s commentedI've been struggling with lack of breadcrumbs for a day now. I like #2, with the following change:
<- Back to the front page > Administer > Appearance
In other words, I do think that from a usability standpoint newcomers to Drupal will appreciate the clarity of "back to the front page" as opposed to something like "site".
Comment #16
alexanderpas CreditAttribution: alexanderpas commentedI tried to keep the design of the breadcrumbs in line with the design of seven.
Comments are welcome!
BEFORE:
AFTER:
Try it out!
Comment #17
alexanderpas CreditAttribution: alexanderpas commentedComment #18
yoroy CreditAttribution: yoroy commentedNo, please follow the mockup as per #2, almost all comments here are agreeing on that direction.
Putting the title as the last item in the breadcrumbs looks really bad.
Basically, only a renaming of the first item of the standard breadcrumbs to 'Back to the live site'.
Comment #19
yoroy CreditAttribution: yoroy commentedstatus
Comment #20
laura s CreditAttribution: laura s commentedI would also say that white-on-light-gray is non-ideal use of color.
Comment #21
yoroy CreditAttribution: yoroy commentedYep, just use the blue.
Comment #22
alexanderpas CreditAttribution: alexanderpas commentedhere is the patch with the requested behaviour.
also fixed the white-on-light-gray in my alternative suggestion.
screenshots:
before:
requested:
alternative:
note that to actually see the power of the alternative, you should see it in action, especially when going back during a drill-down
Comment #23
alexanderpas CreditAttribution: alexanderpas commentedofcourse, reviews are welcome ;)
Comment #24
catchCan't the theme('breadcrumb') implementation simply rewrite 'Home' to 'Back to site'? Then we save having separate variables.
Comment #25
moshe weitzman CreditAttribution: moshe weitzman commentedGet rid of /admin? Really? So now admins have to actually remember in which category each link belongs? At least with the old /admin you could scan one page and get to the link you want. Thats two clicks versus a crapshoot of clicks.
Comment #26
alexanderpas CreditAttribution: alexanderpas commentedSure, that is possible.
Comment #27
alexanderpas CreditAttribution: alexanderpas commentedthis issue is part of #551070: [meta-issue] IA broken when toolbar.module not enabled
Comment #28
yoroy CreditAttribution: yoroy commented@Moshe: current approach is:
/admin is the location for the dashboard: #376103: Make /admin into a REAL dashboard.
'configuration & modules' page has two tabs: config and modules, of which config is the default. This page will closely resemble our current /admin. We're reworking the IA for the categories on there in #546956: [meta-issue] Overhaul of Information Architecture
Comment #29
moshe weitzman CreditAttribution: moshe weitzman commentedthose mockups don't look too elegant to me. i would personally stick with Home there.
Comment #30
mcrittenden CreditAttribution: mcrittenden commentedSubscribe. I agree that the first item should be Site and that the page title should not be the last item in the breadcrumb but rather its own separate entity. Also, can we add a little more padding between the breadcrumb and the page title? There's no room to breathe there.
Comment #31
alexanderpas CreditAttribution: alexanderpas commentedlet's not delay this issue with bikeshedding... I've left the breadcrubs just as they come from core, it can be changed in another issue.
Comment #32
moshe weitzman CreditAttribution: moshe weitzman commentedworks for me ... please wait for green test result before committing.
Comment #33
xmacinfoTo get the green bot test results we need to keep it at needs review. :-)
But as soon as we get green, you have my RTBC.
Comment #34
moshe weitzman CreditAttribution: moshe weitzman commentedThats not so. The test bot continually tests RTBC patches also. It will hit this patch as soon as it wakes up from its nap.
Comment #36
webchickOh, testing bot...
Comment #37
Dries CreditAttribution: Dries commentedShouldn't we remove the $back_to_site variable then?
Comment #38
alexanderpas CreditAttribution: alexanderpas commenteddone!
Comment #39
moshe weitzman CreditAttribution: moshe weitzman commentedComment #40
xmacinfoGreen! :-)
Comment #41
webchickReading the backlog of comments, I actually think having "Home" change to something else on the backend would be even more confusing. Users will learn that this takes them to their "Home" page, and if it suddenly became "Site" on the back-end that would be very weird. And I also agree that navigating around with Seven is currently very difficult.
OTOH, I think Mark Boulton is going to be sad that this got committed, since when you look at this theme in the "big picture" vision he had laid out with this theme displayed in overlays, you do very much need an explicit link to go "back to your site," and breadcrumbs make no sense. It occurs to me though that the way to handle this in the overlays patch (if it isn't yet; will have to check) is a custom .tpl.php file for theming pages while in the overlay. Then, the Seven theme can still be perfectly usable as a stand-alone admin theme, but gets enhanced when overlays are present, and overlays are abstracted and can be applied to any theme.
Anyway. :) Committed to HEAD.