In This Article:

    Add a fancy current date to your autoresponse

    In This Article:

      How would you like to have a useful version of the current date appear in autoresponses?  Not the Salsa standard version 

      2017-06-12 13:45:02

      But something nice

      June 12, 2017

      Like that? Read on!

      Solution

      The solution is to add a script to your template(s) that will add an alternative version of the current date to your pages.  Then you add one line to any page that needs the pretty version of the date in an autoresponse. 

      Install in a template

      The first step is to install the solution into a template.  Here are some steps that you can use.

      1. Edit the template.
      2. Use the browser's search tool to locate the </body> tag.
      3. Insert a blank line just before the </body> tag.
      4. Click here to see the page where the solution lives.
      5. Locate and click the "Raw" button.  A new window will appear with just the solution.  Copy the contents of the window and close it.
      6. Return to the template editor.
      7. Paste the copied text into the newly inserted line in the template.
      8. Save the template.

      Configure a page

      The script that we just installed looks for an HTML tag in any page that the template uses.  If the HTML tag is in the page, then the script stores the fancy date in the HTML tag.  

      Here is the HTML that the script is looking for:

      <div id="put-alt-current-date-here"></div>

      That HTML needs to be pasted into your page.  Copy the line of HTML, then use this table to determine the field that needs to hold the HTML.

      Page type Click this tab Locate this field
      Donation page Optional Text Pre Submit Footer
      Signup page Other Text Content before the Submit button
      Petition Description Footer
      Blind Targeted Action Description Footer
      Petition Description Footer
      Targeted Action (Not applicable)
      Events (Not applicable)

      Installation steps

      1. If there is a "Source" button on the field, then click that.
      2. Scroll down past the other contents in the field.
      3. Paste the copied HTML
      4. Save your work.

      Use in the Autoresponse

      You can add the fancy current date into the autoresponse  as a merge field.  The merge field name is "alt_current_date".

      2017-06-16_1746.png

      A donor will see an email that looks like this:

      2017-06-16_1750.png

      Questions?

      If you have any questions, then please gather this information.

      Send this information to support@salsalabs.com, and we'll be glad to help.

      Was this article helpful?
      0 out of 0 found this helpful
      Have more questions? Submit a request

      Comments

      0 comments

      Please sign in to leave a comment.