For example, I want the right-most menu category to link to a page on a different website.
Seems like it should be simple enough, but I can’t find where to do it.
Thanks for any pointers!
Liam
[Mod Edit: Moved to the Community Help forum]
This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.
The active forums are here.
August 25, 2011 1:21pm
Subscribe [3]#1 / Aug 25, 2011 1:21pm
For example, I want the right-most menu category to link to a page on a different website.
Seems like it should be simple enough, but I can’t find where to do it.
Thanks for any pointers!
Liam
[Mod Edit: Moved to the Community Help forum]
#2 / Aug 25, 2011 2:29pm
Hi Liam
Could you show us the code you’re using to generate the ‘right-most menu’ please?
#3 / Aug 25, 2011 4:34pm
It’s just the standard menu bar using categories.
Take a look at the website here:
http://www.vaska2011.com/
I’d like ‘institutional products” to go to another website is someone clicks it.
Thanks.
#4 / Aug 25, 2011 4:44pm
What if you just hand-coded the last list item in your menu?
...
{/exp:channel:entries}
<li>
<a href="http://external-url.com" title="institutional products" target="_blank" rel="noopener">_ institutional products<span class="nav-description"></span></a>
</li>
</div><!-- end col-full -->#5 / Aug 25, 2011 5:25pm
Brilliant, Matt!
This is another thing I love about EE: the army of smart and helpful folks out there!
I really appreciate your help.
Liam
#6 / Aug 25, 2011 5:30pm
Yeah I love the community too, the trick is to try and teach what you know. I’ve learned even faster by trying to solve other peoples questions here 😉
I tend to build main menu’s more by hand (hard code) and any drop downs or sub menus by using looping Entries or Categories tags.
PS - I also noticed a little comment tag peeking out at me when looking at your site. I’m using a mac and FF v6. See screen shot attached.
#7 / Aug 25, 2011 5:36pm
PS - I also noticed a little comment tag peeking out at me when looking at your site. I’m using a mac and FF v6. See screen shot attached.
Not meaning to butt in but was going to mention that too. It’s because of this line here :
<!-- </div><!-- /#topad --> -->Should be :
<!-- </div>--> <!-- /#topad -->Also as a note when commenting lines out it’s sometimes quicker to use the built in ExpressionEngine comments so you would do this sort of thing instead :
{!-- </div><!-- /#topad --> --}That should then comment out the whole line.
Best wishes,
Mark
#8 / Aug 25, 2011 5:37pm
Ah, yes. Well, I’m still at the open-heart surgery stage of the website, so there are plenty of visual elements to fix yet. But I am encouraged that you only found one small nit! 😉
Good point about the menus. I’m thinking I might manually code the nav bar now, since it won’t change often and I do like that extra control.
Thanks again.
Liam
#9 / Aug 25, 2011 5:44pm
Nice catch Mark. Are you going to be in Manchester tomorrow?
(anytime Liam, keep the questions coming as you go…)
#10 / Aug 25, 2011 5:48pm
Nice catch Mark. Are you going to be in Manchester tomorrow?
Unfortunately not, no :-(
I really wanted to go but have a family commitment that I have to make so won’t be able to make it. Hope it all goes well for everyone there though.
Best wishes,
Mark
#11 / Aug 25, 2011 5:52pm
Thanks mate, catch you next time Prof
#12 / Aug 25, 2011 5:54pm
Thanks mate, catch you next time Prof
I sincerely hope so.