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 am withdrawing my question for the following reason: https://forum.backdropcms.org/comment/8960#comment-8960
Error when trying to check for updates
My hosting is located in a country that blocks numerous online resources, so I am not surprised that updates and modules are unavailable. However, everything works perfectly on a local server...
Unable to run update - fails with Connection timed out
UPDATE: I fixed the errors that I found in the logs. They were related to deleting an old blog content type pulled over from Drupal that was still referenced in one of the layouts. I updated...
missing "add block" in custom layout
Hmmm... this sounds like a bug with Copy Blocks. Would this possibly be related: https://github.com/backdrop-contrib/copy_blocks/issues/26 https://github.com/backdrop-contrib/...
missing "add block" in custom layout
Also this error: Warning: Undefined array key "blog" in summary() (line 63 of /app/core/modules/layout/plugins/access/entity_bundle_layout_access.inc). I did recently delete an old blog...
missing "add block" in custom layout