Mambo forums
Forum Home Register Forum Rules FAQ Search Today's Posts Mark Forums Read

Go Back   Mambo CMS Forum > Mambo 4.6 Releases > General Mambo Questions
 

Using mailto tag

This is a discussion on Using mailto tag within the General Mambo Questions forums for Mambo.

Reply
 
Thread Tools
Old 19-12-2009, 11:08 PM   #1
willyam8
Mambo Fan
 
Join Date: Feb 2009
Posts: 73
Using mailto tag

I prefer to use a simple mailto tag rather than the Contact form, or even in addition to the Contact form.

However, after I created the page with "Send email" text and then created the standard html mailto tag, I checked to see if it was working properly. Clicking the link brought up the Outlook email box as is usually the case when Outlook is selected by the user as the default email application. In the TO: box, instead of the simple email address, appears the following:

<script type='text/javascript'> <!-- var prefix = 'ma' + 'il' + 'to'; var path = 'hr' + 'ef' + '='; var addy89306 = 'XXXXXX' + '@' + 'yahoo' + '.' + 'com'; document.write( '<a ' + path + '\'' + prefix + ':' + addy89306 + '\'>' ); document.write( addy89306 ); document.write( '<\/a>' ); //--> </script> <noscript> This email address is being protected from spam bots, you need Javascript enabled to view it</noscript>
I'm not sure if it is asking the visitor to enable Javascript on his browser. If so, I do have mine enabled. So I am wondering why would I get this message; and how does one get around it to be able to use the mailto link?
willyam8 is offline   Reply With Quote
Old 19-12-2009, 11:55 PM   #2
mamtom
Mambo Master
Forum Admin
 
Join Date: Jul 2008
Posts: 1,391
Re: Using mailto tag

Using a mailto link on your site is an invitation to spam. Good luck.
__________________
Tom
mamtom is offline   Reply With Quote
Old 21-12-2009, 10:29 PM   #3
willyam8
Mambo Fan
 
Join Date: Feb 2009
Posts: 73
Re: Using mailto tag

Mamtom,
OK, although I have never had any problem with that for the several years my site has been running, I am more than willing to take your advice to heart. But here is the problem I have with it. The form has information headings for the site owner to fill in such as street address, etc. I don't see any content item (of that "Contact Us" page) that can be edited. Where are we supposed to fill in this information. And also if I want to edit any of the other text on that page, such as to explain to a visitor why he is being forced to fill out a form instead of directly sending an email, I can't find a way to do this either -- not even in the edit CSS or edit html. Where would I find this stuff to edit it?
willyam8 is offline   Reply With Quote
Old 22-12-2009, 12:14 AM   #4
Elpie
Mambo Guru
Forum Admin
 
Elpie's Avatar
 
Join Date: Jul 2006
Location: New Zealand
Posts: 10,001
Re: Using mailto tag

To configure the Contact page, go to Components ->Contacts ->Manage.
You can adjust the parameters to suit your site there.


__________________
Mambo Tutorials on:http://lynnepope.net/topics/mambo-tutorials
Mambo wiki: http://mambo-manual.org/
Follow me: http://twitter.com/elpie
Elpie is offline   Reply With Quote
Old 22-12-2009, 01:19 AM   #5
willyam8
Mambo Fan
 
Join Date: Feb 2009
Posts: 73
Re: Using mailto tag

Ahhh,

OK Elpie; got it. I had seen that but had mistakenly thought it was only to manage groups of contacts or something of that nature. But examining it more closely, I was able to make all of the edits I was interested in for the Contact page. And it provides me a choice to show or hide an email address. That part I am considering further. But the choice is available.
willyam8 is offline   Reply With Quote
Old 22-12-2009, 02:21 AM   #6
Elpie
Mambo Guru
Forum Admin
 
Elpie's Avatar
 
Join Date: Jul 2006
Location: New Zealand
Posts: 10,001
Re: Using mailto tag

Cool - I'm glad thats worked out for you.

In future releases there will be some UI changes. Mambo is so configurable but sometimes the configuration options and parameters are not readily identified. It would be great if you would keep notes of everything you find counter-intuitive and maybe start a thread with a list of things you feel could be changed to improve the user experience.

Cheers
__________________
Mambo Tutorials on:http://lynnepope.net/topics/mambo-tutorials
Mambo wiki: http://mambo-manual.org/
Follow me: http://twitter.com/elpie
Elpie is offline   Reply With Quote
Old 22-12-2009, 10:46 PM   #7
willyam8
Mambo Fan
 
Join Date: Feb 2009
Posts: 73
Re: Using mailto tag

Ok, Thanks!

I will keep that in mind as something to put together in the new year after the rush of the Holidays. Time spent re-configuring the site is near the end, potentially freeing up some space to devote to that. Have a Merry one!!
willyam8 is offline   Reply With Quote
Reply

Bookmarks

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


New To Site? Need Help?

All times are GMT. The time now is 07:54 AM.

Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Mambo Foundation, Inc © 2000 - 2008 All rights reserved. Mambo is Free Software released under the GNU/GPL License.

Managed Servers by DedicatedNOW