There should be breadcrumb navigation in the facet settings page so users have another avenue of getting back to the Apache Solr UI pages.

CommentFileSizeAuthor
#5 1127520-5.patch1.79 KBpwolanin
#2 apachesolr-1127520-2.patch1.08 KBcpliakas

Comments

cpliakas’s picture

See the facetapi_apachesolr_form_facetapi_facet_settings_form_alter() function at http://drupalcode.org/project/facetapi.git/blob/ffee9e2dcf82a4e767710cb5... for how this was implemented in D6.

cpliakas’s picture

Status: Active » Needs review
StatusFileSize
new1.08 KB

Attached patch adds the breadcrumb trails back at the top of the facet settings page.

pwolanin’s picture

Seems like there ought to be a cleaner way to do this - though I'm not sure off hand what that is!

possibility programmatic creation of menu links?

cpliakas’s picture

I was looking to menu_get_active_breadcrumb() for ideas, which led me to menu_get_active_trail(). However it seems it would be more complex to try to hack our way into using these functions, where at least the code in patch #2 is very transparent about what is going on. Not thrilled with it, but it does help the UI. Might be good to add it now and figure out a slicker solution down the road.

pwolanin’s picture

Status: Needs review » Fixed
StatusFileSize
new1.79 KB

Ok, well let's put something like this in for now - but the links should better go to the server since you can reach these forms via 2 paths. Also needed t() for most of the strings.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.