Skip to main content
sanzante's user avatar
sanzante's user avatar
sanzante's user avatar
sanzante
  • Member for 13 years, 3 months
  • Last seen this week
awarded
comment
why is hook_access_node running three times?
If you want more details you can use debug_backtrace function and print the result (or use a debugger).
reviewed
Close
comment
How to Output Realtime Computed Field Value
HOWEVER, seeing your code, the data you want to update is dependant on time, so there's no point to store the value on the node and update it on node save or view execution. I guess that value must be calculated on the fly when the node is viewed (full view, teaser, displayed on a view, etc), or even by the JS layer.
comment
How to Output Realtime Computed Field Value
I don't think is a good idea to update nodes when they are displayed on a view. That would make the view rather heavy in performance terms, and it will be updating nodes when is not needed (once they are updated you must provide a way to detect they are already updated or they will be updated again and again). Besty way is to update all programmatically and then update on node save.
reviewed
Leave Open
comment
Installing a New Site with Drush and Ansible
Have you tried to to get the exact command Ansible is trying to run and run yourself in the VM machine in the same folder Ansible is using?
reviewed
Close
reviewed
Close
reviewed
Close