Active
Project:
Live Update
Version:
6.x-1.x-dev
Component:
Miscellaneous
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
16 Sep 2009 at 21:04 UTC
Updated:
29 Sep 2009 at 12:29 UTC
Hi, utilizing the live chat as shown on your homepage. I have it working as you have described and it is awesome. However, I would really like to have the view live update when a question comes through. Currently, only the answer live updates. Is there a simple tweak to the code which will allow the view to live update everytime a new question comes in? Thanks a ton. Great work.
Comments
Comment #1
jonskulski commentedIf you remove the check for the field_question_answer, you should have some luck. I haven't tested this, but it should work.
becomes:
This will supply an update any time a question is saved or updated.
Comment #2
jonskulski commentedComment #3
tpainton commentedExcellent. Thanks for the post, I'll give it a try. If you have time was also wondering about enabling this for blocks as it only works on page view at present.
Comment #4
jonskulski commentedTPainton,
For blocks the code would be similar except the live_update_initiialization call would be when the block was rendered and the live_update_content call would not be a full rendered node (as it is now).
I will be developing a blocks/panel panes version of this module so that should give you something more to go on.
Comment #5
tpainton commentedawesome. Thanks so much.
Comment #6
sittard commentedblock +1