User login

Make modifications to a sidebar block menu that primarily mirrors top-level drop-down menu

Using the magic of menu block (dev) and menu attributes.

theming menus
drupal menu theming

Another great reason to use Menu Block - the menu block alter function.

Through functionality added to a custom module, all second-level dropdown versus sidebar issues can be addressed through the user interface at /admin/build/menu-customize/primary-links -- find the menu item you want to change. The menu item should be made to look as you want in the dropdown through normal editing -- and then to make custom modifications for its display in the sidebar menu expand the '''Menu item attributes''' collapsed fieldset. To delete the menu item from the sidebar, enter "nosidebar" in the '''Class attribute'''. To change the name of the item in the sidebar, enter the new title in the '''Name attribute'''.

Working code:

<?php
/**
 * Implements hook_menu_block_tree_alter().
 */
function agaricexample_menu_block_tree_alter(&$tree, $context) {
  foreach ($tree as $top_id => $item) {
    if (isset($item['below']) && is_array($item['below'])) {
      foreach ($item['below'] as $id => $item) {
        if (isset($item['link']['options']['attributes']['class'])) {
          if (strstr($item['link']['options']['attributes']['class'], 'nosidebar')) {
            unset($tree[$top_id]['below'][$id]);
          }
        }
        if (isset($item['link']['options']['attributes']['name'])) {
          // Rename menu item to the value entered in the name attribute.
// Maybe setting the tool-tip to the old title is a good idea, maybe not.
//          $tree[$top_id]['below'][$id]['link']['options']['attributes']['title'] = $tree[$top_id]['below'][$id]['link']['title'];
// Above doesn't seem to be working anyway, so let's not.
          $tree[$top_id]['below'][$id]['link']['title'] = $item['link']['options']['attributes']['name'];
          // It is not meaningful as a name attribute, so unset it.
          unset($tree[$top_id]['below'][$id]['link']['options']['attributes']['name']);
        }
      }
    }
  }
}
?>

The development:

(This should be done with a debugger-- instructions for that coming.)

<?php
/**
 * Implements hook_menu_block_tree_alter().
 */
function agaricexample_menu_block_tree_alter($tree, $context) {
  drupal_set_message('grr<pre>'.var_export($tree,TRUE).'</pre>');
  drupal_set_message('grr<pre>'.var_export($context,TRUE).'</pre>');
}

One we added attributes to:

