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

file Several problems

More
4 years 4 days ago - 4 years 4 days ago #10762 by edorf67
Several problems was created by edorf67
Hi,
After buying the pro license and installing, it seems to me that A-H-P doesn't works properly. The menu does not look as I expected and I can't access Admin Help Pages menu if I'm logged in as a manager. Please have a look at the pictures. Hopfully they will show you my problems.

PS! I'm running the latest version of Joomla.

Have a nice evening!

Regards,
Frode


The access is given to "all" (Super user, Administrator and Manager)



I was expecting a menu like yours on the following picture and not a "Joomla! Help" link.

Last edit: 4 years 4 days ago by edorf67.

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

More
4 years 3 days ago - 4 years 3 days ago #10765 by carsten888
Replied by carsten888 on topic Several problems
Seems Joomla 3.8.2 added a space or two in the html code which caused the problem.

admin/components/com_helppages/plugin_system/plugin_system2.php
line 93
//make handle for submenu
if(helppagesHelper::config('linked_help') || (helppagesHelper::config('linked_hide') && helppagesHelper::joomla_version() < '3.0') || helppagesHelper::config('show_submenu')){		
			if(helppagesHelper::joomla_version() < '3.0'){
				$old_help_uberlink = 'href="#">'.JText::_('JHELP').'</a><ul';
...........
replace that block of code with
//make handle for submenu
		if(helppagesHelper::config('linked_help') || (helppagesHelper::config('linked_hide') && helppagesHelper::joomla_version() < '3.0') || helppagesHelper::config('show_submenu')){		
			if(helppagesHelper::joomla_version() < '3.0'){
				$old_help_uberlink = 'href="#">'.JText::_('JHELP').'</a><ul';
			}elseif(helppagesHelper::joomla_version() >= '3.0' && helppagesHelper::joomla_version() < '3.8'){
				$old_help_uberlink = 'href="#">'.JText::_('JHELP').' <span class="caret"></span></a><ul';			
			}else{
				$old_help_uberlink = 'href="#" >'.JText::_('JHELP').' <span class="caret"></span></a><ul';			
			}
			$buffer = str_replace($old_help_uberlink, $old_help_uberlink.' id="ahp-submenu-handler"', $buffer);	
		}

and 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);		
		
		if(helppagesHelper::config('linked')){	
			$old_help_link = 'href="index.php?option=com_admin&amp;view=help"';				
			$buffer = str_replace($old_help_link, $new_help_link, $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(helppagesHelper::config('linked')){	
			$old_help_link = 'href="index.php?option=com_admin&amp;view=help"';				
			$buffer = str_replace($old_help_link, $new_help_link, $buffer);	
		}

I will include this in the next version asap.
Last edit: 4 years 3 days ago by carsten888.

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

More
4 years 3 days ago #10766 by carsten888
Replied by carsten888 on topic Several problems
just released this in version 1.3.3

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

More
4 years 3 days ago - 4 years 3 days ago #10767 by edorf67
Replied by edorf67 on topic Several problems
Thank you for releasing a new version fast. It works greate! :-)
Last edit: 4 years 3 days ago by edorf67.

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

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