Skip to Content Skip to Menu

Problem with CB Substitution - display none

  • sekelfek
  • sekelfek
  • OFFLINE
  • Posts: 46
  • Thanks: 2
  • Karma: 0
8 years 2 months ago - 8 years 2 months ago #282918 by sekelfek
PHP 5.5.5
Joomla 3.5.1
CB 2.0.14
Field = Drop Down (Single Select)

Hello,
i use this CB Substitution for Profile view:

[cb:if user_id="5"]TESTUSER[/cb:if]

The result is:
- "TESTUSER" is display in Profile with ID 5.
- none is display in all other profiles!

Than i use this:

[cb:if user_id="5"]TESTUSER[/cb:if]
[cb:if user_id!="5"][value][/cb:if]

or this:

[cb:if user_id!="5"][value][/cb:if]
[cb:if user_id="5"]TESTUSER[/cb:if]

or:

[cb:if user_id!="5"][value][/cb:if][cb:if user_id="5"]TESTUSER[/cb:if]

or:

[cb:if user_id="5"]TESTUSER[/cb:if][cb:if user_id!="5"][value][/cb:if]

The result is:
- "TESTUSER" is displayed double in Profile with ID 5!
- the correct value is display in all other profiles.

That makes me crazy!
Please help!
Last edit: 8 years 2 months ago by sekelfek.

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

Moderators: beatnantkrileon
Powered by Kunena Forum