Support Forums

Support Offline : Mon - Fri / 10am - 6pm (GMT +6)

Your Time: Our Time:

I want to hide sub menu in helix

Featured Lock Resolved Bug
I want to hide menu but the standar function of the helix doesn't work. In the menu shows baground sub menu. Display in Menu ->NO
2018-02-11_21-58-15.png

Attachments (1)

  • 2018-02-11_21-58-15.png
    2018-02-11_21-58-15.png 69.7 KB

6 Answers

Rifat Wahid Alif - Staff

More than a month ago #Permalink
Hi,
I saw your hidden menu isn't showing in the mega menu. are you talking about > sign ?

- Thanks

nagornyk

More than a month ago #Permalink
Hi,
I saw your hidden menu isn't showing in the mega menu. are you talking about > sign ?

- Thanks


Hi Rifar, Yes, and about thin strip (do you see on the picture?). I don't want to show sub child menu.

Pavel

More than a month ago #Permalink

Rifat Wahid Alif - Staff

More than a month ago #Permalink
Hi,
Open the following file /plugins/system/helix3/core/classes/menu.php on 384 no line you will get:


$class .= ' sp-has-child';


replace it with:

if( count($this->children[$item->id]) == 1 ) {
if( $this->children[$item->id][0]->params->get('menu_show') ){
$class .= ' sp-has-child';
}
} else {
$class .= ' sp-has-child';
}


- Thanks

nagornyk

More than a month ago #Permalink
Hi,
Open the following file /templates/shaper_shopin/features/menu.php on 384 no line you will get:


$class .= ' sp-has-child';


replace it with:

if( count($this->children[$item->id]) == 1 ) {
if( $this->children[$item->id][0]->params->get('menu_show') ){
$class .= ' sp-has-child';
}
} else {
$class .= ' sp-has-child';
}


- Thanks


I didn't find line in this place "/templates/shaper_shopin/features/menu.php[/b] on 384 no line ".

I found it in helix menu but I don't understand which place I have to replace - all after $class .= ' sp-has-child'; till ...?

Rifat Wahid Alif - Staff

More than a month ago #Permalink
Hi,
Sorry the file location is: /plugins/system/helix3/core/classes/menu.php

- Thanks


There are no replies made for this post yet.
However, you are not allowed to reply to this post.

Leaderboard (30 days)

Paul Frankowski

Paul Frankowski

Total Accepted Answers: 111
Sifat

Sifat

Total Accepted Answers: 109
Toufiq

Toufiq

Total Accepted Answers: 43
Pavel

Pavel

Total Accepted Answers: 4
Al Mamun

Al Mamun

Total Accepted Answers: 3

100+

Templates

200,000+

Community Users

Newsletter

Don’t miss any updates of our new templates and extensions and all the astonishing offers we bring for you.
We never spam

Joomla! ® name is used under a limited license from Open Source Matters in the United States and other countries. JoomShaper.com is not affiliated with or endorsed by Open Source Matters or the Joomla! Project.

Connect Us