0

I downloaded a theme which automatically puts my main menu in the header region. However, when I look at my blocks you can't edit that region.

I would like to BLOCK ALL unauthenticated users from seeing the main menu. How would i do this? thanks!

  • did you check page.tpl.php may be he draw menu in it not in a region – Ahmed Jul 3 '12 at 15:16
  • What theme are you working with here? – bitfed Oct 7 '12 at 20:44
2

It seems that you want to lock down specific areas of the site with permissions that are not readily available on the Permissions page. I would address that issue in the following way.

I would update the theme to make the region editable and make it so that the menu was not part of the theme by default.

Next I would install the Context module so that I could display specific blocks, in specific regions, when specific conditions are met.

Finally I would create a Context with the settings:

Conditions

  • "Sitewide: Always active"
  • "User Roles": "Authenticated User"

Actions

  • "Block": Main Menu
  • thanks, i am not a programmer, how do i make the region "editable"? – hollyh Jul 3 '12 at 16:57
0

It is probably a 'Feature' of the theme. The control for that can be found under Appearance -> Settings -> 'Theme Name' -> Find the 'Toggle Display' section and uncheck 'Main menu'.

Then you re-add the menu yourself under 'Structure' -> 'Blocks'. Drag it to the region you want it in. Then click 'configure' and go to 'Roles' where you can choose which roles to display the block for. (Leave anonymous user unchecked to hide this block from unauthenticated users)

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.