How do I add links to static pages in my category header?
Adding links on your site to static pages is important to providing content about your company, your policies, and even the types of products you offer. If you want to make these links more prominent than the header or footer allow, you can easily create these links along with your product category tabs using one of two options.
Edit the Code
If you like playing around in code and having the most flexibility possible, you’ll want to open up the top.phtml file that you can find in
app/design/frontend/default/ultimento/template/catalog/navigation/
From there you’ll want to find the closing </ul> tag and paste something like <li class=”level0”><a href=”http://linktomypage.com/page”><span>My Page</span></a></li>
Create a static page in Magento under CMS > Pages and you’re good to go.
Edit the Static Blocks
If you want an even easier option, go to CMS > Static Blocks and create a new block, say “About Us”.
Then go to Catalog > Manage Categories and create a new category (not root category, just one at the same level as your other main product categories) called “About Us” as well.
Within the settings of this new category go to “Display Mode” and select “static block only”. You’ll have to pick a static block to display, make sure it’s the same one you created in the previous step.
That’s it! Now you have a link on your homepage and you can add any HTML to your new Static Block and have it show up on the site.

TIP: for menu Elements
modify app/design/frontend/default/ultimento/template/catalog/navigation/top.phtml
from:
getStoreCategories())>1): ?>
getStoreCategories() as $_category) { $_anyActive = $_anyActive || $this->isCategoryActive($_category); } ?>
<li class="”><a href="getUrl(”)?>”>__(‘Home’) ?>
getStoreCategories() as $_category): ?>
drawItem($_category) ?>
to this
getStoreCategories())>1): ?>
getLayout()->createBlock(‘cms/block’)->setBlockId(‘nav_menu_before’)->toHtml() ?>
getStoreCategories() as $_category) { $_anyActive = $_anyActive || $this->isCategoryActive($_category); } ?>
<li class="”><a href="getUrl(”)?>”>__(‘Home’) ?>
getStoreCategories() as $_category): ?>
drawItem($_category) ?>
getLayout()->createBlock(‘cms/block’)->setBlockId(‘nav_menu_after’)->toHtml() ?>
and add
2 static Blocks with identifier
nav_menu_after and nav_menu_before
or just one of them…
with following content:
My Page
for each Navigation menu element you want! before or after the Categories
Commative? wouldn’t it be nice for the next version of Ultimento?
I keep getting a 404 error for this – why?
getStoreCategories())>1): ?>
Home
getStoreCategories() as $_category): ?>
drawItem($_category) ?>
Trying it again while commenting out the offending line….
getStoreCategories())>1): ?>
<!– Home –>
getStoreCategories() as $_category): ?>
drawItem($_category) ?>
Third time is the charm?
getStoreCategories())>1): ?>
/* Home */
getStoreCategories() as $_category): ?>
drawItem($_category) ?>
There is a much easier way to do it so that it fits right in with everything else on your menu. Just use rewrites. There is a good tut here: http://www.magentocommerce.com/knowledge-base/entry/adding-page-links-in-the-navigation-bar
Great solution if you ask me. No additional coding needed and will continue to work regardless of updates/upgrades. Stay in admin if at all possible.
Hi Nick,
There certainly are other ways to do redirects, but this article is actually for Magento Go, not Community. Many of the elements carry over, but its not entirely the same.
We’re releasing new support docs on Commative to cover this and other questions.
Thanks,
Brandon
Yes, I looked at it. Worked like a charm though on CE though and don’t have to worry about adding/changing code and will always carry over with updates.