Closed (fixed)
Project:
Facebook-style Statuses (Microblog)
Version:
6.x-3.x-dev
Component:
Code - Functionality
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
29 Jan 2012 at 00:18 UTC
Updated:
27 Feb 2013 at 05:24 UTC
Comments
Comment #1
icecreamyou commentedAt admin/settings/facebook_status/contexts, in the advanced settings for the relevant context you can set a DOM selector path for the regions of the page you want to update when a status is submitted.
Comment #2
bryceray1121 commentedI'm having a little trouble figuring out which context is relevant. I see:
Nodes - facebook_status_stream
User profiles - activity_log_stream
Taxonomy terms - facebook_status_stream
General - the site itself - facebook_status_stream
My DOM path to Facebook-style Statuses: All Statuses block on my front page is: div.view-facebook-status-all
I've tried adding it to some of the above contexts but it doesn't seem to do anything. I also looked in the drop down and don't see the context for the basic Facebook-style Statuses block unless its under another name. Then, i'm not sure if I need to update it under nodes or general.
Thanks for the clarification.
Comment #3
icecreamyou commentedTypically it will be the User profiles context. Make sure that it is ordered above the General context.
I'm not sure what you mean but you don't need to change any dropdowns. Just go to admin/settings/facebook_status/contexts/user and put
div.view-facebook-status-allinto the "Refreshable DOM selectors" field. Then as long as the User profiles context is active, it will automatically refresh thediv.view-facebook-status-allsection of the page when a status is submitted.Comment #6
alexmc commentedWould it be possible to document this fully as an example? I think this functionality would make Statuses a lot more popular if it could be seen to work this way.
Comment #7
icecreamyou commentedalexmc: I'm not sure what you mean. I don't think any of the documentation explicitly says that the only way AJAX updating works is with a view that is directly tied to the status update form. However there is a "Tips and Tricks" section of the documentation, so maybe it would be good to explicitly point out that anything can be automatically updated there?