User login

Get secondary links to show up under front (home) page in Drupal 5

Do you, for some strange reason, want secondary links to show up under your primary links when users are at your front, home page?

After a bit of frustration ourselves, here is Agaric Design Collective's very short guide to getting secondary links to show up when you are at your front page menu item.

Change your menu declaration for "Home" (or whatever you call it) from <front> to whatever you actually have <front> set to in your site settings, such as node/1.

That's it, everything will work now, move along, nothing more to see...

(If you're /node as your front page, this won't work, so don't you want to use panels and/or a view anyway?)

Do you, for some strange reason, want secondary links to show up under your primary links when users are at your front, home page?

After a bit of frustration ourselves, here is Agaric Design Collective's very short guide to getting secondary links to show up when you are at your front page menu item.

Change your menu declaration for "Home" (or whatever you call it) from <front> to whatever you actually have <front> set to in your site settings, such as node/1.

That's it, everything will work now, move along, nothing more to see...

(If you're /node as your front page, this won't work, so don't you want to use panels and/or a view anyway?)

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.