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 Pro
Nuke Pro
Posts:81

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:3325

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 Pro
Nuke Pro
Posts:81

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:3325

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

DNN Intranet Localhost by amine97
Hi, I would like to start an Intranet for my division (65 users) but only 10 users will have the ed...
RE: Menu's, menu's, and more menu's! by roadshow41
Well, I've purchased the Snapsis CSSMenu.  Installing it is turning out to be more complicated than ...
RE: Reversing Limited Access to the Admin Menu by wynnjon
OK-So I've updated the TABS table entries in the database and set the previously modified entries (t...
RE: localhost Install issues by leesykes
If you go to the subscribe page and click on the get free trial button - this takes you to a page wh...
localhost Install issues by cdees
I've set up a local host and want to run DNN for a local development machine.  The host is set up; h...
RE: Reversing Limited Access to the Admin Menu by wynnjon
That is what I thought.  So for my clients that will need to manage user accounts, I can not limit t...
RE: Reversing Limited Access to the Admin Menu by leesykes
I seem to recall it doesn't work
RE: Reversing Limited Access to the Admin Menu by wynnjon
Thanks Lee-  I will give that a try.An additional question- If you place the "User Accounts" page un...
RE: Reversing Limited Access to the Admin Menu by leesykes
all you need to do is reverse the process within the SQL tables.Compare the data to the other rows i...
RE: Module not working when logged off. by leesykes
thanks for the info,
Reversing Limited Access to the Admin Menu by wynnjon
Hi!  I followed the tutorial for limiting the access to the admin menu.  What a great thing!However,...
RE: Trouble installing! Designer trying to be a Developer. by leesykes
glad to hear you found a solution, thanks,
RE: Skim Question by leesykes
You could but you will not be able to have an XHTML compliant page as the SolpartMenu is non-complia...
RE: Include in Menu - Weird Request by leesykes
For your sitemap.xml file - use GSiteCrawlerYou could create the site map before moving the sub menu...
RE: Trouble installing! Designer trying to be a Developer. by awright14
It looks like I had ASP installed in the wrong order.  Copying and pasting this into the Run Command...
RE: Need Help Changing Containers Contentpane's Text Color by leesykes
Hello,Have you tried adding a class to the content area of your container and then styling the p, a,...
RE: Vertical SolpartMenu by leesykes
hello,If you wish to display the admin and host menus within the house menu, you need to enable it i...
RE: Firefox Does Not Display WMV File In Media Module by leesykes
Hello,I have just tested this and I can play a wmv file in Firefox 3.0.3, so it does suggest that it...
RE: advice wanted convert site to DNN while keeping existing asp functionality by leesykes
You could try using the IFrame module in DotNetNuke and then just link the IFrame to the current pag...
RE: Need Help Changing Containers Contentpane's Text Color by CROKeefe
Thanks for the quick update... I know it looks broken right now, but I had the TITLE classes working...
DotNetNuke Modules
RSS Feeds