I am almost finished getting this darn thing ready for prime time.
I need some help regarding putting in a EMAIL THIS ARTICLE link into the findmore plugin.
All it has to do is when clicked, bring up the users email program with the link to the article in the body. My confusion is how to write the code so it prints the url to each individual article.
Thanx...
RJ
findmore plug in help
-
garvinhicking
- Core Developer
- Posts: 30022
- Joined: Tue Sep 16, 2003 9:45 pm
- Location: Cologne, Germany
- Contact:
Re: findmore plug in help
Hi!
or something like that? 
Regards,
Garvin
Code: Select all
<a href="mailto:blabla@bloblbub.com?subject={$entry.title|@escape:url}&body={$entry.link|@escape:url}">
Regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
Email program comes up and I want everything blank other than in the body the URL of the article.
This is what I am trying, and failing at
<a href="mailto:?subject={$entry.title|@escape:url}&body={$entry.link|@escape:url}"> <img src="{$entrydata.path}email.gif" width="14" height="14" border="0"/> Email Article</a>
It looks good though!
It brings up the mail program but doesn't put the link to the article in the body.
This is what I am trying, and failing at
<a href="mailto:?subject={$entry.title|@escape:url}&body={$entry.link|@escape:url}"> <img src="{$entrydata.path}email.gif" width="14" height="14" border="0"/> Email Article</a>
It looks good though!
It brings up the mail program but doesn't put the link to the article in the body.
Hmmm... could be that the entry link is empty, or that there's a problem with the formatting. (I thought the recipient address was required.) Try this, and tell me what it does:
Code: Select all
<a href="mailto:?body={$entry.link|@escape:url|default:'A Blog Entry'}&subject={$entry.title|@escape:url}"> <img src="{$entrydata.path}email.gif" width="14" height="14" border="0"/> Email Article</a>
Consider me stupid! 
Remember, all I want is the email program to come up with ONLY the link to the article in the body. Subject, To From do not matter.
Here is what I have that doesnt work:
<a href="mailto:?body={$entry.link|@escape:url|default:'A Blog Entry'}&subject={$entry.title|@escape:url}"> <img src="{$entrydata.path}email.gif" width="14" height="14" border="0"/> Email Article</a>
Here is your correction:
$entrydata.url
Could you please put it in where it belongs for me cuz Im
to stupid to do it myself?
RJ
Remember, all I want is the email program to come up with ONLY the link to the article in the body. Subject, To From do not matter.
Here is what I have that doesnt work:
<a href="mailto:?body={$entry.link|@escape:url|default:'A Blog Entry'}&subject={$entry.title|@escape:url}"> <img src="{$entrydata.path}email.gif" width="14" height="14" border="0"/> Email Article</a>
Here is your correction:
$entrydata.url
Could you please put it in where it belongs for me cuz Im
to stupid to do it myself?
RJ
You're not stupid. You've gotten this far, haven't you?
I said,
I said,
So here's what I think you need:I think what you're looking for is $entrydata.url instead of $entry.link.
Code: Select all
<a href="mailto:?body={$entrydata.url|@escape:url|default:'No Link!'}&subject={$entry.title|@escape:url}"> <img src="{$entrydata.path}email.gif" width="14" height="14" border="0"/> Email Article</a>