[ACCUEIL] The page title is not defined in html source code on homepage #5

Closed
opened 2020-12-07 22:40:20 +01:00 by Ghost · 3 comments

On the public homepage of the platform, the page title is not defined so no title appears in the web browser for the page.

On the public homepage of the platform, the page title is not defined so no title appears in the web browser for the page.
Ghost added the
bug
master
labels 2020-12-07 22:40:20 +01:00
Author

The issue provides from the mxPageTitle() function that checks by default for a translated occurency given by $label parameter. If the translated occurrency doesn't exists, it returns nothing.

The issue provides from the mxPageTitle() function that checks by default for a translated occurency given by $label parameter. If the translated occurrency doesn't exists, it returns nothing.
Author

The issue has been fixed by adding a condition on the getMessage() returned value. Now, if the translated occurency exists, it uses it, if not, it uses the text chain given as parameter to mxPageTitle().

The issue has been fixed by adding a condition on the getMessage() returned value. Now, if the translated occurency exists, it uses it, if not, it uses the text chain given as parameter to mxPageTitle().
Ghost added the
fixed
label 2020-12-07 22:47:20 +01:00
Author

Pushed to master.

Pushed to master.
Ghost closed this issue 2020-12-07 22:47:58 +01:00
Sign in to join this conversation.
No description provided.