Hello there! Welcome to Youjoomla Support Forums

We are Web Development Company specializing in Joomla Templates , Joomla Extensions and WordPress Themes development . You are not able to see some forum threads due to your memberhip level. To unlock all forums and special customer support please take few moments to signup . If you are just searching for free joomla templates , or free joomla extension support simply head to our Free Joomla Support forums and open a new thread. Our moderators will help you as soon as possible. To spead up the response time please take few seconds and go over forum rules

Have fun!

Incorrect menu selected in mobile menu

05-25-2016, 10:44 AM
# 1 (permalink)
achartier
When using the mobile menu the yjsg_mobilemenu.php file incorrectly sets the selected menu item when the active menu is of type alias. The selected menu returned from the getActive() call is the Alias menu ID not the menu ID of the menu item so when the function tests to set the selected menu it never finds it and it defaults to the top level menu item.

An easy fix for this is to change the case for alias to the following:

PHP Code:

            case 'alias' :
                
$aliasID $menuitem->params->get('aliasoptions');
                
$menuitem->flink 'index.php?Itemid='.$aliasID;
                if (
$aliasID == $SetActiveId)
                    
$selected ' selected="selected"';
                break; 
Are you sure your are posting in product assigned forum?: Yes

What is your CMS version?: Joomla 3.x

MySQL Version: 5.x

PHP version: 5.x

Link to installation: not required

Have you edited any files? If yes tell us which ones.: No

Is this personal or client website?: Personal

Are you sure your are posting in product assigned forum?: Yes

What is your CMS version?: Joomla 3.x

MySQL Version: 5.x

PHP version: 5.x

Link to installation: not required

Have you edited any files? If yes tell us which ones.: No

Is this personal or client website?: Personal
05-25-2016, 10:45 AM
# 2 (permalink)
achartier
Also, you may wish to check the title setting at the top of the file as it will also return the wrong title when an alias menu item is the active item.
05-27-2016, 06:43 AM
# 3 (permalink)
arefund
Hello achartier.
The issue with selected menu item was fixed and added in the latest versions.
Please download the latest framework version and re-install it, also please advise what version are you using.
Kindness costs the least, but is worth the most!
05-27-2016, 08:03 AM
# 4 (permalink)
achartier
I am running versions 2.2.3 which is the current version. I do not see a correction for this issue in module plugins/system/yjsg/includes/layouts/yjsg_mobilemenu.php. Did you perhaps make a change elsewhere?
05-30-2016, 08:58 AM
# 5 (permalink)
arefund
Hello achartier.
Can you please post your site link so i can check for it.
Might be that you have some redirect links, that are crashing the mobile menu.
Kindness costs the least, but is worth the most!
05-30-2016, 09:01 AM
# 6 (permalink)
achartier
Thanks Arefund but at this time I have had to migrate away from Eximium to Helix due to the conflicts between Eximium and Fabrik. I no longer have a site where you can test.
Thread Tools
Display Modes

Powered by vBulletin®
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.

Members Login

Username
Password