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.
This is a patch set of some of the useful patches I found / wrote here:
#541748: Translate environment title
#567346: facteted search in breadcrumb
#173524: Select multiple terms per facet
In addition, there are three new features added into this:
- Multiple select check box in the environment settings: allows for enabling/disabling multiple selects on a per environment basis (so far this was done in the code)
- Remove the environment from breadcrumb (when using breadcrumbs) - the only good reason I can think of for this is when you want to run your main site navigation from faceted search (otherwise you end up with Home > Home: Main )
- Hide the title: This is useful if you don't want to display the title (of the environment) or the title of the taxonomy on the page title
Comments
Comment #1
miiimoooThis new version of this patch set adds a feature that makes the behavior of faceted search more natural: normally the weight of the different facets dictates the order of facets in the selection box and breadcrumb (and title). With this patch the facets are weighed according to the route the user took. For instance, if a user clicked on a country, then region, the breadcrumb will be country->region. If a user clicked on region, then country, the breadcrumb will be region->country. This also happens to the facet block: it will look something like this
and case 2
This patch and the functionality it introduces is desperately in need for a better name. Also it's amazingly useful. You'll find it in the environment settings labeled:
Comment #2
miiimoooShould've checked the previous patches first. Included the wrong diff. Here is the complete patch set...
Comment #3
kvoltz CreditAttribution: kvoltz commentedhas anyone gotten this working? Either I am doing something wrong trying to run this patch - or something isn't hooked up properly.
thanks so much!
Comment #4
kvoltz CreditAttribution: kvoltz commentedcorrection, I got the patch working - was a stupid mistake on my part, however there was a failure : Hunk #16 FAILED at 837.
And, because of this - it doesn't seem to be working at all.
Is there an update to this patch - or perhaps a fix to the file?
Its pretty simple, I just don't want the facets showing up in the results title.
Thanks for any help you can provide.
Comment #5
kvoltz CreditAttribution: kvoltz commentedHeh, never mind. I should have checked a bit closer. I was using the most current stable version. Switched to the .dev version and everything is working perfectly. Well done!
Comment #6
miiimoooThis is a patchset against the July 11 dev version. In addition to the features listed above there are a couple of more features that may never make it into the module.
This is a heavily modified version of faceted_search which can be used to build a complex site navigation system. It contains a few fundamental changes so have a play and see how it works.
Comment #7
eiland CreditAttribution: eiland commenteddoesnt apply against the 2011-Feb-25 version.