Hide field for registered user

More
10 years 3 months ago #49642 by Liggie
Hi,
I have added a field in flexicontent, but I would like to show the content of this field only to unregistered users. As soon as a person logs in, I don't want to show this field. Is this possible?

Best regards,

Milja

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

More
10 years 3 months ago #49643 by ggppdk
Hello

in J3.2+ there is an access level called "Guest"

which is only given to unlogged users:
(unless you have tampered with it ...)


Guest: The Guest access level is for users that are NOT logged in. This can be easily confused with Public, but if a Menu item is set to Public, then users can see it both if they are logged in and if they aren't logged in. If the user is Registered, he won't see the Guest level web page.




so give your field view access level "guest"



Read more here:
docs.joomla.org/How_do_you_hide_ ... n_users%3F


-- Flexicontent is Free but involves a big effort on our part.
Like the our support? (for a bug-free FC, despite having a long list of functions) Like the features? Like the ongoing development and future commitment to FLEXIcontent?
-- Add your voice to the FLEXIcontent JED listing with a 5-star...

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

More
10 years 3 months ago #49729 by Liggie
Great! A simple solution, but very important for me. Learned something again. Thank you very much.

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

More
10 years 3 months ago #49733 by ggppdk
Hello

also (for other fields) you may find useful in v2.2.0 r1974 RC:

- you can show (optinally) a no-access message for in-accessible fields


-- Flexicontent is Free but involves a big effort on our part.
Like the our support? (for a bug-free FC, despite having a long list of functions) Like the features? Like the ongoing development and future commitment to FLEXIcontent?
-- Add your voice to the FLEXIcontent JED listing with a 5-star...

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

Moderators: vistamediajoomlacornerggppdk
Time to create page: 0.809 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