Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

How can I add external link in top menu (MenuHelper.Top)
ella
#1 Posted : Monday, October 10, 2011 8:00:53 AM(UTC)
Rank: Advanced Member
ella
Groups: Registered

Joined: 6/30/2011(UTC)
Posts: 56
Location: Russia
I need to add external link in top menu, for example like your link "FORUM".
How can I do it without add new page, and this link will be added in MenuHelper.Top list for menu generating in my menu view.
jifeng
#2 Posted : Tuesday, October 11, 2011 2:10:16 AM(UTC)
Rank: Administration
Groups: Administrators, Registered

Joined: 9/3/2009(UTC)
Posts: 1,552
Location: Xiamen China
You need to write some hard code to do this.
Regards,

Jifeng Huang

Kooboo Team

Microsoft ASP.NET MVP
ella
#3 Posted : Tuesday, October 11, 2011 5:30:00 AM(UTC)
Rank: Advanced Member
ella
Groups: Registered

Joined: 6/30/2011(UTC)
Posts: 56
Location: Russia
Ok. Then I'll do view like this:
First - output page link from MenuHelper.Top list
Second - add extelnal link at the end of menu view
jhgoodwin
#4 Posted : Thursday, November 03, 2011 5:42:20 PM(UTC)
Rank: Newbie
Groups: Registered

Joined: 9/17/2011(UTC)
Posts: 5
Location: Louisburg, NC
One other way to do it is to create a dummy page, add this page to the navigation using the checkbox on the page properties, and then in the System : URL Redirects, add a redirect to go to the external URL.

Not very elegant, but it does work, and will use the built-in menu/navigation, and also let you place the menu item exactly where you want.

John
zguoqi
#5 Posted : Friday, November 04, 2011 12:14:38 AM(UTC)
Rank: Administration
Groups: Registered, Administrators

Joined: 9/2/2009(UTC)
Posts: 692
Location: xiamen
You point out a very good suggestion ----> Add an extra setting to a dummy page, call it redirect.

Create a dummy page for redirect only, instead of do it in two steps, create a page and then create a redirect setting.

Cool.
Regards,

Vincent

Kooboo Team
ella
#6 Posted : Friday, November 04, 2011 8:08:07 AM(UTC)
Rank: Advanced Member
ella
Groups: Registered

Joined: 6/30/2011(UTC)
Posts: 56
Location: Russia
Very good! Thanks.
Users browsing this topic
Guest
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.

Powered by YAF 1.9.5.5 | YAF © 2003-2011, Yet Another Forum.NET
This page was generated in 0.677 seconds.