Closed (fixed)
Project:
Statuses (Social Microblog)
Version:
7.x-1.0-unstable4
Component:
Integrations
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
9 Aug 2012 at 19:15 UTC
Updated:
16 Sep 2012 at 05:41 UTC
Jump to comment: Most recent file
Comments
Comment #1
icecreamyou commentedYou can change where contexts apply on their respective advanced settings pages. If you go to admin/config/statuses/contexts/node you will see options to change where it applies that look similar to how you can set where a block appears. Keep in mind that this only works if the ID is the second argument (e.g. it won't work if your URL is "some/text/NID").
Note that you should never do this for the "User profiles" context (and in fact ideally the module itself would keep you from doing so...).
Comment #2
Orange Studio commentedI did so
In admin/config/statuses/contexts/node I set "Show on only the listed pages." to case/*
Now when I post to case/1 I can see the post in case/1 and case/2 as well
And yes the NID is the second argument
I'm not using the default node view page /node/%node in panels instead, a custom page /case/%node
What I'm trying to do is to have unique posts per page as if I'm inside a node.
Thanks
Comment #3
icecreamyou commentedHmm. So what status type and recipient ID do you get now (after changing where the context applies)?
Comment #4
Orange Studio commentedGetting the same response
It works only If I'm using a path like:
node/nid
or
url alias for a node
but not when using a custom page with a custom path though the node id is present as an argument in the path
like case/nid
Thanks
Comment #5
icecreamyou commentedConfirmed. This patch should fix it.
Comment #6
icecreamyou commentedActually I guess we should make this change for the other contexts too.
Comment #7
Orange Studio commentedI can confirm that patch in #6 works.
I had to set Apply context on specific pages at /admin/config/statuses/contexts/node to "Show on only the listed pages" and added my custom page path "case/*"
Now it works like a charm.
Thank you
Comment #8
icecreamyou commentedGreat. Committed to dev.