Additional Info |
---|
Type
|
Package ID
davidhs:MenuWithoutLimitLevel
|
First Created
February 16, 2010, 08:51:54 AM
|
Last Updated
February 17, 2021, 04:21:11 PM
|
QuoteMenu multi-level
- Submenu 1 - level 1
- Submenu 1.1 - level 2
- Submenu 1.1.1 - level 3
- Submenu 1.1.2 - level 3
- Submenu 1.2 - level 2
- Submenu 1.2.1 - level 3
- Submenu 1.2.2 - level 3
- Submenu 1.3 - level 2
- Submenu 2 - level 1
- Submenu 2.1 - level 2
- Submenu 2.1 - level 2
$buttons2 = $buttons;
$buttons = array();
foreach ($buttons2 as $i => $b)
{
$buttons[$i] = $b;
if ('home' == $i)
{
$buttons['m0'] = array(
'title' => 'Menu multi-level',
'href' => '',
'show' => true,
'sub_buttons' => array(
'm1' => array(
'title' => 'Submenu 1 - level 1',
'href' => '',
'show' => true,
'sub_buttons' => array(
'm11' => array(
'title' => 'Submenu 1.1 - level 2',
'href' => '',
'show' => true,
'sub_buttons' => array(
'm111' => array(
'title' => 'Submenu 1.1.1 - level 3',
'href' => '',
'show' => true,
'sub_buttons' => array(
'm1111' => array(
'title' => 'Submenu 1.1.1.1 - level 4',
'href' => '',
'show' => true,
),
'm1112' => array(
'title' => 'Submenu 1.1.1.2 - level 4',
'href' => '',
'show' => true,
),
),
),
'm112' => array(
'title' => 'Submenu 1.1.2 - level 3',
'href' => '',
'show' => true,
),
),
),
'm12' => array(
'title' => 'Submenu 1.2 - level 2',
'href' => '',
'show' => true,
'sub_buttons' => array(
'm121' => array(
'title' => 'Submenu 1.2.1 - level 3',
'href' => '',
'show' => true,
),
'm122' => array(
'title' => 'Submenu 1.2.2 - level 3',
'href' => '',
'show' => true,
),
),
),
'm13' => array(
'title' => 'Submenu 1.3 - level 2',
'href' => '',
'show' => true,
),
),
),
'm2' => array(
'title' => 'Submenu 2 - level 1',
'href' => '',
'show' => true,
'sub_buttons' => array(
'm21' => array(
'title' => 'Submenu 2.1 - level 2',
'href' => '',
'show' => true,
),
'm22' => array(
'title' => 'Submenu 2.2 - level 2',
'href' => '',
'show' => true,
),
),
),
),
);
}
}
Legend: ! Fixed + Added - Removed * Changed @ Note
3.0 2021-02-17
------------------
@ In previous versions the menu was modified in a file (named Subs-MenuWithoutLimitLevel-Menu.php from version 2.0, and with any name in previous versions). Now the menu is modified from the Administration panel. You must copy the content of the file in the field of panel, and delete the file.
+ Administration panel.
+ Allows changing the menu structure in the Administration panel, using PHP code.
+ The Quick Search of the Administration Center look for in settings variables of MOD.
+ SMF compatibility: 2.0.16-2.0.18 and 2.1 RC3.
+ Languages: english, english-utf8, english_british, english_british-utf8, spanish_es, spanish_es-utf8, spanish_latin, spanish_latin-utf8.
2.0.1 2019-04-09
------------------
+ SMF compatibility: 2.1 RC1 to RC2.
2.0 2017-12-20
------------------
@ In previous versions manual changes were necessary in the Sources/Load.php file. They are no longer necessary and must be undone.
@ In previous versions the PHP file where the menu is modified could have any name. Now it must be named Subs-MenuWithoutLimitLevel-Menu.php. If it exists with another name it must be renamed. And the function must be named mwllMenuButtons.
* Uses integration hooks.
+ SMF compatibility: 2.0.8-2.0.15 and 2.1 Beta 3.
1.0.11 2014-01-24
------------------
! Error in source code.
+ SMF compatibility: 2.0.7.
1.0.10 2013-10-24
------------------
+ SMF compatibility: 2.0.6.
1.0.9 2013-08-18
------------------
@ This work is licensed under a Creative Commons Attribution 3.0 Unported License https://creativecommons.org/licenses/by/3.0/
+ SMF compatibility: 2.0.5.
1.0.8 2013-04-09
------------------
+ SMF compatibility: 2.0.4.
- SMF compatibility: Support to RC versions.
1.0.7 2012-12-22
------------------
+ SMF compatibility: 2.0.3.
1.0.6 2011-12-24
------------------
! Some modifications of index.css of theme are not neccesary.
+ SMF compatibility: 2.0.2.
1.0.5 2011-09-20
------------------
+ SMF compatibility: 2.0.1.
1.0.4 2011-06-18
------------------
+ SMF compatibility: 2.0.
1.0.3 2011-02-13
------------------
+ SMF compatibility: 2.0 RC5.
1.0.2 2010-11-04
------------------
+ SMF compatibility: 2.0 RC4.
1.0.1 2010-03-10
------------------
! In 2.0 RC2, levels 4 and more show and hide at a time.
+ SMF compatibility: 2.0 RC3.
1.0 2010-03-08
------------------
+ SMF compatibility: 2.0 RC2.
+ Themes: default.