User tests: Successful: Unsuccessful:
Pull Request for Issue # .
Same with other similar PRs, this PR modifies com_content code to use setDocumentTitle method from HtmlView class to set document title instead of using the same repeating code on all views.
Create menu items to link to link to the follow menu item types of com_content:
Then access to these menu items, make sure browser page title is the same before and after patch.
Status | New | ⇒ | Pending |
Category | ⇒ | Front End com_content |
I have tested this item
Status | Pending | ⇒ | Ready to Commit |
RTC
Status | Ready to Commit | ⇒ | Fixed in Code Base |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2021-02-06 12:29:54 |
Closed_By | ⇒ | wilsonge | |
Labels |
Added:
?
?
|
Thanks!
@joomdonation @wilsonge See https://github.com/joomla/joomla-cms/blob/4.0-dev/components/com_content/src/View/Category/HtmlView.php lines 176-178, 178 should be deleted
$this->setDocumentTitle($title);
$this->document->setTitle($title);
And article view still has a call of $this->document->setTitle()
for multiple-pages
I have tested this item✅ successfully on 107d428
This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/32317.