As time ran out to discuss this last week, I would like to discuss https://github.com/backdrop/backdrop-issues/issues/6900 (Pre-existing field with reserved entity machine name re-used on entity type causes fatal error when adding entity)
The official guidance for that would be to put the preprocessing in template.php within your_theme_preprocess_node() and put the logic there to add to or change the variables, but you can do in...
Posted12 hours 48 min ago by Martin Price | System Horizons Ltd (yorkshirepudding) on:
Perfect. So if I work with the .tpl files for e.g. all nodes of type “books”, I can easily do something like this via PHP (nobody needs twig anyway): If field 'user' = ‘yorkshirepudding’, then...
Yes, that is one way to look at it. Some fields have more configurability than others. Yes, active config is the place to look. Within each field instance (i.e. the config of that field on that...
Posted13 hours 15 min ago by Martin Price | System Horizons Ltd (yorkshirepudding) on:
Dear ysp,
a thousand thanks! You made my evening. So these display modes in the backend are just a GUI for the .tpl files? The scales have fallen from my eyes.
EDIT: But where are my...
Comments
As time ran out to discuss this last week, I would like to discuss https://github.com/backdrop/backdrop-issues/issues/6900 (Pre-existing field with reserved entity machine name re-used on entity type causes fatal error when adding entity)
Some direction is needed: https://github.com/backdrop/backdrop-issues/issues/6900#issuecomment-288...