Closed (fixed)
Project:
Panels
Version:
6.x-3.2
Component:
Panel pages
Priority:
Normal
Category:
Support request
Assigned:
Reporter:
Created:
15 Dec 2009 at 12:01 UTC
Updated:
30 Jan 2010 at 05:20 UTC
Jump to comment: Most recent file
Hello
I'm currently working on a project where users can create personal ads, like a car-ad etc. The node template layout is created by panels and I have about 6 panes on each node template. One of the panes is a view that tells or should tell the node author (author only) how many times the node has been viewed. I thought this would be easy using pane-visibility rules, but no matter what I do the pane is visible to every role.
Could anyone tell me or show me how this can be done?
Tnx!
Comments
Comment #1
minus commentedit should be a support request - sorry
Comment #2
minus commentedThis is the pane that the node author and node author only should see.
Comment #3
minus commentedMaybe this is a solution:
Visibility rule: user:Compare - First user = node author - second user = Logged in user
Grant access if user context are:
Equal
Comment #4
merlinofchaos commentedYes, #3 is what I would suggest.
Comment #5
merlinofchaos commentedActually no, just one rule and just one user.
Add the 'node author' relationship, and then user: compare the Node author to Logged in user.
Comment #6
minus commentedthis was the "pane of death" to me :-)
nice, and tnx for feedback :-)