Closed (outdated)
Project:
Content locking (anti-concurrent editing)
Version:
7.x-2.x-dev
Component:
User interface
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
14 Sep 2011 at 19:49 UTC
Updated:
1 Mar 2016 at 22:17 UTC
Jump to comment: Most recent
Comments
Comment #1
ohnobinki commentedIt uses drupal_set_message(), so you need to make sure to
echo $messages;in a template or grab something like$variables['messages']in a theme function.Reopen if this doesn't work directly with Panels or whatever you're using, I could look closer if need be.
Comment #2
bulldozer2003I looked in Panel's issues and found an issue where someone needed to display messages and added the page element "status messages." I added that element but I am still not seeing the lock messages.
Also, lock messages only show up on non-custom node pages. They don't show up on the (still default) page or anywhere else. Is that normal behavior?
https://drupal.org/node/1177176
Comment #3
bulldozer2003A better question might be if there is any context restrictions on which the locked content warning is displayed? Is it set as a repeating status message for every page, or just for certain displays?
I've noticed the message does not display when viewing the [default] home page.
Comment #4
ohnobinki commentedIt only shows up on node pages.
Comment #5
jaydub commentedAre you by chance using Panels Everywhere in this case? From what you mention regarding messages as a page element I was figuring you have panels handling the theming of the entire page and not just the content. Not sure if that's part of the issue here but wanted to make sure that distinction was made if it applies.
Comment #6
bulldozer2003Just regular panels. If the messages are limited to node pages it could be something to do with Panels making the page no longer seem like a node (i wouldnt think that would be the case since it is a node page variant)
Comment #7
vchen commentedI have this problem too. But it seems to be an issue of roles for me. I'm testing this module out on several roles. Only admin can see these messages. While the module works in terms of blocking multiple people from editing at once, other users would be confused about why they can't edit.
I'm testing this on plain nodes. There's not views/panels involved.
Any idea on how I can resolve this issue?
Comment #7.0
vchen commentedwasn't clear about what messages i was talking about
Comment #8
pandaski commentedComment #9
pandaski commented