Display: Tab Conditional
If Field Username
is Not Equal to
[cb:userdata field="username" user="#me" /]
Then Hide
For Profile View Enabled
As expected the Tab gets only shown in profiles which are not the current viewing user. Thats cool. But this condition has a strange side effect too which I cannot explain.
I do have a menu type of CB userlist. Within that list (grid view) I simply show all registered user. Just the username and the avatar. But with the above condition on a tab!!! I do not see anymore the username except for the user which is currently signed in.
Very strange. Do you have an idea how my a condition for a tab is infecting somehow the userlist view?
Thanks
Frank
Last edit: 9 years 8 months ago by startup. Reason: problem solved with latest CB Conditional version
Tab permissions influence the display of fields in that tab in the user lists. You can work around that by putting the username into a different tab and use a substitution for that in the conditional tab.
hey-ai
- the community for asian guys and non-asian girls
The search bar is your friend, not just decoration!
There's no tab condition handling for the "list" reason. Likely the profile view is being output causing your condition to take place as it should. Do you have conditions on the fields on the tab it self or only the tab?
Kyle (Krileon) Community Builder Team Member Before posting on forums:
Read FAQ thoroughly
+
Read our Documentation
+
Search the forums CB links:
Documentation
-
Localization
-
CB Quickstart
-
CB Paid Subscriptions
-
Add-Ons
-
Forge
-- If you are a Professional, Developer, or CB Paid Subscriptions subscriber and have a support issue please always post in your respective support forums for best results!
-- If I've missed your support post with a delay of 3 days or greater and are a Professional, Developer, or CBSubs subscriber please
send me a private message
with your thread and will reply when possible!
-- Please note I am available Monday - Friday from 8:00 AM CST to 4:00 PM CST. I am away on weekends (Saturday and Sunday) and if I've missed your post on or before a weekend after business hours please wait for the next following business day (Monday) and will get to your issue as soon as possible, thank you.
-- My role here is to provide guidance and assistance. I cannot provide custom code for each custom requirement. Please do not inquire me about custom development.