Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeGetting StartedGetting StartedNew to DNN Plat...New to DNN Plat...WhatWhat's the best way to manage page-links?
Previous
 
Next
New Post
11/30/2011 3:37 AM
 

Like probably 99% of all existing websites, I have quite a few HTML-modules in my website in which I link to another page of the site.
My question is, what's the best way to create this link? Regaring for instance the following issues:
- When I copy or export the website to a production server, I don't want all links to be broken. I've experienced this problem when there's a different set-up for the URL.
- I've created a bilangual website, but for now will only display one of the two languages. When I deactivated the second language, all links were broken because the language-tag was no longer in the URL.
- I have HTML-modules that are placed on different pages in my website, on different levels in the menu. So it's not possible to use pure relative links, as they won't work on all pages.

I thought that using the Rich text editor created links that were automatically changed along a change in the URL, but that' seems the case. So I wonder what would be the best way to manage page-links.

My guess is that I must use relative links for all links that are only placed once in the site. For links that are on multiple pages (so that I can't use relative links), best thing to do is work with replace tokens and use [Portal:URL].

Is that right? I'm actually hoping there's a better, consistent way to do this:)

 
New Post
11/30/2011 4:00 AM
 
I suggest using CKEditor Provider (download for free from dnnckeditor.codeplex.com), which allows you to specify for each link, whether to insert it relatively, absolute or using LinkClick.

Cheers from Germany,
Sebastian Leupold

dnnWerk - The DotNetNuke Experts   German Spoken DotNetNuke User Group

Speed up your DNN Websites with TurboDNN
 
New Post
11/30/2011 4:36 AM
 
That sounds like a nice and usefull tool, but still I'd like to know when to use what kind of links. Am I right with my assumption or are there better ways?

And to add another issue:
- When I change the name of the page I'm linking to, I'd like the link to "adjust" to the right name. Or is this impossible?
 
New Post
11/30/2011 8:12 AM
 
Linkclick.aspx links will not care about page names and paths, while absolute and relative paths do.

Cheers from Germany,
Sebastian Leupold

dnnWerk - The DotNetNuke Experts   German Spoken DotNetNuke User Group

Speed up your DNN Websites with TurboDNN
 
New Post
11/30/2011 8:35 AM
 
Sorry to ask, but what's linkclick?
 
Previous
 
Next
HomeHomeGetting StartedGetting StartedNew to DNN Plat...New to DNN Plat...WhatWhat's the best way to manage page-links?


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out