Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
Your 1 and 3 scenarios are the only 2 that are valid. The way #displayedOrMe works is it uses the displayed users object (only works on profile) or the viewing users object. It doesn't use both. So it's not testing the displayed then testing the viewing user.I'd like to show some content in a module only if the user group of the viewer or the displayed user is e.g. with ID 3, and then some other content if the user group of the viewer or the displayed user is e.g. with ID 4.
No, changing the user like that is not possible.First of all, could you answer if its possible to make such a complex substitutions? Like:
[cb:if user="#me" ..... or user="#displayed" .....]
That is correct.I understood from your other topics that if - else is still not possible, am I correct?
Nope, that's fixed.Or may be you still have problem with the user="#displayedOrMe"?
forge.joomlapolis.com/issues/5222
Your usage isn't complex and there's an example for what you're wanting already. What you're needing from the sounds of it is ELSE/ELSEIF usage, which we don't have at this time. We will also be improving our tutorials at a later date after we've launched our new site.It will be worth a lot to us and much easier for you if you could take your time and give us some more complex examples, other than the ones you've given in:
Please Log in or Create an account to join the conversation.