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
No problem, let's see how it evolves. I'd be happy to provide a suggested version if i could. I will keep that in mind and try learn this hook chain hopefully very soon. I will...
File hashing uploads made through TinyMCE
I could request hashing support, but that's the lazy way 🤣 I would appreciate it if you as an active maintainer would 'officially' add a hashing support...
File hashing uploads made through TinyMCE
Hi, i understand the updating obstacle - not worth mentioning - hence it is a wacky (but working) patch until i know what to do. :-) One of my biggest wishes is to understand the hook...
File hashing uploads made through TinyMCE
You can try the above file somewhere, what do you think? I could safely replace this file on my running site. This is indeed "MacGyver" ;-) You don't have to replace...
File hashing uploads made through TinyMCE
This was tricky, so i tried to stay minimal and try to snatch the very first procedure after file upload and inject rehashing there. The file is tinymce.pages.inc under the function...
File hashing uploads made through TinyMCE