WebsiteBaker Logo
  • *
  • Templates
  • Help
  • Add-ons
  • Download
  • Home
*
Welcome, Guest. Please login or register.

Login with username, password and session length
 

News


WebsiteBaker 2.13.6 is now available!


Will it continue with WB? It goes on! | Geht es mit WB weiter? Es geht weiter!
https://forum.websitebaker.org/index.php/topic,32340.msg226702.html#msg226702


The forum email address board@websitebaker.org is working again
https://forum.websitebaker.org/index.php/topic,32358.0.html


R.I.P Dietmar (luisehahne) and thank you for all your valuable work for WB
https://forum.websitebaker.org/index.php/topic,32355.0.html


* Support WebsiteBaker

Your donations will help to:

  • Pay for our dedicated server
  • Pay for domain registration
  • and much more!

You can donate by clicking on the button below.


  • Home
  • Help
  • Search
  • Login
  • Register

  • WebsiteBaker Community Forum »
  • WebsiteBaker Support (2.8.x) »
  • Templates, Menus & Design »
  • Main menu disappears on hidden pages (bs_naturak template)
  • Print
Pages: [1]   Go Down

Author Topic: Main menu disappears on hidden pages (bs_naturak template)  (Read 4974 times)

Offline seanie_morris

  • Posts: 301
  • Gender: Male
Main menu disappears on hidden pages (bs_naturak template)
« on: November 06, 2015, 09:50:19 AM »
Hi,

(I thought I found this on a search a year or two ago, but I can't find it now.)

The main menu on my site disappears when a hidden page is viewed. I am using the bs_naturak template, and it doesn't use the function call show_menu2 on its index.php page, so I am a little confused as to what to do for showing the menu on hidden pages.


Thanks,

Seanie.
Logged

Offline seanie_morris

  • Posts: 301
  • Gender: Male
Re: Main menu disappears on hidden pages (bs_naturak template)
« Reply #1 on: November 06, 2015, 10:44:21 AM »
(Can't edit previous post)

EDIT: I found that the show_menu2 function is on nav.php so I am trying variations in here:

Code: [Select]
show_menu2(
$aMenu          = 1,
$aStart         = SM2_ROOT,
$aMaxLevel      = SM2_CURR+1,
$aOptions       = SM2_ALL,
$aItemOpen      = $open,
$aItemClose     = '</li>',
$aMenuOpen      = '<ul class="[if(level==0){nav navbar-nav} else {dropdown-menu}]">',
$aMenuClose     = '</ul>',
$aTopItemOpen   = false,
$aTopMenuOpen   = false
);

to find a solution.

I have 2 websites using the bs_naturak template, and one will show the menu on hidden pages, while one does not. The code shown above is the same for both. Even copying all of the code from the good nav.php into the bad nav.php and re-uploading that, doesn't have an affect. So there is something amiss in the affected one I have to find out.

Seanie.
« Last Edit: November 06, 2015, 11:00:22 AM by seanie_morris »
Logged

  • Print
Pages: [1]   Go Up
  • WebsiteBaker Community Forum »
  • WebsiteBaker Support (2.8.x) »
  • Templates, Menus & Design »
  • Main menu disappears on hidden pages (bs_naturak template)
 

  • SMF 2.0.19 | SMF © 2017, Simple Machines
  • XHTML
  • RSS
  • WAP2