Author Topic: Company title in Config  (Read 17018 times)

0 Members and 1 Guest are viewing this topic.

mikew

  • Full Member
  • ***
  • Posts: 7
Company title in Config
« on: March 15, 2021, 11:18:03 PM »
Where can I use the "Company title" value if I set it at the Config?
Could not find any use for this. I use a translation file.
Thanks a lot.

faf

  • Mibew Staff Member
  • Native
  • *****
  • Posts: 951
    • Mibew Messenger
Re: Company title in Config
« Reply #1 on: March 16, 2021, 10:42:31 AM »
I suppose that by Config you mean Settings page. If so, it's a kind of legacy value. At the moment out of the box it's used in email templates (placeholder {3}). Maybe somewhere else, but I'm not sure (see setup_logo() function in libs/chat.php). Also, one can make use of it in third party plugins.

mikew

  • Full Member
  • ***
  • Posts: 7
Re: Company title in Config
« Reply #2 on: March 16, 2021, 04:28:41 PM »
It would be very nice, if I could use it at the welcome message, "Sorry. None of the {Company Title} support team is available at the moment.
Please leave a message and someone will get back to you shortly."

faf

  • Mibew Staff Member
  • Native
  • *****
  • Posts: 951
    • Mibew Messenger
Re: Company title in Config
« Reply #3 on: March 17, 2021, 07:15:16 AM »
What stops you from making you own style?  ;D

mikew

  • Full Member
  • ***
  • Posts: 7
Re: Company title in Config
« Reply #4 on: March 17, 2021, 07:28:11 PM »
I modified this file "translation.po" at the right position with {3} and load it into the database, but nothing is shown.

faf

  • Mibew Staff Member
  • Native
  • *****
  • Posts: 951
    • Mibew Messenger
Re: Company title in Config
« Reply #5 on: March 18, 2021, 08:45:50 AM »
I'm barely understand what you are talking about, but if you just placed a placeholder in some localization contstant, it doesn't make any sense. Placeholders are numbered values to be filled by the code. They differ for different constants. And for most constants there are no placeholders at all.

The docs on creating own style are available here.