WebsiteBaker Support (2.8.x) > Templates, Menus & Design
show_menu2 (hidden page)
lorem_ipsum:
Hi,
i meet a problem with show_menu2 and my hidden pages.
Actualy i use show_menu2 like this :
--- Code: ---<?php
show_menu2(1, 2, SM2_ALL, SM2_ALL|SM2_PRETTY, '[li][at][menu_title]</a>', '</li>', '[ul]', '</ul>', true, false);
?>
--- End code ---
The problems, all my hidden pages, are displayed when i'm on it.
I think i make a bad use of show_menu2, but after lot of hours work i think i can't see it -.-
If anyone have an idea... it's with pleasure that i listen him.
Thx
Argos:
--- Quote from: lorem_ipsum on September 03, 2010, 11:17:42 AM ---The problems, all my hidden pages, are displayed when i'm on it.
--- End quote ---
If I understand you well, a hidden page is shown when you are at that page? That would be right, because hidden means "hidden from the menu", and not "hidden from the site".
lorem_ipsum:
--- Quote ---hidden page is shown in the menu when you are at that page?
--- End quote ---
Sorry for my english ;)
Actualy my page is hidden in the menu (page legals conditions...), it's what i want, but when i go on the page, show_menu2 show the page in the menu when i'm on it.
Exemple : home | first item | second item and my link in footer for legals conditions.
I click in legals conditions, and my menu looks like Home | first item | second item | Legals conditions
I think i use a bad paramter in show_menu2 or idk...
instantflorian:
see
https://forum.WebsiteBaker.org/index.php/topic,14117.msg89132.html#msg89132
mjm4842:
The version of show_menu2 included with Website Baker 2.8.1 actually includes version 4.8 instead of 4.9. The more recent 4.9 version was included in WebsiteBaker 2.8.0.
See the following post for additional information:
https://forum.WebsiteBaker.org/index.php/topic , 18937.msg126629.htm l # msg126629
You can get the most recent version from:
http://www.websitebakers.com/pages/admin/core-replacements/show_menu2.php
Unfortunately the info.php file actually reflects the 4.9 version number, even though the rest of the files are actually code from v4.8, so you will have to use replace the existing files in the modules/show_menu2 folder with the new versions that you downloaded from the above link.
With best regards,
Michael
Navigation
[0] Message Index
[#] Next page
Go to full version