How do you switch off "Top Menu" in Open Publish

Events happening in the community are now at Drupal community events on www.drupal.org.
therobyouknow's picture

How do you switch off "Top Menu"? By that I mean the menu that contains options:
Hello admin Log Out About Us Advertise Subscribe RSS

I can make it disappear by disabling its individual link options. but doing that leaves white space above the site title banner, i.e. where the original Top Menu was. I would rather disable the "Top Menu" overall and completely so that not even the (empty) area is rendered on the site pages.

I would like to be able to do this within the Drupal admin, rather than have to edit php, css, or other files manually via ftp to my site.

The admin pages list the menus but seem to provide no way of actually disabling a menu completely, without having to go into a menu and disable individual menu options.

Why do I want to do this? I want to hide the login etc because at the moment in my project I don't wish to have users creating accounts automatically, I want to create the accounts manually from accounts with admin permissions. The reason is that we don't have the time to moderate comments and want to keep it simple and small at the moment, and instead allow people to use Open Publish's "Like" feature for various social networks so that visitors can make comments within their own accounts not on our site.

Comments

On the menu list page, click

HFT's picture

On the menu list page, click settings in the top corner and then delete next to save..

Also, re. the comments, you might want to look at something like Diqus (http://disqus.com/). This will allow users without an account to post comments thought a variety of social accounts. Surely you'd rather comments about your content on your site?

You can implement this using the Drupal module (http://drupal.org/project/disqus), display it as a block and place the block in the 'under content' region in any of your nodes view's which you want comments on (articles, blogs etc.) in admin ¦ site building ¦ context.

EDIT: Thinking about it, it would be easier for you to just delete;

<?php if (menu_tree('menu-top-menu')): ?>
    <div id="top-menu" class="clearfix">
      <ul id="login-menu">
        <?php if (user_is_logged_in()) : ?>
          <li><?php print t('Hello'); ?> <?php print l($GLOBALS['user']->name, 'user') ?></li>
          <li><?php print l(t('Log Out'), 'logout'); ?></li>
        <?php else : ?>
          <li class="hello"><?php print t('Hello Visitor!'); ?></li>
          <li><?php print l(t('Log In'), 'user') ?> <?php print t('or'); ?> <?php print l(t('Register'),'user/register'); ?></li>
        <?php endif; ?>
      </ul>
      <?php print menu_tree('menu-top-menu'); ?>
    </div>
  <?php endif; ?>

From page-header.tpl and saving it elsewhere. This way you can remove that element easily and also bring it back just as easily without having to re-build the menu in OP.

Thank you. I would prefer to

therobyouknow's picture

Thank you. I would prefer to just turn off the menu rather than delete it entirely. But thanks for the suggestion as an alternative to disabling the menu options.

I'll check out disqus.

What does disqus do that isn't there already?

therobyouknow's picture

I see on facebook that people can post a site link and comment on it. I guess if they do this on a drupal site via disqus then somehow the drupal site will know about the comment? That's the missing link I can see...

OpenPublish

Group organizers

Group categories

Group notifications

This group offers an RSS feed. Or subscribe to these personalized, sitewide feeds: