I really like the "print" button (with all the formating options), which encourages users to make further use of my wiki's contents. Could we have a similar "email this page" function?
I'd like to give this request another try. I think it would be a very useful feature, and it would help spread the word on one's wiki (and, of course, on Wikidot as well). Can we make it a feature request?
Can we make it a feature request?
Do you mean you want it on the Community Wishlist?
Yes. Only admins can do it, right?
1.wishlist: category is allowed to create and edit only for "members" of the community - you never apllied to be a member? I will invite you to our site for membership. Sorrry, for any delay, you are long enough working here! :)
2. I am not sure if this will ve one of the "pro account" features coming - emailing to a contact list or all members of a site and such comfort…
Edit:
2.a: You are a member of the pro.wikidot.site - please enter a wish with your idea at this pont too! ( tis has more chances to get sooner)
3. AS I understand you - you need and wish only a button which creare a new mail -"form" in your mailing application - inserted with the "link" of the page as the content and an open "mail-to" adress … correct?
Regards
Helmut
Service is my success. My webtips:www.blender.org (Open source), Wikidot-Handbook.
Sie können fragen und mitwirken in der deutschsprachigen » User-Gemeinschaft für WikidotNutzer oder
im deutschen » Wikidot Handbuch ?
Thanks, Helmut! Per your kind invitation, I'm now a member of the community wiki, and I'll be adding this request to the community's wishlist soon (I'll also add it to the pro site's wishlist as well, as you suggest).
3. AS I understand you - you need and wish only a button which creare a new mail -"form" in your mailing application - inserted with the "link" of the page as the content and an open "mail-to" adress … correct?
Yes, you're correct. Hopefully, that should be a pretty simple thing to implement, right? I know that a similar resource is available through the browser's capabilities (file > send > page by email/link by email), but I believe a button (maybe similar to the "print" button, with formatting options) would be more efficient in getting the users to promote a site's contents.
Thank you again, Helmut and David, for your help.
I found a script online and tweaked it to see if I could get it to work. I uploaded the following to a test page as email_page.htm and tried to get this to work as an IFRAMEd page, but there is a permissions error (I would guess by design) when trying to get the url of the parent page.
email_page.htm
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>Untitled Document</title>
<script language="javascript">
function mailpage()
{
mail_str = "mailto:?subject=Check out this web page.";
mail_str += "&body=I thought you might be interested in this web page.";
mail_str += ". You can view it at, " + parent.location.href;
parent.location.href = mail_str;
}
</script>
</head>
<body>
<a href="javascript:mailpage()">Click here</a> to email this page to a friend.
</body>
</html>
Page Source
+ My Test Page
Let's see if an "email this page" script works...
[[iframe http://mywiki.wikidot.com/local--files/my_test_page/email_page.htm]]
If you change the parent.location.href to location.href it works, but the link that's created is for the IFRAMEd file (it's something like http://mywiki.wdfiles.com/local--files/my_test_page/email_page.htm), not the page link we're looking for.
If permissions could be relaxed just enough to read the parent.location.href variable, it might be easy to implement this. Or, maybe someone more clever with javascript knows a possible work-around to this!
This might also be useful if you only need it on a handful of pages. You could simply hard code the parent page's url and use it only on selected pages.
-Ed
Thanks for the attempt, Ed. Unfortunately, I'm unable to offer any suggestions, as I'm not familiar with javascript, but I hope someone else will help you come up with a solution.
Meanwhile, I've created a feature request:
http://community.wikidot.com/wishlist:email-page
For those of you who think this may be a useful and interesting feature, please rate it!
As i understand it….
Any stuff that calls for a look at the page that you actually want to refer to, wont work.
As you have noticed all stuff is put in "wdfiles, "
This is simply a "security" thing
So i would imagine that relaxing the perms to look at your page would be a no no. :-(
Put following code on one of your pages and try the click.. butof course you should change the http... to YOUR
page URL!
The code block is hidden and the iframed code call should be renamed if y<ou have more of them on the page…
Have a try!
reminder: as Ed has written - not every mail application likes links and not ever webmail can be called….
This page should test a mail (simple ) form with the code block 1:
(please - exchange the htt p adress with your page URL! )
++ Email button
[[collapsible show=" " hide=" "]]
[[code type="html]]
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>Untitled Document</title>
<script language="javascript">
function mailpage()
{
mail_str = "mailto:?subject=Check out this web page.";
mail_str += "&body=I thought you might be interested in this web page.";
mail_str += ". You can view it at, " + "http://helmuti-pdorf.wikidot.com/mail-test";
location.href = mail_str;
}
</script>
</head>
<body>
<a href="javascript:mailpage()">Click here</a> to email this page ("http://helmuti-pdorf.wikidot.com/mail-test")to a friend.
</body>
</html>
[[/code]]
[[/collapsible]]
[[iframe http://helmuti-pdorf.wikidot.com/mail-test/code/1 frameborder="0" scrolling="no" width="660px" height="50px"]]
Service is my success. My webtips:www.blender.org (Open source), Wikidot-Handbook.
Sie können fragen und mitwirken in der deutschsprachigen » User-Gemeinschaft für WikidotNutzer oder
im deutschen » Wikidot Handbuch ?