Dec 31, 2012 at 11:01 AM
Edited Dec 31, 2012 at 11:03 AM
I have several contents based on custom types which use the same taxonomy section.
Some of these contain a link field used to display a pdf.
These contains are reserved for authenticated users.
But there is a bug in taxonomy and any anonymous user clicking on a taxonomy lists all the corresponding contents, including the one reserved for authenticated users.
In the summary the projection displays the link field, allowing everybody to display the 'reserved' pdf file.
I have been trying for hours to find a way using placement file to hide this link field but no success.
I want to hide it only in the projection display, not in the normal content display, so I try filtering with the path ????
I tried syntax as:
<Place Fields_Common_LinkField-MyFieldName='Nowhere' />
<Place Fields_LinkField__MyFieldName='nowhere' />
<Place Fields_LinkField_Url-MyFieldName='-' />
<Place Fields_Common_Text-MyFieldName='-' />
Is 'Nowhere' working ?
For a link field is the _Text a valid value ? Is it Url (I had a look in the link field tokens)
Is the '_Common' meaning 'field from the content type filtererd by the match statement ?
I find all this especially unclear knowing that parts of the normal placement file behaviors seems to be in the non solved 'issues' here (taxonomies fields)