You need to Register for free and Login to post a message in the forum.

Forum

Subject: E-mail Link in DNN 4.9.4
Prev Next
You are not authorized to post a reply.

Author Messages
ollep
DNN Creative Magazine Subscriber
Nuke Master
Nuke Master
Posts:100

01 Oct 2008 11:06 PM  

What is all this?

Is all these numbers necessary?

 

This bit of code is generated by DNN as a E-mail address link.

 

The big problem is that it opens a blank Browser window with only this string in it:

mailto:ersonName w:st="on">grapevinetours@hotmail.comersonName>?subject=Tour Request

 

It also open the Outlook window correctly with E-mail and subject.

How can I stop the change of browser window?

 

 

Email;  [script removed]Pat@GrapevineTours.com.au

 

Same in IE7, IE6 and Firefox.

 

 

Cheers

 

Olle….

leesykes
DNN Creative Staff
Nuke Master III
Nuke Master III
Posts:3426

02 Oct 2008 3:41 AM  
I just tested in 4.9 - are you in 4.9 or 4.8.4?

4.9 works ok.

In 4.9, I noticed that it is now using a JavaScript function for opening the e-mail client, this is to prevent spam bots from picking up your e-mail address, however if you wish to avoid this you can create a link which uses:

< a href="mailto:lee@lee.com?subject=test%20subject&body=test%20body" >the link < /a>

(remove the spaces around the tags)

Lee Sykes
Site Administrator
Subscribe to the website : DotNetNuke Video Tutorials : The Skinning Toolkit : DotNetNuke Podcasts

Twitter: www.twitter.com/leesykes

Lee Sykes's Facebook Profile
ollep
DNN Creative Magazine Subscriber
Nuke Master
Nuke Master
Posts:100

08 Oct 2008 8:56 PM  

Hi Lee

 

Yes the code you provided works fine – thanx – but I can see that it easily collected by the spiders and other spammer tools.
(It is 4.9 I’m playing with.)

 

But I forgot to paste the code in my first post, so here it is:

(Some "<" and ">" removed to prevent this editor to convert the code.)
 

Code generated through the Link creation in DNN / FCK editor.

“”””p style="text-align: center"a href="javascript:location.href='mailto:'+String.fromCharCode(112,97,116,64,115,101,113,103,114,97,112,101,118,105,110,101,116,111,117,114,115,46,99,111,109,46,97,117)+'?subject=From%20Grapevine%20Tours'">pat (a) seqgrapevinetours.com.au/a/p””””””

 

This was the “numbers” I was querying about.

 

Now I tested to just type in a complete – and correct – E-mail address, allowing DNN to automatically generate the “mailto – link – code”. It looks like this.

 

“””p align="center"a href="mailto:Greaves@elsieshightea2u.com">Greaves@elsieshightea2u.com/a/p


This code does not open an extra browser window.

 

So, creating a Mailto link in the editor creates the above strange code, and it opens an extra browser window when clicked.

 

The last code is generated automatically and works fine??

 

Why the different codes???

 

Cheers

 

Olle..

 

leesykes
DNN Creative Staff
Nuke Master III
Nuke Master III
Posts:3426

10 Oct 2008 10:32 AM  
not sure how to stop the extra window opening, all those codes are there so the spam bots can not read your email. Your other option is to enter your email direct and get picked up by spam bots but dont have the extra widow open.

Lee Sykes
Site Administrator
Subscribe to the website : DotNetNuke Video Tutorials : The Skinning Toolkit : DotNetNuke Podcasts

Twitter: www.twitter.com/leesykes

Lee Sykes's Facebook Profile
You are not authorized to post a reply.
Forums > Users Lounge > Everything Else > E-mail Link in DNN 4.9.4



ActiveForums 3.7

Latest Forum Posts

RE: DotNetNuke News 8th Dec 08 by jncraig
Yes, I'm getting an error, also. But ... you can probably get the podcast from this link: http...
RE: Can't Login! Login Page can't be accessed... by jncraig
This table is part of your DotNetNuke database.You might first want to review these tutorials to hel...
DotNetNuke News 8th Dec 08 by pwadding
When I attempt to download the  Podcast I get an error message. Tried both servers. The first few li...
RE: Can't Login! Login Page can't be accessed... by e-kreator
a database that you mean.
RE: DotNetNuke 4.9.1 and 5.0.0 by jncraig
Yes, lots of learning, lots of new things and new ways.  I played a little with Beta6 of DotNetNuke ...
RE: PDF File Content by jncraig
If you want to just serve up the PDF files as PDF files, upload them using the File Manager.  You ca...
RE: Navigating between modules by jncraig
What is the URL that is generated? To which page does it send you?
RE: New Logo cant display by jncraig
There is nothing wrong with this, provided that you did it correctly.  I would have to look at your ...
RE: Child portal to live site by jncraig
You should set DNS to point the URL to the IP address of the DotNetNuke installation.  Inside of the...
RE: PopUp Page by jncraig
To open a link in a new window, format the link this way:Link to us! It is the target="_blank" that...
RE: How to Change fckeditor alignment by jncraig
It might be easier to use a different skin for your administrative pages. There have been some ot...
RE: Can't Login! Login Page can't be accessed... by jncraig
If you have access to your database, look at the Portals table.  Make sure that LoginTabID is set to...
RE: Can't Login! Login Page can't be accessed... by e-kreator
Hello my problem is that the configuration management in login page page was sent to a Web page that...
RE: Create new 'host' user? by jncraig
You can change a regular user to a Host, by setting the "Host" user's IsSuperUser set to True in the...
Create new 'host' user? by jonathanbrickman0000
I have a DNN 4.7 web site successfully migrated to a new server.  There is only one hitch:  the 'hos...
RE: split copyrgt option in two lines by jncraig
You can put a in the copyright text. This may or may not put other text (to the right of the copyr...
RE: Can't Login! Login Page can't be accessed... by jncraig
Try: http://localhost/DNN/login.aspx http://localhost/DNN/?ctl=login If neither of those ge...
RE: HOw to upload site from localserver to www.mysite.com by jncraig
View this tutorial:How to transfer a localhost DotNetNuke installation to a live websitePay special ...
RE: Nightmare with SKINS... by jncraig
Before you get in too far, you might want to take a look at:An Introduction to the Principles of Dot...
RE: Nightmare with SKINS... by dougieladd
Hi Joe...thank you for that...I kind of assumed that was the case. As I understand it the skin comes...
DotNetNuke Modules
RSS Feeds