From: Manoj K Date: Wed, 29 Oct 2014 12:10:30 +0000 (+0530) Subject: #29801 - Fix for broken Newsletter signup form action url. X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=799ffc5a59b8748d9f86fa4273b5b0510d596102;hp=9095b105488cf3ffe3b928fe21422d656985bc41;p=com.zyxware.civiwci.git #29801 - Fix for broken Newsletter signup form action url. --- diff --git a/extern/wciwidget.php b/extern/wciwidget.php index d868228..8516126 100644 --- a/extern/wciwidget.php +++ b/extern/wciwidget.php @@ -56,6 +56,9 @@ if (isset($format)) { $template->assign('wciform', $data); $template->assign('cpageId', $data['button_link_to']); + if(!empty($data['email_signup_group_id'])) { + $template->assign('emailSignupGroupFormURL', getEmailSignupFormUrl()); + } if ($data["override"] == '0') { $template->template_dir[] = getWciWidgetTemplatePath(); diff --git a/templates/CRM/Wci/Form/CreateWidget.tpl b/templates/CRM/Wci/Form/CreateWidget.tpl index d43f6de..c91646c 100644 --- a/templates/CRM/Wci/Form/CreateWidget.tpl +++ b/templates/CRM/Wci/Form/CreateWidget.tpl @@ -38,7 +38,9 @@
{literal} -