External pages in main menu?

If you have questions about using mojoPortal, you can post them here.

You may want to first review our site administration documentation to see if your question is answered there.

This thread is closed to new posts. You must sign in to post in the forums.
11/19/2008 4:45:41 PM
Gravatar
Total Posts 10

External pages in main menu?

We're hosting multiple mojo sites under one installation, and it would be nice to be able to use the main menu of a site to link to the default page of another site. I suppose this could be generalized to the problem of using the main menu to link to any URL anywhere.

I've tried to make this work, but keep getting an error when mojo tries to match the virtual page name to something in its data. Is what I'm wanting to do currently possible (and I just can't figure out which hoops to jump through) or is this something that isn't there (yet)? If the latter, I'm pretty sure I can go into the code and do what I want (e.g., if the path starts with "http:" don't try to map it), but didn't want to start code diving until I found out if I was just missing the boat.

Thanks for any pointers anyone can provide.

 

11/19/2008 4:49:09 PM
Gravatar
Total Posts 18439

Re: External pages in main menu?

To link to any external page in the menu, whether it be another mojoportal site or not, use the fully qualified url in the pagesettings.aspx Url setting, ie: http://www.google.com

Hope it helps,

Joe

11/19/2008 5:55:36 PM
Gravatar
Total Posts 10

Re: External pages in main menu?

Can you walk me through that a bit further?

The only way I know to get something into the main menu is to create a page, and tick the checkbox that allows it to be in the menu. I tried to do that and put a FQN into the URL textbox, but that didn't work.

I know I'm missing the boat on this, but where's my blind spot? :-)

Thanks.

-- Michael

 

11/20/2008 7:46:13 AM
Gravatar
Total Posts 18439

Re: External pages in main menu?

Yes, thats right create a page, the page is what is listed in the menu so in this case its just a placeholder so we can link somewhere else, but if you put a fully qualified url with protocol like http://www.google.com it will work. I just created a child page below the home page on the demo site:

http://demo.mojoportal.com/home.aspx

If you visit the demo you'll see a child page in the menu beneath home that is a liknk to google.

After you create a page that links to an external site, you can still get to the page settings from Administration Menu > Add Edit Pages

click the page name and click the gears to get to page settings.

People may change the demo site so I hoope you look at it soon.

Hope it helps,

Joe

11/20/2008 8:48:12 AM
Gravatar
Total Posts 10

Re: External pages in main menu?

Thanks a million. Yes, it works like a charm. I wonder what I was doing earlier that made me think that didn't work?

Oh well. Likely something boneheaded. Isn't that the way it always is?

-- Michael

 

You must sign in to post in the forums. This thread is closed to new posts.