Skip to Content Skip to Menu

🌟 CB Editor Assistant 1.0.0 is here! Discover our new AI Joomla Plugin that wrote its story! (and this banner!)
Start at just $12.50/month* or 💸 save 30% with our 🛍️ Intro Black Friday Offer for a lifetime*

[SOLVED] Conditional Tab Title works but...

  • liaskas
  • liaskas
  • ONLINE
  • Posts: 391
  • Thanks: 36
  • Karma: 2
  • Add-ons
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.

  • Astrid
  • Astrid
  • OFFLINE
  • Posts: 183
  • Thanks: 68
  • Karma: 10
4 years 11 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 or Create an account to join the conversation.

  • liaskas
  • liaskas
  • ONLINE
  • Posts: 391
  • Thanks: 36
  • Karma: 2
  • Add-ons
4 years 11 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 or Create an account to join the conversation.

Moderators: beatnantkrileon
Powered by Kunena Forum