? Pending

User tests: Successful: Unsuccessful:

avatar chmst
chmst
31 May 2021

Pull Request for Issue #34248 .

Summary of Changes

Fix missing useglobal attributes to site display params.
Remove site_title form global params

Fix missing param pageclass_sfx.

Testing Instructions

Testing is playing with global setting of menu options and setting of params in menuItems.

grafik

  • The site title (in meta data of the head)
  • The site title on the page if it is not hidden
  • The pageclass in the source code
  • Note: not all views use the pageclass_sfx. This is not in scope of this PR.

Actual result BEFORE applying this Pull Request

Settings of global params is ignored. see #34248 .

Expected result AFTER applying this Pull Request

If global Params are set for Menu and menu Item has no own param for this
then the global param is used

if a menu Item has set own Param,
then own Params are used

Documentation Changes Required

avatar chmst chmst - open - 31 May 2021
avatar chmst chmst - change - 31 May 2021
Status New Pending
avatar joomla-cms-bot joomla-cms-bot - change - 31 May 2021
Category Administration com_menus Libraries
avatar chmst chmst - change - 31 May 2021
The description was changed
avatar chmst chmst - edited - 31 May 2021
avatar brianteeman
brianteeman - comment - 31 May 2021

@chmst I understand that this code will make the options work. It confirms what I reported that they dont currently work as there is no code to use them and the same is true in J3. So as no one reported an issue lets remove them instead of fixing them as they cant have been used. Am I missing something?

avatar chmst chmst - change - 1 Jun 2021
Labels Added: ?
e203d38 1 Jun 2021 avatar chmst ops
avatar chmst chmst - change - 1 Jun 2021
The description was changed
avatar chmst chmst - edited - 1 Jun 2021
avatar sandramay0905
sandramay0905 - comment - 8 Jun 2021

@chmst no test cause its a draft, right?

avatar drmenzelit
drmenzelit - comment - 10 Jun 2021

@chmst no test cause its a draft, right?

right

avatar chmst chmst - change - 11 Jun 2021
Status Pending Closed
Closed_Date 0000-00-00 00:00:00 2021-06-11 20:29:40
Closed_By chmst
avatar chmst chmst - close - 11 Jun 2021
avatar chmst chmst - change - 11 Jun 2021
Status Closed New
Closed_Date 2021-06-11 20:29:40
Closed_By chmst
avatar chmst chmst - change - 11 Jun 2021
Status New Pending
avatar chmst chmst - reopen - 11 Jun 2021
avatar chmst
chmst - comment - 11 Jun 2021

Sorry I forgot to activate this PR. @sandramay0905 , @brianteeman a test would be highly appreciated, I think it is now as it should be.

avatar sandramay0905
sandramay0905 - comment - 12 Jun 2021

The site title (in meta data of the head)

You mean setting in Global Configuration > Site > SEO > Site Name in Page Titles to After or Before?

The site title on the page if it is not hidden

You mean setting in Global Configuration > Site > SEO > Site Name in Page Titles to No?

Note: not all views use the pageclass_sfx. This is not in scope of this PR.

I test on a category-blog-view and can't find myGlobalPageClass which i set in menu-options so i guess this is one of the views they don't use pageclass_sfx. Can you please say which view use this sfx?

avatar brianteeman
brianteeman - comment - 12 Jun 2021

page class - have not been able to get it to be used anywhere

page title - it works but I dont see the use case for this - ever

show page title - works as before

As stated in the original report #3428 the two non working options have not worked for years (and no one commented). So surely the fix is to remove them instead of wasting time trying to fix.

avatar brianteeman brianteeman - test_item - 12 Jun 2021 - Tested unsuccessfully
avatar brianteeman
brianteeman - comment - 12 Jun 2021

I have tested this item ? unsuccessfully on e203d38


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/34311.

avatar chmst chmst - change - 12 Jun 2021
Status Pending Closed
Closed_Date 0000-00-00 00:00:00 2021-06-12 18:51:16
Closed_By chmst
avatar chmst chmst - close - 12 Jun 2021

Add a Comment

Login with GitHub to post a comment