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
There is a port of the Workflow module for backdrop, but it does not have a release and I don't know what the status of it is. https://github.com/backdrop-contrib/workflow It might...
Workflow module or equivalent?
I believe those hook suggestions that were removed were all used for theming individual fields. I think this could work to bring them back: function MYMODULE_preprocess_views_view_field...
Which hook to reintroduce removed views templates?
Thanks for the input: I'd like to just re-add all the ones that were removed because this isn't to fix one particular view, but to ensure all the templates I was using in D7 work in Backdrop.
Which hook to reintroduce removed views templates?
This really depends on which type of view display you want to add this template suggestion to. Can you post a photo of the D7 views configuration > Theme: Information screen and circle the...
Which hook to reintroduce removed views templates?
I had similar issue when creating or updating a custom blocks not being saved. Problem stopped when I turned off 'Cache pages for anonymous users' and 'Aggregate JavaScript files' at Admin...
update block doesn't work ( bug ? )