New Feature. Backend option "Include Site Name in Page Titles"#8596
Conversation
|
I don't understand Travis message (PHP 7)
|
|
This works. Not sure it is useful when working on different sites though as the site title would be cut off in many cases here (Firefox Macintosh). |
|
I'm with @infograf768 on this - as soon as you have multiple tabs open in any browser its not possible to tell which site the tab refers to which is more important than which page. |
|
a loot depend how big monitor/window size, and how many tabs user keeps open ... upd. also it can be different for different OS |
|
@Fedik While Safari will display as much of the title as is possible on the screen Both FF and Chrome always display a fixed maximum number of characters no matter how big the screen or number of tabs |
|
@bertmert don't know if it's related to this PR somehow. But what do you think that in homepages (all languages) having only the sitename as page title? So instead of having "Home Menu Item Title - Sitename" only "Sitename". |
|
@andrepereiradasilva If you want to show only sitename in frontend on Home(s) simply use a combination of in your template index.php or somewhere in an override. In frontend the TITLE is generated in many different views (view.html.php) and before I start changing a dozen of files knowing that a PR like this never will be accepted here... ... |
|
ok thanks |
|
I have tested this item ✅ successfully on e1af233 This comment was created with the J!Tracker Application at issues.joomla.org/joomla-cms/8596. |
|
I have tested this item 🔴 unsuccessfully on e1af233 This comment was created with the J!Tracker Application at issues.joomla.org/joomla-cms/8596. |
|
This PR has received new commits. CC: @brianteeman, @Fedik This comment was created with the J!Tracker Application at issues.joomla.org/joomla-cms/8596. |
|
This PR has received new commits. CC: @brianteeman, @Fedik This comment was created with the J!Tracker Application at issues.joomla.org/joomla-cms/8596. |
Thanks! Added Hathor support. |
|
Works now both in Hathor and Isis. |
|
I have tested this item ✅ successfully on c391124 Or in other words "SITENAME (Administration)" instead of "SITENAME - Administration" since "-" is the path separator This comment was created with the J!Tracker Application at issues.joomla.org/joomla-cms/8596. |
|
Setting to Needs Review to see if the maintainers want to add this feature in light of comments above This comment was created with the J!Tracker Application at issues.joomla.org/joomla-cms/8596. |
|
I never experience this issue. This comment was created with the J!Tracker Application at issues.joomla.org/joomla-cms/8596. |
|
I have tested this item ✅ successfully on c391124 This comment was created with the J!Tracker Application at issues.joomla.org/joomla-cms/8596. |
|
I've taken an executive decision here. this is not something that needs a parameter - so I've just committed the new version |



When many tabs are opened in backend it's hard to identify them by titles because always sitename is displayed at first.
This patch adds a new option Include Site Name in Page Titles in Global Configurations > Site to control the behavior how / where the sitename is set: Before | After | No
Test:
Example for After

BC
Before is default setting, also in PHP Code.