Default link prefix

This is the place to report bugs and get support. When posting in this forum, please always provide as much detail as possible.

Please do not report problems with a custom build or custom code in this forum. If you are producing your own build from the source code and have problems or questions, ask in the developer forum, do not report it as a bug.

This is the place to report bugs and get support

When posting in this forum, please try to provide as many relevant details as possible. Particularly the following:

  • What operating system were you running when the bug appeared?
  • What database platform is your site using?
  • What version of mojoPortal are you running?
  • What version of .NET do you use?
  • What steps are necessary to reproduce the issue? Compare expected results vs actual results.
Please do not report problems with a custom build or custom code in this forum. If you are producing your own build from the source code and have problems or questions, ask in the developer forum.
This thread is closed to new posts. You must sign in to post in the forums.
12/18/2006 3:45:05 AM
Gravatar
Total Posts 488

Default link prefix

In the links module if link is not started with http it becomes something like "http://localhost/mojoportal/Modules/mypage.aspx" (in my case).
It would be better to resolve such URLs from the site root.
12/18/2006 4:49:53 AM
Gravatar
Total Posts 18439

Re: Default link prefix

I'm thinking it might be better to enforce fully qualified links and maybe use a dropdown which defaults to http and has an option for https kind of like the FCKeditor has when you add a link. I thought also of using a RegularExpressionValidator but the dropdown would be more user friendly and make it clear to the user.

Joe
12/18/2006 4:52:57 AM
Gravatar
Total Posts 488

Re: Default link prefix

An option to use local links will also be very nice.

For example, I want to use this module to implement onsite quick links. It would be nice if they work both on development and production environment without any changes to the database.
12/18/2006 5:03:04 AM
Gravatar
Total Posts 18439

Re: Default link prefix

I can see the value in that, it could be another dropdown item that says "relative to site root ~/". It will be a little more work to implement but not much. I will probably wait until after I finish the profile work to do this though.

Joe
12/18/2006 7:32:34 AM
Gravatar
Total Posts 18439

Re: Default link prefix

I changed my mind and did this first since it was easy.
Its in svn branches/joesandbox2

Thanks,

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