plainblack.com
Username Password
search
Bookmark and Share
Email a page to a friend  (#10969)
Issue

We could really use a way for unregistered users, visitors, to  email a specific unique page to someone else.


At the minute we are using a data form. It is set up so that users can email the URL of a page to a friend - once. It uses the ^env macro.

Unfortunately, users can only email one url to someone else. If they go to another page, they cannot send the url of the new page to someone.

If someone is logged in, then they can send the new page. I guess it is a refresh thing.

Ideally, people would be able to send the page title in an email and the title would be a link, containing the URL. 

It seems that most sites do this using Javascript. I wonder if we could use a data form to do this, or we should just abandon the data form and use Java script to make it work?

I do not want to create a separate asset to go on every page of the website. Ideally this is something that is an asset proxy in the style template of every page.

See www.masslegalhelp.org/any-page-except-home-page. The email a friend link is in the upperish right hand corner, next to Print.

Thanks,

Caroline

Solution Summary
Resolved by JT
Comments
dionak
0
9/11/2009 9:52 pm
Caroline,

As promised, I've attached the package I mentioned during the presentation about forms today. It's not 'production ready' but it has worked on www.ccacpineville.org, a non-profit that I volunteer for (pro-bono). It includes a recordId param for Thingy support. If you don't need this, just remove it from the snippet. It won't do any harm if it's left in.

I also have a README file in the package with the current documentation. Hope this helps you out. Let me know how it works out for you. I modified it to support the page title, as you had mentioned.

If this works for you, perhaps I'll add it to the bazaar.
dionak
0
9/11/2009 9:53 pm
By the way, the FormParam macro is required for this solution.
crobinson
0
9/12/2009 9:44 am
Diona,
Thanks so much for this I was writing the email to you, but then Timothy needed a laptop for his presentation so I loaned him mine without sending off the email to you.
I have just tried importing the package, but ended up with "Unable to extract package! The package may be corrupt, or there may be a server error preventing packages from being imported."

This may be because we are still running on 7.6.15.
About to ask PB to upgrade us to latest stable...
I will definitely get back to you when I get any further.
thanks again,
Caroline
preaction
0
9/14/2009 10:46 am
If you rename the file to be ".wgpkg" instead of ".wpkg", it works.
dionak
0
9/14/2009 11:50 am
Thanks Doug. I've fixed the typo in the latest attachment.
JT
0
9/22/2009 11:23 am
So then, should this RFE be closed?
crobinson
0
9/22/2009 12:26 pm
I have not yet had a chance to try out Diona's solution. I suspect the RFE can be closed cause I have had a look at where she uses it and it seems to do the trick.
we can always reopen or post anew if it isn't doesn't exactly work the way I would like and we can't figure out how to make it work.
I guess so yes consider closed/resolved for now.
Thanks
JT
0
9/23/2009 3:39 pm
Resolved by JT
dionak
0
2/2/2010 5:28 pm
The solution I created seems to have an issue due to the PageTitle macro returning a href instead of the PageTitle in Admin mode. This breaks the link markup. In addition, Caroline is seeing what I believe is a caching issue after turning admin on. The broken HTML turns up on the page even if the snippet cache is turned to 0.

Would this make a good core feature? It is a common feature on many web sites.
dionak
0
2/2/2010 5:29 pm
I'm creating a new RFE
Details
Ticket Status Resolved  
Rating0.0 
Submitted By crobinson  
Date Submitted2009-09-11 
Assigned To unassigned  
Date Assigned 2019-05-22  
Assigned By  
What to improve? WebGUI 7 Stable  
URLrfe/request-for-enhancement/10969
Karma
Difficulty 1  
Karma So Far0
Karma Rank0.00
Keywords
Related Files
Ticket History
2/2/2010
11:42 PM
Resolved dionak
2/2/2010
11:29 PM
Pending dionak
2/2/2010
11:29 PM
Resolved dionak
2/2/2010
11:28 PM
Pending dionak
2/2/2010
11:25 PM
Feedback Requested dionak
9/23/2009
8:39 PM
Resolved JT
9/22/2009
5:26 PM
Pending crobinson
9/22/2009
4:23 PM
Feedback Requested JT
9/11/2009
2:53 PM
Ticket created crobinson
© 2019 Plain Black Corporation | All Rights Reserved