I get this error: [an error occurred while processing this directive] and the entire page is not loading. This is the only text I see in the browser.
When I use Field conditional whenever I use [cb:userfield field="username" user="#me" /]
Field: Username
Operator: Equal To
Value: [cb:userfield field="username" user="#me" /]
I did some trial and error and the error only shows when "/" is in the substitution syntax. I know this is the correct one (having "/") but for some reason I am encountering an error.
Additional information"
-Using the same conditions for Tab Conditional is working perfectly. This only happens when I directly make a field to show/hide depending who is viewing it.
-Field conditional in other variants works perfectly. e.g. Field vs a certain value
userfield substitutions will output HTML. You want to userdata which is raw profile data. The substitution should be as follows.
[cb:userdata field="username" user="#me" /]
If you're still having issues with the above you'll need to provide what error you're seeing. Be sure to enable debug mode and maximum error reporting in Joomla global configuration to ensure errors will output. Please also ensure CB Conditional is up to date.
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.