NOTE- it is below "49955 About 4099":
<?php
array (
  'link' =>
  array (
    'load_functions' => 'a:1:{i:1;s:9:"node_load";}',
    'to_arg_functions' => '',
...
    'in_active_trail' => true,
    'access' => true,
    'href' => 'node/266',
    'localized_options' =>
    array (
      'attributes' =>
      array (
        'title' => 'About Example',
      ),
    ),
  ),
  'below' =>
  array (
...
      '49952 Customer Stories 4565' =>
      array (
        'link' =>
        array (
          'load_functions' => '',
          'to_arg_functions' => '',
          'access_callback' => 'views_access',
          'access_arguments' => 'a:1:{i:0;b:1;}',
          'page_callback' => 'views_page',
          'page_arguments' => 'a:2:{i:0;s:4:"grid";i:1;s:6:"page_1";}',
          'title' => 'Customer Stories',
          'title_callback' => 't',
          'title_arguments' => '',
          'type' => '6',
          'description' => 'Stories from companies using Example products.',
          'menu_name' => 'primary-links',
          'mlid' => '4565',
          'plid' => '4099',
          'link_path' => 'aboutus/customer-stories',
          'router_path' => 'aboutus/customer-stories',
          'link_title' => 'Customer Stories',
          'options' =>
          array (
            'attributes' =>
            array (
              'id' => 'idhere',
              'name' => 'Stories',
              'rel' => 'testrel',
              'class' => 'nosidebar',
              'style' => 'teststyle',
              'accesskey' => '3',
              'title' => 'Stories from companies using Example products.',
            ),
          ),
          'module' => 'system',
          'hidden' => '0',
          'external' => '0',
          'has_children' => '1',
          'expanded' => '0',
          'weight' => '-48',
          'depth' => '2',
          'customized' => '1',
          'p1' => '4099',
          'p2' => '4565',
          'p3' => '0',
          'p4' => '0',
          'p5' => '0',
          'p6' => '0',
          'p7' => '0',
          'p8' => '0',
          'p9' => '0',
          'updated' => '0',
          'in_active_trail' => false,
          'href' => 'aboutus/customer-stories',
          'access' => true,
          'localized_options' =>
          array (
            'attributes' =>
            array (
              'id' => 'idhere',
              'name' => 'Stories',
              'rel' => 'testrel',
              'class' => 'nosidebar',
              'style' => 'teststyle',
              'accesskey' => '3',
              'title' => 'Stories from companies using Example products.',
            ),
          ),
        ),
        'below' =>
        array (
...
?>

CONTEXT:

<?php
array (
  'delta' => '2',
  'menu_name' => 'primary-links',
  'parent_mlid' => '4099',
  'level' => '1',
  'follow' => 0,
  'depth' => '0',
  'expanded' => 1,
  'sort' = 0,
)
?>

Full tree:

<?php
array (
  '49950 Demo Reels 4126' =>
  array (
    'link' =>
    array (
      'load_functions' => '',
      'to_arg_functions' => '',
      'access_callback' => 'views_access',
      'access_arguments' => 'a:1:{i:0;b:1;}',
      'page_callback' => 'views_page',
      'page_arguments' => 'a:2:{i:0;s:5:"reels";i:1;s:6:"page_1";}',
      'title' => 'Demo Reels',
      'title_callback' => 't',
      'title_arguments' => '',
      'type' => '6',
      'description' => 'Videos of Example Highlights.',
      'menu_name' => 'primary-links',
      'mlid' => '4126',
      'plid' => '0',
      'link_path' => 'reels',
      'router_path' => 'reels',
      'link_title' => 'Demo Reels',
      'options' =>
      array (
        'attributes' =>
        array (
          'title' => 'Videos of Example Highlights.',
        ),
      ),
      'module' => 'system',
      'hidden' => '0',
      'external' => '0',
      'has_children' => '0',
      'expanded' => '0',
      'weight' => '-50',
      'depth' => '1',
      'customized' => '1',
      'p1' => '4126',
      'p2' => '0',
      'p3' => '0',
      'p4' => '0',
      'p5' => '0',
      'p6' => '0',
      'p7' => '0',
      'p8' => '0',
      'p9' => '0',
      'updated' => '0',
      'in_active_trail' => false,
      'href' => 'reels',
      'access' => true,
      'localized_options' =>
      array (
        'attributes' =>
        array (
          'title' => 'Videos of Example Highlights.',
        ),
      ),
    ),
    'below' => false,
  ),
  '49951 Products 4259' =>
  array (
    'link' =>
    array (
      'load_functions' => 'a:1:{i:1;s:9:"node_load";}',
      'to_arg_functions' => '',
      'access_callback' => 'node_access',
      'access_arguments' => 'a:2:{i:0;s:4:"view";i:1;i:1;}',
      'page_callback' => 'node_page_view',
      'page_arguments' => 'a:1:{i:0;i:1;}',
      'title' => 'Products',
      'title_callback' => 'node_page_title',
      'title_arguments' => 'a:1:{i:0;i:1;}',
      'type' => '4',
      'description' => '',
      'menu_name' => 'primary-links',
      'mlid' => '4259',
      'plid' => '0',
      'link_path' => 'node/10',
      'router_path' => 'node/%',
      'link_title' => 'Products',
      'options' =>
      array (
        'attributes' =>
        array (
          'title' => 'Example Product line overview.',
        ),
      ),
      'module' => 'menu',
      'hidden' => '0',
      'external' => '0',
      'has_children' => '1',
      'expanded' => '0',
      'weight' => '-49',
      'depth' => '1',
      'customized' => '1',
      'p1' => '4259',
      'p2' => '0',
      'p3' => '0',
      'p4' => '0',
      'p5' => '0',
      'p6' => '0',
      'p7' => '0',
      'p8' => '0',
      'p9' => '0',
      'updated' => '0',
      'in_active_trail' => false,
      'access' => true,
      'href' => 'node/10',
      'localized_options' =>
      array (
        'attributes' =>
        array (
          'title' => 'Example Product line overview.',
        ),
      ),
    ),
    'below' =>
    array (
      '49950 Overview 6197' =>
      array (
        'link' =>
        array (
          'load_functions' => 'a:1:{i:1;s:9:"node_load";}',
          'to_arg_functions' => '',
          'access_callback' => 'node_access',
          'access_arguments' => 'a:2:{i:0;s:4:"view";i:1;i:1;}',
          'page_callback' => 'node_page_view',
          'page_arguments' => 'a:1:{i:0;i:1;}',
          'title' => 'Overview',
          'title_callback' => 'node_page_title',
          'title_arguments' => 'a:1:{i:0;i:1;}',
          'type' => '4',
          'description' => '',
          'menu_name' => 'primary-links',
          'mlid' => '6197',
          'plid' => '4259',
          'link_path' => 'node/10',
          'router_path' => 'node/%',
          'link_title' => 'Overview',
          'options' =>
          array (
            'attributes' =>
            array (
              'title' => 'Example\' Product Lines',
            ),
          ),
          'module' => 'menu',
          'hidden' => '0',
          'external' => '0',
          'has_children' => '0',
          'expanded' => '0',
          'weight' => '-50',
          'depth' => '2',
          'customized' => '1',
          'p1' => '4259',
          'p2' => '6197',
          'p3' => '0',
          'p4' => '0',
          'p5' => '0',
          'p6' => '0',
          'p7' => '0',
          'p8' => '0',
          'p9' => '0',
          'updated' => '0',
          'in_active_trail' => false,
          'access' => true,
          'href' => 'node/10',
          'localized_options' =>
          array (
            'attributes' =>
            array (
              'title' => 'Example\' Product Lines',
            ),
          ),
        ),
        'below' => false,
      ),
      '49951 Sapphire 91' =>
      array (
        'link' =>
        array (
          'load_functions' => 'a:1:{i:1;s:9:"node_load";}',
          'to_arg_functions' => '',
          'access_callback' => 'node_access',
          'access_arguments' => 'a:2:{i:0;s:4:"view";i:1;i:1;}',
          'page_callback' => 'node_page_view',
          'page_arguments' => 'a:1:{i:0;i:1;}',
          'title' => 'Sapphire',
          'title_callback' => 'node_page_title',
          'title_arguments' => 'a:1:{i:0;i:1;}',
          'type' => '4',
          'description' => '',
          'menu_name' => 'primary-links',
          'mlid' => '91',
          'plid' => '4259',
          'link_path' => 'node/249',
          'router_path' => 'node/%',
          'link_title' => 'Sapphire',
          'options' =>
          array (
            'attributes' =>
            array (
            ),
          ),
          'module' => 'menu',
          'hidden' => '0',
          'external' => '0',
          'has_children' => '1',
          'expanded' => '0',
          'weight' => '-49',
          'depth' => '2',
          'customized' => '1',
          'p1' => '4259',
          'p2' => '91',
          'p3' => '0',
          'p4' => '0',
          'p5' => '0',
          'p6' => '0',
          'p7' => '0',
          'p8' => '0',
          'p9' => '0',
          'updated' => '1',
          'in_active_trail' => false,
          'access' => true,
          'href' => 'node/249',
          'localized_options' =>
          array (
            'attributes' =>
            array (
            ),
          ),
        ),
        'below' =>
        array (
          '50001 Autodesk 6230' =>
          array (
            'link' =>
            array (
              'load_functions' =>
              array (
                1 => 'views_arg_load',
              ),
              'to_arg_functions' => '',
              'access_callback' => 'views_access',
              'access_arguments' => 'a:1:{i:0;b:1;}',
              'page_callback' => 'views_page',
              'page_arguments' => 'a:3:{i:0;s:8:"products";i:1;s:6:"page_1";i:2;i:1;}',
              'title' => 'Autodesk',
              'title_callback' => 't',
              'title_arguments' => '',
              'type' => '4',
              'description' => '',
              'menu_name' => 'primary-links',
              'mlid' => '6230',
              'plid' => '91',
              'link_path' => 'product/196/features',
              'router_path' => 'product/%',
              'link_title' => 'Autodesk',
              'options' =>
              array (
                'attributes' =>
                array (
                  'title' => 'Sapphire for Autodesk',
                ),
              ),
              'module' => 'menu',
              'hidden' => '0',
              'external' => '0',
              'has_children' => '1',
              'expanded' => '0',
              'weight' => '1',
              'depth' => '3',
              'customized' => '0',
              'p1' => '4259',
              'p2' => '91',
              'p3' => '6230',
              'p4' => '0',
              'p5' => '0',
              'p6' => '0',
              'p7' => '0',
              'p8' => '0',
              'p9' => '0',
              'updated' => '0',
              'in_active_trail' => false,
              'href' => 'product/196/features',
              'access' => true,
              'localized_options' =>
              array (
                'attributes' =>
                array (
                  'title' => 'Sapphire for Autodesk',
                ),
              ),
            ),
            'below' =>
            array (
              '50000 Features 6311' =>
              array (
                'link' =>
                array (
                  'load_functions' =>
                  array (
                    1 => 'views_arg_load',
                  ),
                  'to_arg_functions' => '',
                  'access_callback' => 'views_access',
                  'access_arguments' => 'a:1:{i:0;b:1;}',
                  'page_callback' => 'views_page',
                  'page_arguments' => 'a:3:{i:0;s:8:"products";i:1;s:6:"page_1";i:2;i:1;}',
                  'title' => 'Features',
                  'title_callback' => 't',
                  'title_arguments' => '',
                  'type' => '4',
                  'description' => '',
                  'menu_name' => 'primary-links',
                  'mlid' => '6311',
                  'plid' => '6230',
                  'link_path' => 'product/196/features',
                  'router_path' => 'product/%',
                  'link_title' => 'Features',
                  'options' =>
                  array (
                    'attributes' =>
                    array (
                      'title' => 'Features of Sapphire for Autodesk',
                    ),
                  ),
                  'module' => 'menu',
                  'hidden' => '0',
                  'external' => '0',
                  'has_children' => '0',
                  'expanded' => '0',
                  'weight' => '0',
                  'depth' => '4',
                  'customized' => '0',
                  'p1' => '4259',
                  'p2' => '91',
                  'p3' => '6230',
                  'p4' => '6311',
                  'p5' => '0',
                  'p6' => '0',
                  'p7' => '0',
                  'p8' => '0',
                  'p9' => '0',
                  'updated' => '0',
                  'in_active_trail' => false,
                  'href' => 'product/196/features',
                  'access' => true,
                  'localized_options' =>
                  array (
                    'attributes' =>
                    array (
                      'title' => 'Features of Sapphire for Autodesk',
                    ),
                  ),
                ),
                'below' => false,
              ),
              '50010 What\'s New 6312' =>
              array (
                'link' =>
                array (
                  'load_functions' =>
                  array (
                    1 => 'views_arg_load',
                  ),
                  'to_arg_functions' => '',
                  'access_callback' => 'views_access',
                  'access_arguments' => 'a:1:{i:0;b:1;}',
                  'page_callback' => 'views_page',
                  'page_arguments' => 'a:3:{i:0;s:8:"products";i:1;s:6:"page_2";i:2;i:1;}',
                  'title' => 'What\'s New',
                  'title_callback' => 't',
                  'title_arguments' => '',
                  'type' => '4',
                  'description' => '',
                  'menu_name' => 'primary-links',
                  'mlid' => '6312',
                  'plid' => '6230',
                  'link_path' => 'product/196/whatsnew',
                  'router_path' => 'product/%/whatsnew',
                  'link_title' => 'What\'s New',
                  'options' =>
                  array (
                    'attributes' =>
                    array (
                      'title' => 'What\'s new in Sapphire for Autodesk',
                    ),
                  ),
                  'module' => 'menu',
                  'hidden' => '0',
                  'external' => '0',
                  'has_children' => '0',
                  'expanded' => '0',
                  'weight' => '10',
                  'depth' => '4',
                  'customized' => '0',
                  'p1' => '4259',
                  'p2' => '91',
                  'p3' => '6230',
                  'p4' => '6312',
                  'p5' => '0',
                  'p6' => '0',
                  'p7' => '0',
                  'p8' => '0',
                  'p9' => '0',
                  'updated' => '0',
                  'in_active_trail' => false,
                  'href' => 'product/196/whatsnew',
                  'access' => true,
                  'localized_options' =>
                  array (
                    'attributes' =>
                    array (
                      'title' => 'What\'s new in Sapphire for Autodesk',
                    ),
                  ),
                ),
                'below' => false,
              ),
              '50030 Effects 6314' =>
              array (
                'link' =>
                array (
                  'load_functions' =>
                  array (
                    1 => 'views_arg_load',
                  ),
                  'to_arg_functions' => '',
                  'access_callback' => 'views_access',
                  'access_arguments' => 'a:1:{i:0;b:1;}',
                  'page_callback' => 'views_page',
                  'page_arguments' => 'a:3:{i:0;s:8:"products";i:1;s:6:"page_4";i:2;i:1;}',
                  'title' => 'Effects',
                  'title_callback' => 't',
                  'title_arguments' => '',
                  'type' => '4',
                  'description' => '',
                  'menu_name' => 'primary-links',
                  'mlid' => '6314',
                  'plid' => '6230',
                  'link_path' => 'product/196/effects',
                  'router_path' => 'product/%/effects',
                  'link_title' => 'Effects',
                  'options' =>
                  array (
                    'attributes' =>
                    array (
                      'title' => 'Sapphire for Autodesk effects',
                    ),
                  ),
                  'module' => 'menu',
                  'hidden' => '0',
                  'external' => '0',
                  'has_children' => '0',
                  'expanded' => '0',
                  'weight' => '30',
                  'depth' => '4',
                  'customized' => '0',
                  'p1' => '4259',
                  'p2' => '91',
                  'p3' => '6230',
                  'p4' => '6314',
                  'p5' => '0',
                  'p6' => '0',
                  'p7' => '0',
                  'p8' => '0',
                  'p9' => '0',
                  'updated' => '0',
                  'in_active_trail' => false,
                  'href' => 'product/196/effects',
                  'access' => true,
                  'localized_options' =>
                  array (
                    'attributes' =>
                    array (
                      'title' => 'Sapphire for Autodesk effects',
                    ),
                  ),
                ),
                'below' => false,
              ),
              '50040 Free Trial 6313' =>
              array (
                'link' =>
                array (
                  'load_functions' => 'a:1:{i:1;s:9:"node_load";}',
                  'to_arg_functions' => '',
                  'access_callback' => 'node_access',
                  'access_arguments' => 'a:2:{i:0;s:4:"view";i:1;i:1;}',
                  'page_callback' => 'node_page_view',
                  'page_arguments' => 'a:1:{i:0;i:1;}',
                  'title' => 'Free Trial',
                  'title_callback' => 'node_page_title',
                  'title_arguments' => 'a:1:{i:0;i:1;}',
                  'type' => '4',
                  'description' => '',
                  'menu_name' => 'primary-links',
                  'mlid' => '6313',
                  'plid' => '6230',
                  'link_path' => 'node/195',
                  'router_path' => 'node/%',
                  'link_title' => 'Free Trial',
                  'options' =>
                  array (
                    'attributes' =>
                    array (
                      'title' => 'Download a free trial of Sapphire for Autodesk and other Example products.',
                    ),
                  ),
                  'module' => 'menu',
                  'hidden' => '0',
                  'external' => '0',
                  'has_children' => '0',
                  'expanded' => '0',
                  'weight' => '40',
                  'depth' => '4',
                  'customized' => '0',
                  'p1' => '4259',
                  'p2' => '91',
                  'p3' => '6230',
                  'p4' => '6313',
                  'p5' => '0',
                  'p6' => '0',
                  'p7' => '0',
                  'p8' => '0',
                  'p9' => '0',
                  'updated' => '0',
                  'in_active_trail' => false,
                  'access' => true,
                  'href' => 'node/195',
                  'localized_options' =>
                  array (
                    'attributes' =>
                    array (
                      'title' => 'Download a free trial of Example products.',
                    ),
                  ),
                ),
                'below' => false,
              ),
              '50050 Purchase 6315' =>
              array (
                'link' =>
                array (
                  'load_functions' =>
                  array (
                    1 => 'views_arg_load',
                  ),
                  'to_arg_functions' => '',
                  'access_callback' => 'views_access',
                  'access_arguments' => 'a:1:{i:0;b:1;}',
                  'page_callback' => 'views_page',
                  'page_arguments' => 'a:3:{i:0;s:8:"products";i:1;s:6:"page_3";i:2;i:1;}',
                  'title' => 'Purchase',
                  'title_callback' => 't',
                  'title_arguments' => '',
                  'type' => '4',
                  'description' => '',
                  'menu_name' => 'primary-links',
                  'mlid' => '6315',
                  'plid' => '6230',
                  'link_path' => 'product/196/purchase',
                  'router_path' => 'product/%/purchase',
                  'link_title' => 'Purchase',
                  'options' =>
                  array (
                    'attributes' =>
                    array (
                      'title' => 'Sapphire for Autodesk purchase information.',
                    ),
                  ),
                  'module' => 'menu',
                  'hidden' => '0',
                  'external' => '0',
                  'has_children' => '0',
                  'expanded' => '0',
                  'weight' => '50',
                  'depth' => '4',
                  'customized' => '0',
                  'p1' => '4259',
                  'p2' => '91',
                  'p3' => '6230',
                  'p4' => '6315',
                  'p5' => '0',
                  'p6' => '0',
                  'p7' => '0',
                  'p8' => '0',
                  'p9' => '0',
                  'updated' => '0',
                  'in_active_trail' => false,
                  'href' => 'product/196/purchase',
                  'access' => true,
                  'localized_options' =>
                  array (
                    'attributes' =>
                    array (
                      'title' => 'Sapphire for Autodesk purchase information.',
                    ),
                  ),
                ),
                'below' => false,
              ),
            ),
          ),
          '50002 After Effects 6217' =>
          array (
            'link' =>
            array (
              'load_functions' =>
              array (
                1 => 'views_arg_load',
              ),
              'to_arg_functions' => '',
              'access_callback' => 'views_access',
              'access_arguments' => 'a:1:{i:0;b:1;}',
              'page_callback' => 'views_page',
              'page_arguments' => 'a:3:{i:0;s:8:"products";i:1;s:6:"page_1";i:2;i:1;}',
              'title' => 'After Effects',
              'title_callback' => 't',
              'title_arguments' => '',
              'type' => '4',
              'description' => '',
              'menu_name' => 'primary-links',
              'mlid' => '6217',
              'plid' => '91',
              'link_path' => 'product/27/features',
              'router_path' => 'product/%',
              'link_title' => 'After Effects',
              'options' =>
              array (
                'attributes' =>
                array (
                  'title' => 'Sapphire For Adobe After Effects And Compatible Products',
                ),
              ),
              'module' => 'menu',
              'hidden' => '0',
              'external' => '0',
              'has_children' => '1',
              'expanded' => '0',
              'weight' => '2',
              'depth' => '3',
              'customized' => '0',
              'p1' => '4259',
              'p2' => '91',
              'p3' => '6217',
              'p4' => '0',
              'p5' => '0',
              'p6' => '0',
              'p7' => '0',
              'p8' => '0',
              'p9' => '0',
              'updated' => '0',
              'in_active_trail' => false,
              'href' => 'product/27/features',
              'access' => true,
              'localized_options' =>
              array (
                'attributes' =>
                array (
                  'title' => 'Sapphire For Adobe After Effects And Compatible Products',
                ),
              ),
            ),
            'below' =>
            array (
              '50000 Features 6244' =>
              array (
                'link' =>
                array (
                  'load_functions' =>
                  array (
                    1 => 'views_arg_load',
                  ),
                  'to_arg_functions' => '',
                  'access_callback' => 'views_access',
                  'access_arguments' => 'a:1:{i:0;b:1;}',
                  'page_callback' => 'views_page',
                  'page_arguments' => 'a:3:{i:0;s:8:"products";i:1;s:6:"page_1";i:2;i:1;}',
                  'title' => 'Features',
                  'title_callback' => 't',
                  'title_arguments' => '',
                  'type' => '4',
                  'description' => '',
                  'menu_name' => 'primary-links',
                  'mlid' => '6244',
                  'plid' => '6217',
                  'link_path' => 'product/27/features',
                  'router_path' => 'product/%',
                  'link_title' => 'Features',
                  'options' =>
                  array (
                    'attributes' =>
                    array (
                      'title' => 'Features of Sapphire For Adobe After Effects And Compatible Products',
                    ),
                  ),
                  'module' => 'menu',
                  'hidden' => '0',
                  'external' => '0',
                  'has_children' => '0',
                  'expanded' => '0',
                  'weight' => '0',
                  'depth' => '4',
                  'customized' => '0',
                  'p1' => '4259',
                  'p2' => '91',
                  'p3' => '6217',
                  'p4' => '6244',
                  'p5' => '0',
                  'p6' => '0',
                  'p7' => '0',
                  'p8' => '0',
                  'p9' => '0',
                  'updated' => '0',
                  'in_active_trail' => false,
                  'href' => 'product/27/features',
                  'access' => true,
                  'localized_options' =>
                  array (
                    'attributes' =>
                    array (
                      'title' => 'Features of Sapphire For Adobe After Effects And Compatible Products',
                    ),
                  ),
                ),
                'below' => false,
              ),
              '50010 What\'s New 6245' =>
              array (
                'link' =>
                array (
                  'load_functions' =>
                  array (
                    1 => 'views_arg_load',
                  ),
                  'to_arg_functions' => '',
                  'access_callback' => 'views_access',
                  'access_arguments' => 'a:1:{i:0;b:1;}',
                  'page_callback' => 'views_page',
                  'page_arguments' => 'a:3:{i:0;s:8:"products";i:1;s:6:"page_2";i:2;i:1;}',
                  'title' => 'What\'s New',
                  'title_callback' => 't',
                  'title_arguments' => '',
                  'type' => '4',
                  'description' => '',
                  'menu_name' => 'primary-links',
                  'mlid' => '6245',
                  'plid' => '6217',
                  'link_path' => 'product/27/whatsnew',
                  'router_path' => 'product/%/whatsnew',
                  'link_title' => 'What\'s New',
                  'options' =>
                  array (
                    'attributes' =>
                    array (
                      'title' => 'What\'s new in Sapphire For Adobe After Effects And Compatible Products',
                    ),
                  ),
                  'module' => 'menu',
                  'hidden' => '0',
                  'external' => '0',
                  'has_children' => '0',
                  'expanded' => '0',
                  'weight' => '10',
                  'depth' => '4',
                  'customized' => '0',
                  'p1' => '4259',
                  'p2' => '91',
                  'p3' => '6217',
                  'p4' => '6245',
                  'p5' => '0',
                  'p6' => '0',
                  'p7' => '0',
                  'p8' => '0',
                  'p9' => '0',
                  'updated' => '0',
                  'in_active_trail' => false,
                  'href' => 'product/27/whatsnew',
                  'access' => true,
                  'localized_options' =>
                  array (
                    'attributes' =>
                    array (
                      'title' => 'What\'s new in Sapphire For Adobe After Effects And Compatible Products',
                    ),
                  ),
                ),
                'below' => false,
              ),
              '50030 Effects 6247' =>
              array (
                'link' =>
                array (
                  'load_functions' =>
                  array (
                    1 => 'views_arg_load',
                  ),
                  'to_arg_functions' => '',
                  'access_callback' => 'views_access',
                  'access_arguments' => 'a:1:{i:0;b:1;}',
                  'page_callback' => 'views_page',
                  'page_arguments' => 'a:3:{i:0;s:8:"products";i:1;s:6:"page_4";i:2;i:1;}',
                  'title' => 'Effects',
                  'title_callback' => 't',
                  'title_arguments' => '',
                  'type' => '4',
                  'description' => '',
                  'menu_name' => 'primary-links',
                  'mlid' => '6247',
                  'plid' => '6217',
                  'link_path' => 'product/27/effects',
                  'router_path' => 'product/%/effects',
                  'link_title' => 'Effects',
                  'options' =>
                  array (
                    'attributes' =>
                    array (
                      'title' => 'Sapphire For Adobe After Effects And Compatible Products effects',
                    ),
                  ),
                  'module' => 'menu',
                  'hidden' => '0',
                  'external' => '0',
                  'has_children' => '0',
                  'expanded' => '0',
                  'weight' => '30',
                  'depth' => '4',
                  'customized' => '0',
                  'p1' => '4259',
                  'p2' => '91',
                  'p3' => '6217',
                  'p4' => '6247',
                  'p5' => '0',
                  'p6' => '0',
                  'p7' => '0',
                  'p8' => '0',
                  'p9' => '0',
                  'updated' => '0',
                  'in_active_trail' => false,
                  'href' => 'product/27/effects',
                  'access' => true,
                  'localized_options' =>
                  array (
                    'attributes' =>
                    array (
                      'title' => 'Sapphire For Adobe After Effects And Compatible Products effects',
                    ),
                  ),
                ),
                'below' => false,
              ),
              '50040 Free Trial 6246' =>
              array (
                'link' =>
                array (
                  'load_functions' => 'a:1:{i:1;s:9:"node_load";}',
                  'to_arg_functions' => '',
                  'access_callback' => 'node_access',
                  'access_arguments' => 'a:2:{i:0;s:4:"view";i:1;i:1;}',
                  'page_callback' => 'node_page_view',
                  'page_arguments' => 'a:1:{i:0;i:1;}',
                  'title' => 'Free Trial',
                  'title_callback' => 'node_page_title',
                  'title_arguments' => 'a:1:{i:0;i:1;}',
                  'type' => '4',
                  'description' => '',
                  'menu_name' => 'primary-links',
                  'mlid' => '6246',
                  'plid' => '6217',
                  'link_path' => 'node/195',
                  'router_path' => 'node/%',
                  'link_title' => 'Free Trial',
                  'options' =>
                  array (
                    'attributes' =>
                    array (
                      'title' => 'Download a free trial of ... products.',
                    ),
                  ),
                  'module' => 'menu',
                  'hidden' => '0',
                  'external' => '0',
                  'has_children' => '0',
                  'expanded' => '0',
                  'weight' => '40',
                  'depth' => '4',
                  'customized' => '0',
                  'p1' => '4259',
                  'p2' => '91',
                  'p3' => '6217',
                  'p4' => '6246',
                  'p5' => '0',
                  'p6' => '0',
                  'p7' => '0',
                  'p8' => '0',
                  'p9' => '0',
                  'updated' => '0',
                  'in_active_trail' => false,
                  'access' => true,
                  'href' => 'node/195',
                  'localized_options' =>
                  array (
                    'attributes' =>
                    array (
                      'title' => 'Download a free trial of ... products.',
                    ),
                  ),
                ),
                'below' => false,
              ),
              '50050 Purchase 6248' =>
              array (
                'link' =>
                array (
                  'load_functions' =>
                  array (
                    1 => 'views_arg_load',
                  ),
                  'to_arg_functions' => '',
                  'access_callback' => 'views_access',
                  'access_arguments' => 'a:1:{i:0;b:1;}',
                  'page_callback' => 'views_page',
                  'page_arguments' => 'a:3:{i:0;s:8:"products";i:1;s:6:"page_3";i:2;i:1;}',
                  'title' => 'Purchase',
                  'title_callback' => 't',
                  'title_arguments' => '',
                  'type' => '4',
                  'description' => '',
                  'menu_name' => 'primary-links',
                  'mlid' => '6248',
                  'plid' => '6217',
                  'link_path' => 'product/27/purchase',
                  'router_path' => 'product/%/purchase',
                  'link_title' => 'Purchase',
                  'options' =>
                  array (
                    'attributes' =>
                    array (
                      'title' => 'Sapphire For Adobe After Effects And Compatible Products purchase information.',
                    ),
                  ),
                  'module' => 'menu',
                  'hidden' => '0',
                  'external' => '0',
                  'has_children' => '0',
                  'expanded' => '0',
                  'weight' => '50',
                  'depth' => '4',
                  'customized' => '0',
                  'p1' => '4259',
                  'p2' => '91',
                  'p3' => '6217',
                  'p4' => '6248',
                  'p5' => '0',
                  'p6' => '0',
                  'p7' => '0',
                  'p8' => '0',
                  'p9' => '0',
                  'updated' => '0',
                  'in_active_trail' => false,
                  'href' => 'product/27/purchase',
                  'access' => true,
                  'localized_options' =>
                  array (
                    'attributes' =>
                    array (
                      'title' => 'Sapphire For Adobe After Effects And Compatible Products purchase information.',
                    ),
                  ),
                ),
                'below' => false,
              ),
            ),
          ),
          '50004 Avid 6216' =>
          array (
            'link' =>
            array (
              'load_functions' =>
              array (
                1 => 'views_arg_load',
              ),
              'to_arg_functions' => '',
              'access_callback' => 'views_access',
              'access_arguments' => 'a:1:{i:0;b:1;}',
              'page_callback' => 'views_page',
              'page_arguments' => 'a:3:{i:0;s:8:"products";i:1;s:6:"page_1";i:2;i:1;}',
              'title' => 'Avid',
              'title_callback' => 't',
              'title_arguments' => '',
              'type' => '4',
              'description' => '',
              'menu_name' => 'primary-links',
              'mlid' => '6216',
              'plid' => '91',
              'link_path' => 'product/26/features',
              'router_path' => 'product/%',
              'link_title' => 'Avid',
              'options' =>
              array (
                'attributes' =>
                array (
                  'title' => 'Sapphire For Avid AVX Products',
                ),
              ),
              'module' => 'menu',
              'hidden' => '0',
              'external' => '0',
              'has_children' => '1',
              'expanded' => '0',
              'weight' => '4',
              'depth' => '3',
              'customized' => '0',
              'p1' => '4259',
              'p2' => '91',
              'p3' => '6216',
              'p4' => '0',
              'p5' => '0',
              'p6' => '0',
              'p7' => '0',
              'p8' => '0',
              'p9' => '0',
              'updated' => '0',
              'in_active_trail' => false,
              'href' => 'product/26/features',
              'access' => true,
              'localized_options' =>
              array (
                'attributes' =>
                array (
                  'title' => 'Sapphire For Avid AVX Products',
                ),
              ),
            ),
            'below' =>
            array (
              '50000 Features 6237' =>
              array (
                'link' =>
                array (
                  'load_functions' =>
                  array (
                    1 => 'views_arg_load',
                  ),
                  'to_arg_functions' => '',
                  'access_callback' => 'views_access',
                  'access_arguments' => 'a:1:{i:0;b:1;}',
                  'page_callback' => 'views_page',
                  'page_arguments' => 'a:3:{i:0;s:8:"products";i:1;s:6:"page_1";i:2;i:1;}',
                  'title' => 'Features',
                  'title_callback' => 't',
                  'title_arguments' => '',
                  'type' => '4',
                  'description' => '',
                  'menu_name' => 'primary-links',
                  'mlid' => '6237',
                  'plid' => '6216',
                  'link_path' => 'product/26/features',
                  'router_path' => 'product/%',
                  'link_title' => 'Features',
                  'options' =>
                  array (
                    'attributes' =>
                    array (
                      'title' => 'Features of Sapphire For Avid AVX Products',
                    ),
                  ),
                  'module' => 'menu',
                  'hidden' => '0',
                  'external' => '0',
                  'has_children' => '0',
                  'expanded' => '0',
                  'weight' => '0',
                  'depth' => '4',
                  'customized' => '0',
                  'p1' => '4259',
                  'p2' => '91',
                  'p3' => '6216',
                  'p4' => '6237',
                  'p5' => '0',
                  'p6' => '0',
                  'p7' => '0',
                  'p8' => '0',
                  'p9' => '0',
                  'updated' => '0',
                  'in_active_trail' => false,
                  'href' => 'product/26/features',
                  'access' => true,
                  'localized_options' =>
                  array (
                    'attributes' =>
                    array (
                      'title' => 'Features of Sapphire For Avid AVX Products',
                    ),
                  ),
                ),
                'below' => false,
              ),
              '50010 What\'s New 6238' =>
              array (
                'link' =>
                array (
                  'load_functions' =>
                  array (
                    1 => 'views_arg_load',
                  ),
                  'to_arg_functions' => '',
                  'access_callback' => 'views_access',
                  'access_arguments' => 'a:1:{i:0;b:1;}',
                  'page_callback' => 'views_page',
                  'page_arguments' => 'a:3:{i:0;s:8:"products";i:1;s:6:"page_2";i:2;i:1;}',
                  'title' => 'What\'s New',
                  'title_callback' => 't',
                  'title_arguments' => '',
                  'type' => '4',
                  'description' => '',
                  'menu_name' => 'primary-links',
                  'mlid' => '6238',
                  'plid' => '6216',
                  'link_path' => 'product/26/whatsnew',
                  'router_path' => 'product/%/whatsnew',
                  'link_title' => 'What\'s New',
                  'options' =>
                  array (
                    'attributes' =>
                    array (
                      'title' => 'What\'s new in Sapphire For Avid AVX Products',
                    ),
                  ),
                  'module' => 'menu',
                  'hidden' => '0',
                  'external' => '0',
                  'has_children' => '0',
                  'expanded' => '0',
                  'weight' => '10',
                  'depth' => '4',
                  'customized' => '0',
                  'p1' => '4259',
                  'p2' => '91',
                  'p3' => '6216',
                  'p4' => '6238',
                  'p5' => '0',
                  'p6' => '0',
                  'p7' => '0',
                  'p8' => '0',
                  'p9' => '0',
                  'updated' => '0',
                  'in_active_trail' => false,
                  'href' => 'product/26/whatsnew',
                  'access' => true,
                  'localized_options' =>
                  array (
                    'attributes' =>
                    array (
                      'title' => 'What\'s new in Sapphire For Avid AVX Products',
                    ),
                  ),
                ),
                'below' => false,
              ),
              '50030 Effects 6240' =>
              array (
                'link' =>
                array (
                  'load_functions' =>
                  array (
                    1 => 'views_arg_load',
                  ),
                  'to_arg_functions' => '',
                  'access_callback' => 'views_access',
                  'access_arguments' => 'a:1:{i:0;b:1;}',
                  'page_callback' => 'views_page',
                  'page_arguments' => 'a:3:{i:0;s:8:"products";i:1;s:6:"page_4";i:2;i:1;}',
                  'title' => 'Effects',
                  'title_callback' => 't',
                  'title_arguments' => '',
                  'type' => '4',
                  'description' => '',
                  'menu_name' => 'primary-links',
                  'mlid' => '6240',
                  'plid' => '6216',
                  'link_path' => 'product/26/effects',
                  'router_path' => 'product/%/effects',
                  'link_title' => 'Effects',
                  'options' =>
                  array (
                    'attributes' =>
                    array (
                      'title' => 'Sapphire For Avid AVX Products effects',
                    ),
                  ),
                  'module' => 'menu',
                  'hidden' => '0',
                  'external' => '0',
                  'has_children' => '0',
                  'expanded' => '0',
                  'weight' => '30',
                  'depth' => '4',
                  'customized' => '0',
                  'p1' => '4259',
                  'p2' => '91',
                  'p3' => '6216',
                  'p4' => '6240',
                  'p5' => '0',
                  'p6' => '0',
                  'p7' => '0',
                  'p8' => '0',
                  'p9' => '0',
                  'updated' => '0',
                  'in_active_trail' => false,
                  'href' => 'product/26/effects',
                  'access' => true,
                  'localized_options' =>
                  array (
                    'attributes' =>
                    array (
                      'title' => 'Sapphire For Avid AVX Products effects',
                    ),
                  ),
                ),
                'below' => false,
              ),
              '50040 Tutorials 6241' =>
              array (
                'link' =>
                array (
                  'load_functions' =>
                  array (
                    1 => 'views_arg_load',
                  ),
                  'to_arg_functions' => '',
                  'access_callback' => 'views_access',
                  'access_arguments' => 'a:1:{i:0;b:1;}',
                  'page_callback' => 'views_page',
                  'page_arguments' => 'a:3:{i:0;s:8:"products";i:1;s:6:"page_5";i:2;i:1;}',
                  'title' => 'Tutorials',
                  'title_callback' => 't',
                  'title_arguments' => '',
                  'type' => '4',
                  'description' => '',
                  'menu_name' => 'primary-links',
                  'mlid' => '6241',
                  'plid' => '6216',
                  'link_path' => 'product/26/tutorials',
                  'router_path' => 'product/%/tutorials',
                  'link_title' => 'Tutorials',
                  'options' =>
                  array (
                    'attributes' =>
                    array (
                      'title' => 'Tutorials for Sapphire For Avid AVX Products',
                    ),
                  ),
                  'module' => 'menu',
                  'hidden' => '0',
                  'external' => '0',
                  'has_children' => '0',
                  'expanded' => '0',
                  'weight' => '40',
                  'depth' => '4',
                  'customized' => '0',
                  'p1' => '4259',
                  'p2' => '91',
                  'p3' => '6216',
                  'p4' => '6241',
                  'p5' => '0',
                  'p6' => '0',
                  'p7' => '0',
                  'p8' => '0',
                  'p9' => '0',
                  'updated' => '0',
                  'in_active_trail' => false,
                  'href' => 'product/26/tutorials',
                  'access' => true,
                  'localized_options' =>
                  array (
                    'attributes' =>
                    array (
                      'title' => 'Tutorials for Sapphire For Avid AVX Products',
                    ),
                  ),
                ),
                'below' => false,
              ),
              '50050 Free Trial 6239' =>
              array (
                'link' =>
                array (
                  'load_functions' => 'a:1:{i:1;s:9:"node_load";}',
                  'to_arg_functions' => '',
                  'access_callback' => 'node_access',
                  'access_arguments' => 'a:2:{i:0;s:4:"view";i:1;i:1;}',
                  'page_callback' => 'node_page_view',
                  'page_arguments' => 'a:1:{i:0;i:1;}',
                  'title' => 'Free Trial',
                  'title_callback' => 'node_page_title',
                  'title_arguments' => 'a:1:{i:0;i:1;}',
                  'type' => '4',
                  'description' => '',
                  'menu_name' => 'primary-links',
                  'mlid' => '6239',
                  'plid' => '6216',
                  'link_path' => 'node/195',
                  'router_path' => 'node/%',
                  'link_title' => 'Free Trial',
                  'options' =>
                  array (
                    'attributes' =>
                    array (
                      'title' => '... products.',
                    ),
                  ),
                  'module' => 'menu',
                  'hidden' => '0',
                  'external' => '0',
                  'has_children' => '0',
                  'expanded' => '0',
                  'weight' => '50',
                  'depth' => '4',
                  'customized' => '0',
                  'p1' => '4259',
                  'p2' => '91',
                  'p3' => '6216',
                  'p4' => '6239',
                  'p5' => '0',
                  'p6' => '0',
                  'p7' => '0',
                  'p8' => '0',
                  'p9' => '0',
                  'updated' => '0',
                  'in_active_trail' => false,
                  'access' => true,
                  'href' => 'node/195',
                  'localized_options' =>
                  array (
                    'attributes' =>
                    array (
                      'title' => '... products.',
                    ),
                  ),
                ),
                'below' => false,
              ),
              '50060 Purchase 6242' =>
              array (
                'link' =>
                array (
                  'load_functions' =>
                  array (
                    1 => 'views_arg_load',
                  ),
                  'to_arg_functions' => '',
                  'access_callback' => 'views_access',
                  'access_arguments' => 'a:1:{i:0;b:1;}',
                  'page_callback' => 'views_page',
                  'page_arguments' => 'a:3:{i:0;s:8:"products";i:1;s:6:"page_3";i:2;i:1;}',
                  'title' => 'Purchase',
                  'title_callback' => 't',
                  'title_arguments' => '',
                  'type' => '4',
                  'description' => '',
                  'menu_name' => 'primary-links',
                  'mlid' => '6242',
                  'plid' => '6216',
                  'link_path' => 'product/26/purchase',
                  'router_path' => 'product/%/purchase',
                  'link_title' => 'Purchase',
                  'options' =>
                  array (
                    'attributes' =>
                    array (
                      'title' => 'Sapphire For Avid AVX Products purchase information.',
                    ),
                  ),
                  'module' => 'menu',
                  'hidden' => '0',
                  'external' => '0',
                  'has_children' => '0',
                  'expanded' => '0',
                  'weight' => '60',
                  'depth' => '4',
                  'customized' => '0',
                  'p1' => '4259',
                  'p2' => '91',
                  'p3' => '6216',
                  'p4' => '6242',
                  'p5' => '0',
                  'p6' => '0',
                  'p7' => '0',
                  'p8' => '0',
                  'p9' => '0',
                  'updated' => '0',
                  'in_active_trail' => false,
                  'href' => 'product/26/purchase',
                  'access' => true,
                  'localized_options' =>
                  array (
                    'attributes' =>
                    array (
                      'title' => 'Sapphire For Avid AVX Products purchase information.',
                    ),
                  ),
                ),
                'below' => false,
              ),
            ),
          ),
          '50005 Final Cut Pro 6218' =>
          array (
            'link' =>
            array (
              'load_functions' =>
              array (
                1 => 'views_arg_load',
              ),
              'to_arg_functions' => '',
              'access_callback' => 'views_access',
              'access_arguments' => 'a:1:{i:0;b:1;}',
              'page_callback' => 'views_page',
              'page_arguments' => 'a:3:{i:0;s:8:"products";i:1;s:6:"page_1";i:2;i:1;}',
              'title' => 'Final Cut Pro',
              'title_callback' => 't',
              'title_arguments' => '',
              'type' => '4',
              'description' => '',
              'menu_name' => 'primary-links',
              'mlid' => '6218',
              'plid' => '91',
              'link_path' => 'product/30/features',
              'router_path' => 'product/%',
              'link_title' => 'Final Cut Pro',
              'options' =>
              array (
                'attributes' =>
                array (
                  'title' => 'Sapphire For Apple FxPlug Products',
                ),
              ),
              'module' => 'menu',
              'hidden' => '0',
              'external' => '0',
              'has_children' => '1',
              'expanded' => '0',
              'weight' => '5',
              'depth' => '3',
              'customized' => '0',
              'p1' => '4259',
              'p2' => '91',
              'p3' => '6218',
              'p4' => '0',
              'p5' => '0',
              'p6' => '0',
              'p7' => '0',
              'p8' => '0',
              'p9' => '0',
              'updated' => '0',
              'in_active_trail' => false,
              'href' => 'product/30/features',
              'access' => true,
              'localized_options' =>
              array (
                'attributes' =>
                array (
                  'title' => 'Sapphire For Apple FxPlug Products',
                ),
              ),
            ),
            'below' =>
            array (
              '50000 Features 6250' =>
              array (
                'link' =>
                array (
                  'load_functions' =>
                  array (
                    1 => 'views_arg_load',
                  ),
                  'to_arg_functions' => '',
                  'access_callback' => 'views_access',
                  'access_arguments' => 'a:1:{i:0;b:1;}',
                  'page_callback' => 'views_page',
                  'page_arguments' => 'a:3:{i:0;s:8:"products";i:1;s:6:"page_1";i:2;i:1;}',
                  'title' => 'Features',
                  'title_callback' => 't',
                  'title_arguments' => '',
                  'type' => '4',
                  'description' => '',
                  'menu_name' => 'primary-links',
                  'mlid' => '6250',
                  'plid' => '6218',
                  'link_path' => 'product/30/features',
                  'router_path' => 'product/%',
                  'link_title' => 'Features',
                  'options' =>
                  array (
                    'attributes' =>
                    array (
                      'title' => 'Features of Sapphire For Apple FxPlug Products',
                    ),
                  ),
                  'module' => 'menu',
                  'hidden' => '0',
                  'external' => '0',
                  'has_children' => '0',
                  'expanded' => '0',
                  'weight' => '0',
                  'depth' => '4',
                  'customized' => '0',
                  'p1' => '4259',
                  'p2' => '91',
                  'p3' => '6218',
                  'p4' => '6250',
                  'p5' => '0',
                  'p6' => '0',
                  'p7' => '0',
                  'p8' => '0',
                  'p9' => '0',
                  'updated' => '0',
                  'in_active_trail' => false,
                  'href' => 'product/30/features',
                  'access' => true,
                  'localized_options' =>
                  array (
                    'attributes' =>
                    array (
                      'title' => 'Features of Sapphire For Apple FxPlug Products',
                    ),
                  ),
                ),
                'below' => false,
              ),
              '50020 Effects 6252' =>
              array (
                'link' =>
                array (
                  'load_functions' =>
                  array (
                    1 => 'views_arg_load',
                  ),
                  'to_arg_functions' => '',
                  'access_callback' => 'views_access',
                  'access_arguments' => 'a:1:{i:0;b:1;}',
                  'page_callback' => 'views_page',
                  'page_arguments' => 'a:3:{i:0;s:8:"products";i:1;s:6:"page_4";i:2;i:1;}',
                  'title' => 'Effects',
                  'title_callback' => 't',
                  'title_arguments' => '',
                  'type' => '4',
                  'description' => '',
                  'menu_name' => 'primary-links',
                  'mlid' => '6252',
                  'plid' => '6218',
                  'link_path' => 'product/30/effects',
                  'router_path' => 'product/%/effects',
                  'link_title' => 'Effects',
                  'options' =>
                  array (
                    'attributes' =>
                    array (
                      'title' => 'Sapphire For Apple FxPlug Products effects',
                    ),
                  ),
                  'module' => 'menu',
                  'hidden' => '0',
                  'external' => '0',
                  'has_children' => '0',
                  'expanded' => '0',
                  'weight' => '20',
                  'depth' => '4',
                  'customized' => '0',
                  'p1' => '4259',
                  'p2' => '91',
                  'p3' => '6218',
                  'p4' => '6252',
                  'p5' => '0',
                  'p6' => '0',
                  'p7' => '0',
                  'p8' => '0',
                  'p9' => '0',
                  'updated' => '0',
                  'in_active_trail' => false,
                  'href' => 'product/30/effects',
                  'access' => true,
                  'localized_options' =>
                  array (
                    'attributes' =>
                    array (
                      'title' => 'Sapphire For Apple FxPlug Products effects',
                    ),
                  ),
                ),
                'below' => false,
              ),
              '50030 Free Trial 6251' =>
              array (
                'link' =>
                array (
                  'load_functions' => 'a:1:{i:1;s:9:"node_load";}',
                  'to_arg_functions' => '',
                  'access_callback' => 'node_access',
                  'access_arguments' => 'a:2:{i:0;s:4:"view";i:1;i:1;}',
                  'page_callback' => 'node_page_view',
                  'page_arguments' => 'a:1:{i:0;i:1;}',
                  'title' => 'Free Trial',
                  'title_callback' => 'node_page_title',
                  'title_arguments' => 'a:1:{i:0;i:1;}',
                  'type' => '4',
                  'description' => '',
                  'menu_name' => 'primary-links',
                  'mlid' => '6251',
                  'plid' => '6218',
                  'link_path' => 'node/195',
                  'router_path' => 'node/%',
                  'link_title' => 'Free Trial',
...
?>

php check if an array contains string part
check if array values contain

Searched words: 
views make variables available to template files via preprocess functions in template.php

Comments

Post new comment

The content of this field is kept private and will not be shown publicly.
  • You may post code using <code>...</code> (generic) or <?php ... ?> (highlighted PHP) tags.
  • You can use Markdown syntax to format and style the text. Also see Markdown Extra for tables, footnotes, and more.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Allowed HTML tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd> <img> <blockquote> <small> <h2> <h3> <h4> <h5> <h6> <sub> <sup> <p> <br> <strike> <table> <tr> <td> <thead> <th> <tbody> <tt> <output>
  • Lines and paragraphs break automatically.

More information about formatting options

By submitting this form, you accept the Mollom privacy policy.