• Resolved ryeradio

    (@ryeradio)


    Is there a way I can manipulate the code so I can enter a second Target to this plugin? We have the main goal of 8 Million, but we have a groundbreaking goal of 5.3 million that we would like to show.

    The page I need help with: [log in to see the link]

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author rhewlif

    (@henryp)

    This idea of having multiple targets/categories is something I have been working on recently, and I will be releasing a major update to the plugin within the next week or so that will feature this new functionality.

    regards,
    Henry

    PS. on that link you provided you have the target and raised values mixed in the text below the thermometer.

    Plugin Author rhewlif

    (@henryp)

    Try the latest update of the plugin to set multiple target levels. Let me know if any problems.

    Cheers

    Thread Starter ryeradio

    (@ryeradio)

    Thank you for the update! I did add in a second target level, but all I got was a line..is it possible to have the dollar amount to the right of the thermometer like the first target level? https://aflbs.org/capital-campaign/

    Plugin Author rhewlif

    (@henryp)

    I did consider adding target amounts too, but it would require some thought on how to avoid these text labels eventually overlapping with the raised value and other target values (and generally not be confusing).

    If you use the line my suggestion would be to manually add a legend below in the sidebar to say what this first target is e.g.,:

    <div><svg height="10" width="50">
      <line x1="0" y1="5" x2="50" y2="5" style="stroke:#8a8a8a;stroke-width:2.5" />
    </svg>
    <span>First target: $5M</span></div>

    At the moment you can change how the target levels look on the thermometer on line 199 of the therm_svg.php plugin file.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Second Target’ is closed to new replies.