[SOLVED] Conditional Tab Title works but...

4 years 4 months ago - 4 years 4 months ago #315666 by liaskas
Hello

On the Blocking Tab i use as a title the following:

[cb:if user_id="myid"]Blocked users[/cb:if][cb:if user_id!="myid"]Block user[/cb:if]

So... when i view my profile the tab title is Blocked users and when i view someone else's profile the tab title is Block user.

The only problem was that i had to change the title column in tabs table from varchar(50) to varchar(300) and everything works as a charm.

The problem is that on every cb update i loose the conditional titles because the database returns to varchar(50).

Is there a way to avoid it?

Thank you in advance

Please Log in to join the conversation.

4 years 4 months ago #315669 by Astrid
Replied by Astrid on topic Conditional Tab Title works but...
You can use a language override for this
The following user(s) said Thank You: nant, liaskas, krileon

Please Log in to join the conversation.

4 years 4 months ago #315675 by liaskas
Replied by liaskas on topic Conditional Tab Title works but...
Yes...
this did the trick.

Thank you Astrid!

Please Log in to join the conversation.

Moderators: beatnantkrileon
Time to create page: 0.187 seconds

Facebook Twitter LinkedIn