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.
Hello,
I have a special case where I set a search_api based view the drupal frontpage, and instead of the title pattern set by Facet API Bonus (http://drupal.org/project/facetapi_bonus) module, the front page title pattern takes over.
What could I do so that the facetapi pattern takes precedence?
Comment | File | Size | Author |
---|---|---|---|
#3 | i1617914.patch | 678 bytes | attiks |
Comments
Comment #1
giorgio79 CreditAttribution: giorgio79 commentedI found weight can be set programmatically, and I set it to "-100", saved page title settings (it appeared on top) yet front page pattern is still taking precedence.
Any tips? :)
Comment #2
giorgio79 CreditAttribution: giorgio79 commentedIt seems like this code is taking precedence:
Would you accept a patch which checks for pattern weight, and if there is one higher than the front page, and it is global, it will use that?
Comment #3
attiks CreditAttribution: attiks commentedI ran into the same problem, patch attached
In short: if there's a pattern specified for the front page, it will be used, otherwise nothing happens
Comment #4
GiorgosKPatch applied to 2.7 smoothly and works as advertised
it also solves case where front page is actually a node
but node tokens can't be used in the frontpage textbox
but with after applying the patch one can erase the frontpage setting (empty the textbox)
and thus the node specific settings will take effect
I believe there is nothing else adversely affected
Comment #4.0
GiorgosKbetter