Powered by mojoPortal - Open in New Windows

This forum is only for questions or discussions about working with the mojoPortal source code in Visual Studio, obtaining the source code from the repository, developing custom features, etc. If your question is not along these lines this is not the right forum. Please try to post your question in the appropriate forum.

Please do not post questions about design, CSS, or skinning here. Use the Help With Skins Forum for those questions.

This forum is for discussing mojoPortal development

This forum is only for questions or discussions about working with the mojoPortal source code in Visual Studio, obtaining the source code from the repository, developing custom features, etc. If your question is not along these lines this is not the right forum. Please try to post your question in the appropriate forum.

You can monitor commits to the repository from this page. We also recommend developers to subscribe to email notifications in the developer forum as occasionally important things are announced.

Before posting questions here you might want to review the developer documentation.

Do not post questions about design, CSS, or skinning here. Use the Help With Skins Forum for those questions.
This thread is closed to new posts. You must sign in to post in the forums.
9/24/2010 9:51:08 AM
Gravatar
Total Posts 74

Powered by mojoPortal - Open in New Windows

How can I make the Poered by mojoPortal link at the bottom of layout.master open in a new window? Can i just add 'target=new' to the master page, or is there a control behind the scenes that needs to be edited?

Thanks,

Joe

9/24/2010 11:04:17 AM
Gravatar
Total Posts 2188

Re: Powered by mojoPortal - Open in New Windows

Hi Joe,

You can just replace the <portal:mojoPortalLink control with a regular link to mojoPortal with the "target=_new" option. The control only renders the PoweredBy text with a link to mojoPortal, so replacing it with a standard link will not cause any issues.

HTH,
Joe D.

9/25/2010 8:11:06 AM
Gravatar
Total Posts 18439

Re: Powered by mojoPortal - Open in New Windows

The only problem with the target attribute is that is is not valid in xhtml. An alternate way to do it is to replace the control with this markup:

<a href='http://www.mojoportal.com' onclick="window.open(this.href,'_blank');return false;">Powered by mojoPortal</a>

and of course you are also free to just remove it completely though we do appreciate it when people keep the link.

Best,

Joe

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