Possible to change/overide the title of a facet link manually

Created on 11 July 2024, 4 months ago
Updated 25 July 2024, 4 months ago

I am using facet link in a drupal view with a taxonomy called "Product Name". You can go to a product comparison page on my website, select/search in the facet drop down for the products name and compare up to four products using this method, its basically faceted search but you add to the search and the table view by selecting the products you want to see.

With this I am storing the product name (its basically replicating the title of the product node), so that it can be used in the above example as a facet.

I also have another view which is much more like a faceted search through a product catalogue/directory.

On each product that is shown in that view in the table, there is a field called "Compare" and it uses facet link to send you to the first view I wrote about up top.

The issue here is that it shows the name of the product in the table view, thus duplicating the title that is already present in the view on the left of the table.

Is there any way I can override the TITLE of the facet link to show the text "Compare this product" rather than the original name of the product but still link to the same facet on the view I mention up top?

πŸ’¬ Support request
Status

Fixed

Version

2.0

Component

Miscellaneous

Created by

πŸ‡¬πŸ‡§United Kingdom effortDee

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024