Everything is for free!
Shop is closed.
Due to health issues support is very limited

file Manager VS Super User

More
3 years 10 months ago - 3 years 10 months ago #10804 by edorf67
Manager VS Super User was created by edorf67
Hi! I'm struggling to make the menu work when I'm logged in as a Manager. If I log in as a Super User, it looks very good. If I'm logged in as a manager, I only see the Joomla help menu (see attached picture) Do you have any tips for me how to fix this?

PS! I'm new to Joomla ;-)

Thank you!

Regards,
Frode

Last edit: 3 years 10 months ago by edorf67.

Please Log in or Create an account to join the conversation.

More
3 years 10 months ago #10805 by carsten888
Replied by carsten888 on topic Manager VS Super User
Which Joomla and AHP version is this on?

Please Log in or Create an account to join the conversation.

More
3 years 10 months ago #10806 by edorf67
Replied by edorf67 on topic Manager VS Super User
Joomla 3.8.4
AHP 1.3.3 Pro.

Please Log in or Create an account to join the conversation.

More
3 years 10 months ago #10807 by edorf67
Replied by edorf67 on topic Manager VS Super User
Any idea how to fix this?

Please Log in or Create an account to join the conversation.

More
3 years 9 months ago #10808 by carsten888
Replied by carsten888 on topic Manager VS Super User
What a crazy bug.
anyway, here is the fix.

administrator/components/com_helppages/plugin_system/plugin_system2.php
line 84
//make handler for Joomla! Help button
		$old_help_link = '<li><a class="no-dropdown menu-help"  href="index.php?option=com_admin&amp;view=help"';				
		$buffer = str_replace($old_help_link, '<li id="ahp-helplink-handler"><a class="menu-help"  href="index.php?option=com_admin&amp;view=help"', $buffer);
replace with
//make handler for Joomla! Help button
		$old_help_link = '<li><a class="no-dropdown menu-help"  href="index.php?option=com_admin&amp;view=help"';				
		$buffer = str_replace($old_help_link, '<li id="ahp-helplink-handler"><a class="menu-help"  href="index.php?option=com_admin&amp;view=help"', $buffer);
		if(!strpos($buffer,'li id="ahp-helplink-handler"')){	
			//for managers where the first help link is not displayed we use the second menu-item as the handler
			$old_help_link = '<li><a class="no-dropdown menu-help-forum"  href="https://forum.joomla.org" target="_blank"';		
			$buffer = str_replace($old_help_link, '<li id="ahp-helplink-handler"><a class="no-dropdown menu-help-forum"  href="https://forum.joomla.org" target="_blank"', $buffer);		
		}

I will include this code in the next update

Please Log in or Create an account to join the conversation.

More
3 years 9 months ago #10809 by edorf67
Replied by edorf67 on topic Manager VS Super User
Thank you! It's working fine! :-)

Regards,
Frode

Please Log in or Create an account to join the conversation.

Time to create page: 0.116 seconds
Powered by Kunena Forum
 
spicy-sacerdotal