jaw@jawtemplates.com

How to add more Widget areas to menu.

You’ll have to change code of a JaW Menu plugin.

Please open /jaw-menu/menu/JawMenu.class.php and lines 99 – 104

$widgets_area = array(
            'widget-menu-area-1' => 'Widget menu area 1',
            'widget-menu-area-2' => 'Widget menu area 2',
            'widget-menu-area-3' => 'Widget menu area 3',
            'widget-menu-area-4' => 'Widget menu area 4',
);

change to:

$widgets_area = array(
            'widget-menu-area-1' => 'Widget menu area 1',
            'widget-menu-area-2' => 'Widget menu area 2',
            'widget-menu-area-3' => 'Widget menu area 3',
            'widget-menu-area-4' => 'Widget menu area 4',
            'widget-menu-area-5' => 'Widget menu area 5',
            'widget-menu-area-6' => 'Widget menu area 6',
);

Now scroll down at line 173 and lines 173 – 179

'selectData' => array(
                'none' => 'None',
                'widget-menu-area-1' => 'Widget menu area 1',
                'widget-menu-area-2' => 'Widget menu area 2',
                'widget-menu-area-3' => 'Widget menu area 3',
                'widget-menu-area-4' => 'Widget menu area 4',
),

change to:

'selectData' => array(
                'none' => 'None',
                'widget-menu-area-1' => 'Widget menu area 1',
                'widget-menu-area-2' => 'Widget menu area 2',
                'widget-menu-area-3' => 'Widget menu area 3',
                'widget-menu-area-4' => 'Widget menu area 4',
                'widget-menu-area-5' => 'Widget menu area 5',
                'widget-menu-area-6' => 'Widget menu area 6',
),

And that’s all.
menu-widget6

  • Was this Helpful ?
  • yes   no

Leave a Reply

You must be logged in to post a comment.