i know that this may be a stupid question, i've done reading MagentoDesignGuide.pdf and knows how to edit block, how the XML layout works, and template files works. Since magento documentation is not much i need a lot of question on the development (i'm new to magento Environment and framework)

what i get is 1 page of magento is made from lots of block, layout and modules. either way i want one of my link in my homepage goes to my custom page (a page which i want to made on my own). is there anyway to do it?


Let's say, you created a CMS page, with URL Key = introduction

You can add link of this page (on your CMS homepage) by :

<a href="{{store url="introduction"}}">Introduction</a>

For template files (.phtml), use:

<a href="<?php echo $this->getUrl('introduction'); ?>">Introduction</a>
  • how about none cms pages? i thought there're lots of them on every themes – Robert Tirta May 5 '16 at 9:13
  • what's none cms pages ? – Anil Suthar May 5 '16 at 9:15
  • CMS page is the easiest way to create a page – Manikandan May 5 '16 at 10:39

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.