Add a page in magento

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.

<li><a href="<?php echo $this->getUrl('test1')?>"><?php echo $this->__('Test') ?></a></li>

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.

You can also add this page in footer
For this you have to go Admin->CMS->Static Blocks->Footer links
And add this code

<ul>
<li><a href="{{store url=""}}about-magento-demo-store">About Us</a></li>
<li ><a href="{{store url=""}}customer-service">Customer Service</a></li>
<li class="last"><a href="{{store url=""}}test1">Test</a></li>
</ul>
Advertisements

Tagged: ,

6 thoughts on “Add a page in magento

  1. Mahmud faisal January 2, 2010 at 3:29 pm

    nice post 😀

  2. St0iK March 24, 2010 at 2:49 pm

    Thanx a lot ! Really Helpfull

    • midpart March 25, 2010 at 11:12 am

      U r most welcome !

  3. wholesale slippers April 29, 2010 at 11:27 am

    Thank you very much for the information great post, found it on Yahoo.

  4. nav May 4, 2011 at 1:21 pm

    Thx nice post

  5. nav May 4, 2011 at 1:22 pm

    Thx nice post
    What I want the menus on header so what to do for that

Comments are closed.

%d bloggers like this: