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'm glad you've found it quite useful too! I'm curious to know why you'd like to unpublish some of your modules or themes? They're not ready or are they more personal projects? I can help...
My work and a big thanks to all of you
Slight improvement to @argiepiano's procedure. Again for PR 4690, it would be: Using shell access, go to the Backdrop doc root. Run this command to get the diff file...
Workflow for core update with fixes that are not yet in core
This issue is seeing some progress, but there are some questions that might benefit from a UX discussion. https://github.com/backdrop/backdrop-issues/issues/2894
Apr 18th Weekly Meetings
Related from D7 - User picture is deleted after calls to user_save()
Editing user profile, results in user picture disappearing
Here is a topic for the next Design/UX meeting. Just needs a little discussion to push it along. https://github.com/backdrop/backdrop-issues/issues/4961 I need feedback on this one...
Apr 18th Weekly Meetings