In This Article:

    Sort optional groups on signup pages

    In This Article:

      Optional groups are the way that supporters let you know what interest areas for which they would like to receive messages. Optional group are configured in the Supporter Info tab when you're editing a signup page.

      When Salsa displays these groups, they appear in the order that they were created in the database.

      If that order won't work for you, and you'd like to show optional groups in a different order, then read on!

      Get group names

      The first task is to get the list of group names so that you can put them into the correct order.  Here are some steps that you can use:

      1. Edit the signup page. Click here to learn more about signup pages.
      2. Click on the Supporter Info tab.

      1. Scroll down until you locate the optional groups selector.  The groups that you selected will look something like this:

      1. Record all of the optional group names.
      2. Put them into a single line the order that you want.
      3. Separate the groups with commas and (optionally) spaces.
      4. Save the list somewhere -- we'll use it later.

      Here's an example -- I'd like the "Owners" group to be just after "Vendors".

      Everyone, Vendors, Owners, Weekly Mule-O-Gram, Monthly Mule-O-Gram


      1. Edit the template used by your signup page.  Click here if you'd like to create a copy of a template to use just for this signup page.
      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 script lives.
      5. Click on the Raw button.  A new window will appear that contains just the script.
      6. Copy the contents of the window and close it.
      7. Return to the template editor.
      8. Paste the copied text into the newly inserted line in the template.
      9. Save the template.


      The last task is to replace the sample groups name list with your group names.  Here are some steps that you can use.

      1. Locate this text in the template.

      <div id="order-groups-names" style="display: none;">
      Everything, Vendors, Owners,Monthly Mule-O-Gram,Weekly Mule-O-Gram

      1. Observe that there are group names between the <div> and </div> tags.
      2. Replace  the current list of group names with your list.  Be careful not to change the <div> or </div> tags!
      3. Save the template.
      4. If you created a new template, then assign it to the signup page.  Click here to learn more about assigning templates to pages.
      5. Test!


      If you have any questions, then please gather this information

      • Your organization KEY
      • Your chapter KEY if you are in a chapter of another organization
      • The template_KEY for the modified template
      • The signup_page_KEY of a signup page that uses the template.  You can find this in the browser's address bar when you are editing the page.

      Send this information to, and we'll be glad to help.

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



      Please sign in to leave a comment.