Jump to content

[SOLVED] Hardcoding Links To Categories


Guest

Recommended Posts

Hey guys,

 

So in blocktopmenu I wanted to add links without going through the {$MENU} just underneath because I needed to add custom bootstrap styles. I know it isn't best practice, but I needed it just for the menu.

 

So I was using <a href="15-portraits">Portraits</a> for example in an li under a ul. It would work, but when I tried to click on the link from mysite.com/portraits/16-product for example I would end up in mysite.com/portraits/15-portraits.

 

I tried also with <a href="{$base_url}15-portraits">Portraits</a> with no luck.

 

I understand why it's doing what it is doing, but I can't use <a href="http://www.mysite.com/15-portraits">Portraits</a> because it gives me a controller error.

 

Is there anyway for me to get around this or am I going to have to edit blocktopmenu.php (not sure it can even be done between I need a separate a class for each dropdown with bootstrap uls.

 

Thanks in advance!

eggo

Edited by Guest (see edit history)
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...