Hi all,
In the custom form asset, there is an email option to "send to a friend". Is there anyway of sending the contents of the referring page instead of the URL? We want to capture the page at the moment the user views it.
Thanks.
[quote]Hi all,
In the custom form asset, there is an email option to "send to a friend". Is there anyway of sending the contents of the referring page instead of the URL? We want to capture the page at the moment the user views it.
Thanks.[/quote]
Are you meaning the entire page's HTML? Or just contents from an asset? What kind of asset is the referring page?
The referring page will probably just be a standard page with nested content or a remote content page. The remote content will just be white bread html, I just want the text and the images in the page to be included in the email.
Thanks for your help.
[quote]The referring page will probably just be a standard page with nested content or a remote content page. The remote content will just be white bread html, I just want the text and the images in the page to be included in the email.
Thanks for your help.[/quote]
Well, way that we grab content from pages and put them into custom forms is not using the referring asset keywords at all. For example, we have Faculty profiles, each of which is a user asset that contains a bunch of metadata as well as asset attributes. We use a user defined paint layout which has a nested custom form in it. Then, in the custom form, within the default for that field, we use globals keywords, which will pick up attributes of the current page that the custom form is painted over. So, we use %globals_asset_attribute_email% in the default for a field to grab the users email address and save it within the form. Example: http://www.puc.edu/academics/departments/communication/faculty/communications/jdchase clicking “Send email” will apply the user defined paint layout, which paints the custom form over the user asset.
So, you could potentially use this in the same way by using globals keywords and paint layouts with a nested custom form. The only problem I see here is how you are going to pick out only text and images that you want.