User tests: Successful: Unsuccessful:
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:
BC
Before is default setting, also in PHP Code.
Status | New | ⇒ | Pending |
Labels |
Added:
?
?
|
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 ...
if usually you keep 100 tabs open, then of course sugested changes make no any help for you, but if you keep up to 10-20 (depend from monitor/window), then it could be helpfull
upd. also it can be different for different OS
@andrepereiradasilva
This PR is for backend only.
If you want to show only sitename in frontend on Home(s) simply use a combination of
this
https://docs.joomla.org/How_to_determine_if_the_user_is_viewing_the_front_page
and
$this->setTitle(JFactory::getApplication()->get('sitename'));
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
I have tested this item unsuccessfully on e1af233
Does what it says for Isis
no field present in global configuration for Hathor
This PR has received new commits.
CC: @brianteeman, @Fedik
This PR has received new commits.
CC: @brianteeman, @Fedik
Does what it says for Isis
no field present in global configuration for Hathor
Thanks! Added Hathor support.
Works now both in Hathor and Isis.
Lets maintainers decide about merging or not.
I have tested this item successfully on c391124
But, what do you think of making this change:
"Page title - Menu/submenu Title - SITENAME (Administration)" instead of "Page Title - Menu/submenu Title - SITENAME - Administration"
And
"SITENAME (Administration) - Menu/submenu Title - Page Title" instead of "SITENAME - Administration - Menu/submenu Title - Page Title"
Or in other words "SITENAME (Administration)" instead of "SITENAME - Administration" since "-" is the path separator
Status | Pending | ⇒ | Needs Review |
Labels |
Setting to Needs Review to see if the maintainers want to add this feature in light of comments above
Category | ⇒ | Templates (admin) |
Labels |
I never experience this issue.
And i work allot of time on different site's in allot of tabs so i like the sitename in the beginning.
But if it is a parameter i see no problem to add this :-)
I have tested this item successfully on c391124
I have tested this item succesfully, thoug frankly I would not be in favour of actually adding it, as I think Global Configuration settings should only show really important ones, it might things unnecessarily complicated for inexperienced users. Also, I hardly ever suffer from this issue, even with multiple tabs open.
Category | Templates (admin) | ⇒ | Language & Strings Templates (admin) |
Labels |
Status | Needs Review | ⇒ | Closed |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2016-05-07 11:16:34 |
Closed_By | ⇒ | wilsonge | |
Labels |
I've taken an executive decision here. this is not something that needs a parameter - so I've just committed the new version
I don't understand Travis message (PHP 7)