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!

CommentFileSizeAuthor
#3 pane01.jpg45.42 KBminus
#2 pane.jpg97.62 KBminus

Comments

minus’s picture

Category: feature » support

it should be a support request - sorry

minus’s picture

StatusFileSize
new97.62 KB

This is the pane that the node author and node author only should see.

minus’s picture

StatusFileSize
new45.42 KB

Maybe this is a solution:

Visibility rule: user:Compare - First user = node author - second user = Logged in user

Grant access if user context are:
Equal

merlinofchaos’s picture

Priority: Critical » Normal
Status: Active » Fixed

Yes, #3 is what I would suggest.

merlinofchaos’s picture

Actually no, just one rule and just one user.

Add the 'node author' relationship, and then user: compare the Node author to Logged in user.

minus’s picture

this was the "pane of death" to me :-)

nice, and tnx for feedback :-)

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.