CiviCRM Community Forums (archive)

*

News:

Have a question about CiviCRM?
Get it answered quickly at the new
CiviCRM Stack Exchange Q+A site

This forum was archived on 25 November 2017. Learn more.
How to get involved.
What to do if you think you've found a bug.



  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using CiviEvent (Moderator: Yashodha Chaku) »
  • Adding a link to a system workflow message template
Pages: [1]

Author Topic: Adding a link to a system workflow message template  (Read 675 times)

Katy J

  • I post occasionally
  • **
  • Posts: 50
  • Karma: 4
    • Third Sector Design
Adding a link to a system workflow message template
October 22, 2010, 04:44:22 am
Hi  :)

I need to add a link to the email confirmation that people receive when they sign up to an event. It's a link to join the mailing list.
The format for the link I have (taken from an html newsletter) is: 'http://something.org/civicrm/mailing/subscribe?reset=1'.

I can't seem to find anywhere that explains the basic format of adding a link to both the 'text message format' and the 'html format'. I know some of it is written in Smarty but I can't find anything about how to write links in the basic syntax section of the site.

A clear explanation or a link to the right place would be very appreciated indeed :)

Thanks a lot,

Katy
Do what you love, it's your gift to the universe

Kiran Jagtap

  • Ask me questions
  • ****
  • Posts: 533
  • Karma: 51
Re: Adding a link to a system workflow message template
October 23, 2010, 04:04:10 am
update appropriate template

text section :

{capture assign=subscibeUrl}{crmURL p='civicrm/mailing/subscribe' q='reset=1' a=true h=0 fe=1}{/capture}
{ts}Click this link to go to a web page where you can subscibe : {/ts}{$subscibeUrl}

html section :

<tr><td>
{capture assign=subscibeUrl}{crmURL p='civicrm/mailing/subscribe' q='reset=1' a=true h=0 fe=1}{/capture}
<a href="{$subscibeUrl}">{ts}Click this link to go to a web page where you can suscribe{/ts}</a>
</tr></td>

hope this help

kiran
You Are Designed To Choose... Defined By Choice.

petednz

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4899
  • Karma: 193
    • Fuzion
  • CiviCRM version: 3.x - 4.x
  • CMS version: Drupal 6 and 7
Re: Adding a link to a system workflow message template
October 23, 2010, 12:51:53 pm
caution - the above has the word subscribe spelled as subscibe in various places so copying and pasting may not suffice - unless the incorrect spelling is actually correct code-wise which seems unlikely  :P
Sign up to StackExchange and get free expert advice: https://civicrm.org/blogs/colemanw/get-exclusive-access-free-expert-help

pete davis : www.fuzion.co.nz : connect + campaign + communicate

Kiran Jagtap

  • Ask me questions
  • ****
  • Posts: 533
  • Karma: 51
Re: Adding a link to a system workflow message template
October 24, 2010, 09:31:10 am
thanks peter for taking close look.

here corrected code would looks like :

text section :

{capture assign=subscribeUrl}{crmURL p='civicrm/mailing/subscribe' q='reset=1' a=true h=0 fe=1}{/capture}
{ts}Click this link to go to a web page where you can subscribe : {/ts}{$subscribeUrl}

html section :

<tr><td>
{capture assign=subscribeUrl}{crmURL p='civicrm/mailing/subscribe' q='reset=1' a=true h=0 fe=1}{/capture}
<a href="{$subscribeUrl}">{ts}Click this link to go to a web page where you can subscribe{/ts}</a>
</tr></td>

kiran
You Are Designed To Choose... Defined By Choice.

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using CiviEvent (Moderator: Yashodha Chaku) »
  • Adding a link to a system workflow message template

This forum was archived on 2017-11-26.