4 years 11 months ago - 4 years 11 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
Last edit: 4 years 11 months ago by krileon. Reason: Added [SOLVED] tag to subject
Please Log in or Create an account to join the conversation.