To display a custom field depending of the ACL of the item

More
7 years 10 months ago - 7 years 10 months ago #66157 by lclaude
Hello !

Is it possible to display the content of a custom field (radio image) depending of the access level of the item?

In my situation, I need to display this image only if the item (article) is not accessible for this or this group of users. So I can't use the access level of my custom field, because it's based on the ACL of the user who is viewing, not the item itself.

I thought to use in the custom field the prefix/suffix params with php test, but I don't know exactly how I must write my test.
Can you help me?

Thanks by advance.

Laurent
Last edit: 7 years 10 months ago by lclaude.

Please Log in or Create an account to join the conversation.

More
7 years 10 months ago #66160 by micker
you can use a content context plugin like regulard context

FLEXIcontent is Free but involves a very big effort on our part.
Like the our support? (for a bug-free FC, despite being huge extension) Like the features? Like the ongoing development and future commitment to FLEXIcontent?
-- Add your voice to the FLEXIcontent JED listing reviews. Thanks![/size]

Please Log in or Create an account to join the conversation.

More
7 years 10 months ago #66166 by lclaude
can't find it, do you have a link please ?

Laurent

Please Log in or Create an account to join the conversation.

More
7 years 10 months ago #66167 by micker

FLEXIcontent is Free but involves a very big effort on our part.
Like the our support? (for a bug-free FC, despite being huge extension) Like the features? Like the ongoing development and future commitment to FLEXIcontent?
-- Add your voice to the FLEXIcontent JED listing reviews. Thanks![/size]

Please Log in or Create an account to join the conversation.

More
7 years 10 months ago #66170 by lclaude
I Didn't know this plugin, it looks great!
Many thanks

Laurent

Please Log in or Create an account to join the conversation.

More
7 years 10 months ago #66173 by micker
with plaisure

FLEXIcontent is Free but involves a very big effort on our part.
Like the our support? (for a bug-free FC, despite being huge extension) Like the features? Like the ongoing development and future commitment to FLEXIcontent?
-- Add your voice to the FLEXIcontent JED listing reviews. Thanks![/size]

Please Log in or Create an account to join the conversation.

Moderators: vistamediajoomlacornerggppdk
Time to create page: 0.430 seconds
Save
Cookies user preferences
We use cookies to ensure you to get the best experience on our website. If you decline the use of cookies, this website may not function as expected.
Accept all
Decline all
Essential
These cookies are needed to make the website work correctly. You can not disable them.
Display
Accept
Analytics
Tools used to analyze the data to measure the effectiveness of a website and to understand how it works.
Google Analytics
Accept
Decline