No Code Attached Yet
avatar ceford
ceford
31 Mar 2023

Steps to reproduce the issue

In 4.3.0-...dev configuration.php set the minor version of $helpurl in configuration.php to 2 (hard code it). Select Content / Articles and click the Help button.

Note that this is a different problem from #39818

Expected result

A Help page.

Actual result

The Joomla Docs site Home page.

System information (as much as possible)

4.3.0-beta5-dev

Additional comments

I can change the Help button url using the browser Developer Tools. This is what I found:

In 4.2 the button code looks like this:

<button class="button-help btn btn-info" type="button" onclick="Joomla.popupWindow('https:\/\/help.joomla.org\/proxy?keyref=Help42:Users&amp;lang=en', 'Help', 700, 500, 1)" title="Opens in a new window">
    <span class="icon-question" aria-hidden="true"></span>
    Help</button>

In 4.3 it looks like this:

<button class="button-help btn btn-info js-toolbar-help-btn" data-url="https:\/\/help.joomla.org\/proxy?keyref=Help42:Users&amp;lang=en" data-title="Help" data-width="700" data-height="500" data-scroll="1" type="button" title="Opens in a new window">
    <span class="icon-question" aria-hidden="true"></span>
    Help</button>

For the latter, the back slashes in the url need to be removed. With them removed with the browser Developer Tools the Help link works correctly.

avatar ceford ceford - open - 31 Mar 2023
avatar ceford ceford - change - 31 Mar 2023
Labels Removed: ?
avatar joomla-cms-bot joomla-cms-bot - change - 31 Mar 2023
Labels Added: No Code Attached Yet
avatar joomla-cms-bot joomla-cms-bot - labeled - 31 Mar 2023
avatar dgrammatiko
dgrammatiko - comment - 31 Mar 2023

Check #40270

avatar alikon alikon - change - 31 Mar 2023
Status New Closed
Closed_Date 0000-00-00 00:00:00 2023-03-31 13:31:06
Closed_By alikon
avatar alikon
alikon - comment - 31 Mar 2023

closing as we have a pr #40270

avatar alikon alikon - close - 31 Mar 2023

Add a Comment

Login with GitHub to post a comment