Hi, i have a node field (number integer) that increment +1 every time a specific node is viewed by specific role
This is the Rule
- Event: Content is viewed of Type: Example
- Conditions: Path has url alias "node/21" and User has role "Floor2"
- Action: Set data value "node:field-visits-floor-2" and Add offset "1"
It works perfect, increments plus 1 on each visit, but only with default layout, if another layout is activated for this page the increment stop working, i tried removing the conditions and tried with any user and any role but still the problem, the only way to make it to work is with Default Layout
Thanks for help
Recent comments
Thanks, that was it exactly!
Admin bar doesn't work for other site admin
Hello, Thank you for your response ! We followed the steps of the documentation, so we copied the content and the themes on backdrop en then we went to the page domain/core/...
Page not found after migration
Does the Administrator role of your site have the permission "Access administration bar"? (I think, you wouldn't notice the missing permission if your own account is the so called User 1.)
Admin bar doesn't work for other site admin
I've figured it out: in hook_field_widget_form(): $html_name = array(); if (!empty($element['#field_parents'])) { $html_name[] = $element['#field_parents'][0]; foreach ($...
Using #states in custom field widget
Hi @allinappli and welcome! Just for clarity, did you already run the site updates portion of the upgrade to Backdrop? (e.g. at /core/update.php) Do you have command line access or...
Page not found after migration