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
Hey. Where can I read about using WebP? I found this ( https://github.com/backdrop/backdrop-issues/issues/4509#issuecomment-723... ): 1. Find out PHP info "WebP Support - enabled". 2. Аllowed "webp"...
Feedback on version 1.18
Can you double check your resource urls and directory settings in civicrm? And also the path in civicrm.settings.php.
Backdrop returns 404 error only in CiviCRM pages
Markup looks simple. Run it through Coder Upgrade. Dont need the install file even.
Add static text field to content type
@klonos - The goal is to add a block of text that is not specific to a field. I gave help text as an example. Think about this like a "Global: Custom Text" field in views. I have had use cases where...
Add static text field to content type
Hey @stpaultim 🙂 If the help text needs to be added to a specific field, then editing the field should already allow that. Also, in the submission form settings, you can specific help text/guidelines...
Add static text field to content type