[PLUGIN] Menu Manager 0.5

2 views
Skip to first unread message

Andrew da Silva

unread,
Jul 31, 2007, 9:59:04 PM7/31/07
to habari-dev
Finally! After a month of beeing in the works, I completed the 0.5
version of Menu Manager.

The interface is straight forward, you need the FormUI patch I
released earlier, so you have the select element.

The only setback is related to FormUI itself, I can't define a
"selected" item in a options list or checkbox/radio. Will work on
that.

*YOU NEED THE FORMUI PATCH POSTED ON -DEV EARLIER TO ADD MORE
CONTROLS*

Needed Patch:
http://andrewdasilva.com/files/patches/formui-newcontrols.patch

Menu Manager 0.5
http://andrewdasilva.com/files/plugins/menumanager_0.5.zip

*VERIFY THE ASSIGNED MENU WHEN EDITING A MENU ITEM BECAUSE IT DOES NOT
RETAIN THE ACTIVE ASSIGNMENT*

-----HOW TO USE THE MENUS IN A TEMPLATE FILE-----

First off, this plugin assigns a variable $pages for all the pages
available.

Second, to call methods, a template variable $menu is assigned to the
Menu Manager class.

Third, to output a menu, two methods are available:

public function out_seperated( $menu, $seperator ) {

public function out_contained( $menu, $menu_container= 'ul',
$item_container= 'li' ) {

Andrew da Silva

unread,
Aug 1, 2007, 11:20:40 PM8/1/07
to habari-dev
Just released a new version, 0.6.

The code was reviewed, moved stuff around, all things work as usual,
from a user point-of-view.

I also added the home.php template file to call the menus, as
examples.

Enjoy

Patch to add FormUI controls
http://andrewdasilva.com/files/patches/formui-newcontrols.patch

Patch needed for plugin to work (adds isset to QueryRecord)
http://andrewdasilva.com/files/patches/queryrecord_isset.diff

Menu Manager 0.6
http://andrewdasilva.com/files/pugins/menumanager_0.6.zip

On Jul 31, 9:59 pm, Andrew da Silva <freak...@gmail.com> wrote:
> Finally! After a month of beeing in the works, I completed the 0.5
> version of Menu Manager.
>
> The interface is straight forward, you need the FormUI patch I
> released earlier, so you have the select element.
>
> The only setback is related to FormUI itself, I can't define a
> "selected" item in a options list or checkbox/radio. Will work on
> that.
>
> *YOU NEED THE FORMUI PATCH POSTED ON -DEV EARLIER TO ADD MORE
> CONTROLS*
>
> Needed Patch:http://andrewdasilva.com/files/patches/formui-newcontrols.patch
>

> Menu Manager 0.5http://andrewdasilva.com/files/plugins/menumanager_0.5.zip

Reply all
Reply to author
Forward
0 new messages