STEPS FOR CREATING A CUSTOM PAGE IN MAGENTO AND LINK IT TO A NEW MENU

1. Login as admin, Then select ‘Manage Pages’ from CMS menu.
2. Click ‘Add New Page’ Button to create a page.
3. In the New Page:

a) In General Information tab enter following details:
Page Title: Test Page
SEF URL Indentifier: test1
Store View: All Store Views
Status: Enabled
Content: Enter some text here..

b) Custome Design: Select your own layout from this tab
Select Layout: Three Column (you can select any layout)

c) Meta Data: If you want to add Keywords and Descriptions

Then click on ‘Save Page’ button. Now your test page is ready.

4. Now we have to create a new menu to link this page. Open app/design/frontend/default/default/template/catalog/navigation/top.phtml

Enter following line just above the foreach statement.

[sourcecode language="php"]
<li><a href="<?php echo $this->getUrl(‘test1′)?>"><?php echo $this->__(‘Staff’) ?></a></li>

[/sourcecode]

Here test1 is the SEF URL Identifier and Staff is the new menu name.

Now your menu is ready.  Go to magento frontend and click on ‘Staff’ menu to see your new page.

Incoming search terms:

  • add menu links in magento
  • add a page to my magento website
  • how to create menu in magento
  • How to implement create account login page in index page of magento
  • how to show file on click of custom menu in admin in magento
  • link to cms page in template magento
  • magento add a new page
  • magento admin add pager
  • magento create a menu of pages
  • magento frontend content add new menu

Filed under: Magento eCommerce Tips

Like this post? Subscribe to my RSS feed and get loads more!