Guest Posted October 21, 2013 Share Posted October 21, 2013 (edited) 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 October 21, 2013 by Guest (see edit history) Link to comment Share on other sites More sharing options...
vekia Posted October 21, 2013 Share Posted October 21, 2013 I tried also with <a href="{$base_url}15-portraits">Portraits</a> with no luck. how url looks like if you use this method? instead of {$base_url} try to use also {$content_dir} Link to comment Share on other sites More sharing options...
Guest Posted October 21, 2013 Share Posted October 21, 2013 Your the man vekia! Very much appreciated. Best regards, eggo Link to comment Share on other sites More sharing options...
vekia Posted October 21, 2013 Share Posted October 21, 2013 so it works with {$content_dir} ? Link to comment Share on other sites More sharing options...
Guest Posted October 21, 2013 Share Posted October 21, 2013 Correct, thanks again Vekia! Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now