Home  Extras  MODx Add-Ons  SendToaFriend

Product:

SendToaFriend



Forums Support Thread Votes: 55
Tags: Email, Forms, snippet, links, popup window, chunk, site template
Submitted: Sep 8, 2006
Released: Sep 8, 2006
Downloads: 2562
License: GPL - GNU Public
Package Website


SendToaFriend 0.2 | Author: laurentc

Works with the following Version(s): 0.9.2 | 0.9.2.1

Add a "Send to a friend" link and form popup


Download


Description

need the AddpopupLink snippet (included in the pack)

Instructions


* Create a new snippet named "Sendtoafriend"
* Copy/Paste the code of the Sendtoafriend_0.2.txt file in it
* Create a new snippet named "AddpopupLink"
* Copy/Paste the code of the AddpopupLink_1.0.txt file in it
* Create a new template name "pop" and copy/paste the code of the poptpl.txt file
* Create a new chunk name "STFform" and copy/paste the code of the STFform_chunk.txt file
* Create a new chunk name "STFemail" and copy/paste the code of the STFemail_chunk.txt file (use a erreurForm style for test errors)
* Create a new chunk name "STFemailOK" and copy/paste the code of the STFemailOK_chunk.txt file
* Create a new page and insert the Sendtoafriend snippet inside (uncheck the "in menu" option) //It's the form page
* Insert the AddpopupLink snippet in the pages you want with the id of the page who content the Sendtoafriend snippet for parameter &destpageidAPL
* AddpopupLink exemple use :
*
* Parameters :
* &tpl : form chunk name
* &gab : email html template name (see STFemail.txt)
* &object : email object
* use one of this 2 parameters :
* &emailok : after send chunk name (use this parameter
* &pagenext : after send page id redirection

* Exemples of use :
See snippet instruction in the file




Sub-Packages



Previous Releases



Comments

Please login to comment.

Close ]


 
 
 

Contact Us | Advertise | Team Blog | FAQ | Credits

© 2005-2009 the MODx CMS project. All rights reserved. Privacy Policy | Terms of Service