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

HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...Why does FTB change my links?Why does FTB change my links?
Previous
 
Next
New Post
4/23/2006 5:19 AM
 

There is an editor out there that specifically advertises having the ability to use absolute urls (the link's on my other computer - I'll try to remember to post it) as a web.config setting. We've considered purchasing it but a license was around $400. We've already purchased Telerik for Mac compliance, so we're not anxious to spend more money yet.

For us it's only an issue when it comes to sending out newsletters. The text editor re-writes any local urls (that point to pages on your website) and leaves non-local urls unchanged. So if you send out a newsletter with a link back to a page on your site, the link doesn't work for the email recipient. It also messes up any images in the newsletter you send out.

Again - out short term fix to this is to switch over to the html view before clicking send and strip out all the wwws.

The flip side is that it frequently saves our bacon with it's behavior on the rest of the site. I usally set up my clients on a dummy url (clientname.dallasnewmedia.com or whatever) and they can build away without issue when it comes time to go live with the actual domain name.

I've also had plenty of clients come back after the fact and say "we want this url to do this too" and the sites roll with it really well (non of ours are the corporate intranet IP style Nina was referrinig to).

So if I had my say I would leave it at least close to the way it is for everything except the newsletter (which is somewhat non-functional with the current behavior).

Nina - if you're reading this... some suggestions for the core.
 
- break the newsletter function out into a project/module so that non-admins on a site can be given rights to send out bulk mail
- In that new project give DNN a true can-spam compliant "click here to unsubscribe"
- Solve the relative url issue (maybe a server side re-write) on just the bulk mail module
- Give it some constant-contact style features like email tracking, html templates, and tokens for usernames and properties

DNN has a great tradition now of "dogfooding" the portal. The one thing we don't dogfood is the bulk mail tool. I think it would be awesome if that became a goal in the future. This is an amazing community portal without solid bulk mailer functionality. 

Just friendly suggestions - no harsh criticism intended. As always, thanks to the team for an amazing product.


Will Ballard
Ingen Systems
 
New Post
7/14/2006 1:39 PM
 

FreeTextbox actually exposes a public property called RemoveServerNameFromUrls. The default is True so FTB's default behavior is to turn all your local HREF and SRC attributes into relative URLs. If you set this property to false FTB won't mess up your URLs.

The DNN FTB provider does not pass this property down, so you cannot simply add the property to your ASCX file that declares the Editor.

One solution is to create your own FTB provider and set these properties as you need. FTB has a great deal of overlooked functionality that is quite powerful. Unfortuantely, the only way I was able to learn these capabilities was to license the FTB Source and read it carefully. If you are sure you want this feature enabled globally you can modify the DNN FTB provider to include

cntlFtb.RemoveServerNameFromUrls = False

in the Initialize method.

 

The FTB docs simply have the following info on this property.

FreeTextBox.RemoveServerNameFromUrls Property

Gets or sets whether or not to strip out the local server name from all A and IMG tags

public bool RemoveServerNameFromUrls {get; set;}

WildVoice.com Michael Levy - Are you ready to be heard? WildVoice.com
 
New Post
7/14/2006 5:18 PM
 

Thank you so much for posting this. Now all we need to do is expose this property in the provider and then pass in the value on the FreeTextBox  instance on the bulk mailer tool - then all will be well (almost...).

Thanks again.


Will Ballard
Ingen Systems
 
New Post
7/14/2006 5:33 PM
 

I think that will work. I had a similar situation and I know in my Html Provider I set that property to false. But, my needs were different, and I wrote that code months ago so I barely remember it now....

Good luck.


WildVoice.com Michael Levy - Are you ready to be heard? WildVoice.com
 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...Why does FTB change my links?Why does FTB change my 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