css - main_menu variable is always empty in drupal theme Zen -


i new drupal theming , trying edit menu sub theme base theme zen. when tried add class , div main menu, saw not changing. later when print_r($main_menu) in page.tpl.php in subtheme directory, showing empty results ! same print_r($main_menu) shows main menu array in bartik theme's page.tpl.php ! how can create main_menu variable in theme ?

i hope solve problem

https://drupal.org/project/menu_attributes

regards, immanuel paul


Comments

Popular posts from this blog

php - Calling a template part from a post -

Firefox SVG shape not printing when it has stroke -

How to mention the localhost in android -