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.
I used to have my own theme implementation of page title for Ubercart product pages, but have ditched that in favour of the native support. However, it seems to be broken. The "scopes" setting defines global and taxonomy, but there doesnt seem to be any taxonomy tags.
I used to use "term:" tags, surely the scope should be the same as the taxonomy pages, or at least be global and terms?
Other than the global tokens, there are no other available tokens to use on the Ubercart catalog field. As "taxonomy" doesnt appear to relate to anything.
Comments
Comment #1
alexp999 CreditAttribution: alexp999 commentedI've managed to fix this myself:
OPEN:
modules/uc_catalog.page_title.inc
FIND:
REPLACE WITH:
FIND:
'scopes' => array('global', 'taxonomy'),
REPLACE WITH:
'scopes' => array('global', 'term'),
Comment #2
nicholasThompsonPatch:
I have committed this into the dev branch - it'll be in the next release. I'd appreciate you checking that the dev branch patch is consistent with your fix and works as expected :)
Comment #3
alexp999 CreditAttribution: alexp999 commentedWorks as expected, thanks :)