No Code Attached Yet
avatar PixelBaer
PixelBaer
6 Aug 2024

Steps to reproduce the issue

Create an Article and set its Title to "Some Article Title".
Create a Menu Item of the Type "Single Article".
Name the Menu Item "Some Menu Item" and select the article to be displayed.

Expected result

Up until Joomla 4.x the Browser <title> was per default the title of the Menu Item.
So in this case it should be "Some Menu Item"
j4

Actual result

Since Joomla 5.x it appears the Article Title is beeing used as the default Browser title.
j5

System information (as much as possible)

Tested on Joomla 4.4.6 and 5.1.2 with default Cassiopeia Template

Additional comments

I can see a usage for both cases. Perfect solution would be probably to have a setting to choose what to show somewhere ??

avatar PixelBaer PixelBaer - open - 6 Aug 2024
avatar joomla-cms-bot joomla-cms-bot - change - 6 Aug 2024
Labels Added: No Code Attached Yet
avatar joomla-cms-bot joomla-cms-bot - labeled - 6 Aug 2024
avatar brianteeman
brianteeman - comment - 6 Aug 2024

Please see #41452 where the code was changed and the discussion here #41372

avatar fgsw
fgsw - comment - 10 Oct 2024

@PixelBaer Any comment on the Answer of @brianteeman above?

avatar PixelBaer
PixelBaer - comment - 11 Oct 2024

@fgsw idk really. the behavior has been changed in #41452. Noone seems to care / notice the change. some may even prefer it this way - i guess SEO folks might prefer it this way.
i was just confused, that it changed. and imho it is a little messy, because there is (still) no clear indication what has priority in defining the title.
right now the priority order is:

  1. Article > Tab "Options" > Section "Options" > Browser Page Title
  2. Menu Item > Tab "Page Display" > Browser Page Title
  3. Article Title
  4. Menu Title (only for Blogs)

Add a Comment

Login with GitHub to post a comment