Skip to Content Skip to Menu

[SOLVED] Change browser page title

  • Astrid
  • Astrid
  • OFFLINE
  • Posts: 183
  • Thanks: 68
  • Karma: 10
5 years 7 months ago - 5 years 7 months ago #311805 by Astrid
[SOLVED] Change browser page title was created by Astrid
I've read this topic: www.joomlapolis.com/forum/145-community-builder/239098-solved-need-to-adjust-the-page-title-in-the-tab-on-the-browser#304447
It states that substitutions can be used. I am using the same substitutions as for the tab. There I changed
Code:
_UE_PROFILE_TITLE_TEXT
in
Code:
[cb:if cb_organisatie includes "1"][cb_orgnaam][cb:else][formatname][/cb:else][/cb:if]
and that works.
But same substition in Browser page title isn't working.
Last edit: 5 years 7 months ago by krileon. Reason: Added [SOLVED] tag to subject

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 48541
  • Thanks: 8290
  • Karma: 1445
5 years 7 months ago #311806 by krileon
Replied by krileon on topic Change browser page title
There's no language string usage or parameter in CB for browser page title. That can only be changed in your Joomla menu item by adjusting the page title there, which should work fine with substitutions as we pass it through substitutions when outputting it.


Kyle (Krileon)
Community Builder Team Member
Before posting on forums: Read FAQ thoroughly + Read our Documentation + Search the forums
CB links: Documentation - Localization - CB Quickstart - CB Paid Subscriptions - Add-Ons - Forge
--
If you are a Professional, Developer, or CB Paid Subscriptions subscriber and have a support issue please always post in your respective support forums for best results!
--
If I've missed your support post with a delay of 3 days or greater and are a Professional, Developer, or CBSubs subscriber please send me a private message with your thread and will reply when possible!
--
Please note I am available Monday - Friday from 8:00 AM CST to 4:00 PM CST. I am away on weekends (Saturday and Sunday) and if I've missed your post on or before a weekend after business hours please wait for the next following business day (Monday) and will get to your issue as soon as possible, thank you.
--
My role here is to provide guidance and assistance. I cannot provide custom code for each custom requirement. Please do not inquire me about custom development.

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

  • Astrid
  • Astrid
  • OFFLINE
  • Posts: 183
  • Thanks: 68
  • Karma: 10
5 years 7 months ago #311808 by Astrid
Replied by Astrid on topic Change browser page title
Unless I'm missing something, for me it doesn't work.
This message contains confidential information
Attachments:

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 48541
  • Thanks: 8290
  • Karma: 1445
5 years 7 months ago #311809 by krileon
Replied by krileon on topic Change browser page title
You need to be sure to add user="#displayed" to your substitutions. Since that API is generic it just goes off the viewing user while #displayed will force it to use the displayed profiles information. Example as follows.

Code:
[cb:if user="#displayed" cb_organisatie includes "1"][cb:userdata field="cb_orgnaam" user="#displayed" /][cb:else][cb:userdata field="formatname" user="#displayed" /][/cb:else][/cb:if]


Kyle (Krileon)
Community Builder Team Member
Before posting on forums: Read FAQ thoroughly + Read our Documentation + Search the forums
CB links: Documentation - Localization - CB Quickstart - CB Paid Subscriptions - Add-Ons - Forge
--
If you are a Professional, Developer, or CB Paid Subscriptions subscriber and have a support issue please always post in your respective support forums for best results!
--
If I've missed your support post with a delay of 3 days or greater and are a Professional, Developer, or CBSubs subscriber please send me a private message with your thread and will reply when possible!
--
Please note I am available Monday - Friday from 8:00 AM CST to 4:00 PM CST. I am away on weekends (Saturday and Sunday) and if I've missed your post on or before a weekend after business hours please wait for the next following business day (Monday) and will get to your issue as soon as possible, thank you.
--
My role here is to provide guidance and assistance. I cannot provide custom code for each custom requirement. Please do not inquire me about custom development.

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

  • Astrid
  • Astrid
  • OFFLINE
  • Posts: 183
  • Thanks: 68
  • Karma: 10
5 years 7 months ago #311811 by Astrid
Replied by Astrid on topic Change browser page title
Thx! It works now.
The following user(s) said Thank You: krileon

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

Moderators: beatnantkrileon
Powered by Kunena Forum