Hide favorite field to unlogged user

More
11 years 5 months ago #36757 by jimijon
Hello -

The add to favorite appears in my item even though the user hasn't logged in.

FLEXIcontent version 2.0.1 (r1659)

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

More
11 years 5 months ago #36760 by jimijon
This is a bigger issue.

I have a "mostly" private website. So users must be registered to see the majority of content.

However, I want to make some content available to guests. So I created a new category and assigned those articles to that category. However, I don't want to show favorites, or other categories it belongs when they select an article from the blog list.

How can I turn off "show categories" and " add to favorite" just for when I am displaying them to guests. All other times show the info to registered users.

So I created a new template. However, the template doesn't have control over what displays in the item view. That is controlled by "Type" or by "Item". But if I change it there, it will change it for my registered users. What is the proper way to handle this?

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

More
11 years 5 months ago #36770 by ggppdk
Hello,
-- the favourites field will detect that the user is unlogged and do not allow him to favour the item
-- instead it will show a message that login is required

-- about categories : the categories field will show all categories , except for the special "unlinkable/unroutable" categories, which are selected in the advanced route plugin


-- 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
11 years 5 months ago #36781 by jimijon
I understand. I can work around these issues with new templates and such.

thanks

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

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