Ran into a slight inconvenience. Looked through the token code in core and it's a little beyond my abilities so thought I'd put in a request. I would like to replace a token with it's parent. D7 would look something like this:
[node:TERM_REVERENCE_FIELD:parent]
This works fine in Backdrop:
token_replace('[node:field_category]', array('node' => $node))
However, this does not work (it works in D7):
token_replace('[node:field_category:parent]', array('node' => $node))
PS: As a "work-around" (to get the parent), I'm using a couple Taxonomy functions:
taxonomy_term_load($tid)
taxonomy_get_parents($tid)
Recent comments
I played around with metatags and when i revisited those pages they now have description metatags. Not sure what the initial problems were though. Sorry for the time waste.
Meta tag description on a page created by a layout
You might want to chime in on this issue.
Meta tag description on a page created by a layout
Layout is not Content, it is not used to create pages, so I think you have chosen the wrong way. To avoid problems, just need to use every tool for its own purpose. This is not a direct answer,...
Meta tag description on a page created by a layout
The Search module from CMS core allows to limit the Content type and is quite suitable for use, the settings are available for understanding. The form is added to the pages like other blocks /...
Generating Search Form
What are you trying to search? Titles of contents? Content of body field? Have you tried creating a View and adding an exposed filter? Otherwise the search API module is a powerful way to create...
Generating Search Form