Is there a way to add  

<a href="#" target=_parent...


<base target="_blank">

To the links in magento navigation?


The reason I ask is because I'm not good enough with code to take the navigation from magento and add it to my phpbb forum so I want to create the illusion.

I'm currently using an iframe but I need to use a target to ensure that my iframe will link outside of the iframe and behave like a normal navigation.

I don't want to edit core files because I don't know what I'm doing.

Hope you can help,


  • You want to change magento default menu navigation ? – Suresh Chikani Sep 4 '16 at 5:24

This may not right way but this can be possible by doing below steps:

  1. Create a static block (Admin > CMS > Add new block).
  2. While creating a category you want to use in navigation,

Select Category Display settings > Display Mode > Static block only.

Select static block you created.

Paste the below code in your static block

window.onload = function(e){ 
window.location = "http://www.google.co.in";

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.