Hi,
I want to know if it's possible to do the following:
I have two content types (A and B) related. I have the list view of A type and I have a field in that view to show the title of B type related. But I don't want to show private nodes of type B to anonymous users. For example:
(List View of content type A (autenticated users))
title
The rainforest...
Animals (Content type B title links)
Ant (Public)
Monkey (Private)
Crocodile (Public)
(List View of content type A (anonymous users))
title
The rainforest...
Animals (Content type B title links)
Ant (Public)
Crocodile (Public)
Is it possible to do that with Access Private?
Thanks
| Comment | File | Size | Author |
|---|---|---|---|
| #7 | 967550_content-type_t_a.txt | 996 bytes | stborchert |
| #7 | 967550_content-type_t_b.txt | 795 bytes | stborchert |
| #7 | 967550_view.txt | 3.41 KB | stborchert |
| #2 | t_a.txt | 3.24 KB | _snake_ |
| #2 | t_b.txt | 971 bytes | _snake_ |
Comments
Comment #1
stborchertCould you please export the content types and the view and attach the results as text files to this issue?
Comment #2
_snake_ commentedThe files are listed below. Thanks
Comment #3
stborchertMoving this to project Private because Access Private does not control this type of visibility.
@_snake_: If you select the title field as grouping field and exclude the title from display, you'll see a result like this (I've created one node of type "t_a" with references to 3 nodes of type "t_b"): http://screencast.com/t/kSAYbnjqLlT7.
Looking at the same page as a guest user I got this result: http://screencast.com/t/waUAltTe1.
As you can see, the title of the private node is hidden.
Comment #4
_snake_ commentedThanks for the help stBorchet!
But I need to show the node's title...I tried to follow your steps but there is something that I'm doing wrong because it doesn't work...
I suppose that you are talking about node's title of content type A, is that correct?
What is the '#' that appears for each node's title of content type B?
Comment #5
stborchert"Test t_a #1" is the title of a node of type "t_a" (A). I've grouped the results by the title field of A and list the titles of B (t_b).
The '#' is part of the title I've given the nodes of type B.
Comment #6
_snake_ commentedso, can you export and attach the data types and the view? I think is more easy to understand for me...
Thanks!
Comment #7
stborchertHere are the exports.
Unfortunately the nodereference field hasn't been exported so I've created some screenshots for you:
http://screencast.com/t/tjWod5Hr
http://screencast.com/t/8i2hMIPhE
http://screencast.com/t/83vMbhs4
Stefan
Comment #8
_snake_ commentedHi,
Thanks for the attachments stBorchet! But the files are still showed...In your third screenshot I see an option that I don't have "Advanced - Nodes that can be referenced (view)". What should I do to activate that option?
Thanks again
Regards
Comment #9
stborchertUpdate your modules to the latest version. This is a default option of nodereference if views is enabled.
Comment #10
_snake_ commentedHi,
I have to deactivate the Node Widget module to see that option. It still doesn't work...
These are the versions of my modules :
Node Reference 6.x-2.6
Private 6.x-1.1
Views 6.x-2.8
Node Relationships 6.x-1.6
Corresponding Node References 6.x-3.3
Comment #11
adamps commentedTidying up ancient D6 support request.