J4 Issue ?
avatar brianteeman
brianteeman
22 Oct 2018

Unless I am mistaken the following code is not longer required in the menu as the links have been moved to administrator\components\com_admin\tmpl\help

@infograf768 or others - if you can confirm that I can remove the code

if (substr($item->link, 0, 8) === 'special:')
{
$special = substr($item->link, 8);
if ($special === 'language-forum')
{
$item->link = 'index.php?option=com_admin&view=help&layout=langforum';
}
elseif ($special === 'custom-forum')
{
$item->link = $this->params->get('forum_url');
}

avatar brianteeman brianteeman - open - 22 Oct 2018
avatar infograf768
infograf768 - comment - 22 Oct 2018

If you grep for
index.php?option=com_admin&view=help&layout=langforum
you will find it 3 times in J4.
in CssMenu.php
in Menushelper.php
in the HtmlView.php

Until custom admin menus issue is solved I would leave all this alone.

avatar joomla-cms-bot joomla-cms-bot - change - 22 Oct 2018
Labels Added: ?
avatar joomla-cms-bot joomla-cms-bot - labeled - 22 Oct 2018
avatar brianteeman
brianteeman - comment - 22 Oct 2018

its nothing to with custom admin menus

these forum links are now in the help page

avatar brianteeman brianteeman - change - 23 Oct 2018
Labels Added: J4 Issue
avatar brianteeman brianteeman - labeled - 23 Oct 2018
avatar brianteeman brianteeman - change - 8 Nov 2018
Status New Closed
Closed_Date 0000-00-00 00:00:00 2018-11-08 13:17:47
Closed_By brianteeman
avatar brianteeman brianteeman - close - 8 Nov 2018

Add a Comment

Login with GitHub to post a comment