Drupal custom theme visibility to all users -


i'm creating custom drupal 7 theme

<?php print theme('links', array('links' => menu_navigation_links('menu-headermenu'), 'attributes' => array('class'=> array('links', 'headermenu')) )); ?> 

above code i'm using in theme show menu created using admin section.

my problem menu getting displayed admin.

i want shown anonymous registered users.

also, i've tried changing role permission ticking 'administer block' , 'administer menus , menu items' 3 kind of users. nothing helps.

please me..

i'm not 100% sure answer question, because side steps code above - but, try enabling menu block module, using create block based on desired menu. can place block region, , control via normal block controls.

the trick of might need add region template if doesn't exist in place want, that's easy.


Comments

Popular posts from this blog

ios - UICollectionView Self Sizing Cells with Auto Layout -

node.js - ldapjs - write after end error -

DOM Manipulation in Wordpress (and elsewhere) using php -