Prior to editing the source code, it is highly recommended to finalize all content and artwork on the landing page using the Branded Template feature.

Part One: Locate the Source Code
  1. Navigate to the Campaigns tab of the charity account: https://nfp.everydayhero.com/admin/us/sign-in.
  2. Click the desired campaign to reach the 'Overview' tab.
  3. Click the 'View' link located to the right of the 'Landing Page Link' field to view the completed Landing Page.
  4. Right click on the Landing Page and select "View Page Source/Source Code".
  5. Press Ctrl + A (Command + A for Macs) to select the entire page code.
  6. Press Ctrl + C (Command + C for Macs) to copy the entire page code.
  7. Navigate to the Campaigns>Landing Page tab of the charity account.
  8. Click the "Code Your Own" box.
  9. User-added image
  10. Paste the code copied in Step 6 into the "Custom HTML" field that appears.

Part Two: Edit the Source Code
  1. Locate the section of the code for the "Support A Friend" button.  The code will appear as:
    1. var donateButtonConfig = {
        kind: 'secondary',
        label: 'Support a Friend',
        onClick: function() {
  2. Below the 'Label', add "href:" followed by the desired link the button should redirect to.  The code will appear as:
    1. var registerButtonConfig = {
        kind: 'secondary',
        label: 'Support a Friend',
        href: 'YOUR LINK HERE',
        onClick: function() {
  3. Replace the "Support a Friend" button label with the desired words.  The code will appear as:
    1. var registerButtonConfig = {
        kind: 'secondary',
        label: 'YOUR TITLE HERE',
        href: 'YOUR LINK HERE',
        onClick: function() {
  4. The Support A Friend button is linked to a search widget that will need to be removed.  Locate and delete the following line of code:
    1. edh.widgets.showModal('PageSearch', {
            campaignUid: 'Your Campaign UID Number',
            pageType: 'user'
          });
  5. Click the "Preview Landing Page" button to view the changes. 
  6. Click the Save button at the bottom of the page to publish changes.