My Community
YourCause®
Impact Edge™
All-Star Lounge
Member Lounge (Just for Fun)
Community News
Community Manager
Groups
Browse Categories
Members
Community All-Stars
Monthly Challenges
Member Search
Jobs Board
Help
Using the Blackbaud Community
Blackbaud Support
Knowledgebase
Blackbaud University
Discussions
Categories
Groups
Home
Blackbaud Luminate Online® and Blackbaud TeamRaiser®
Blackbaud Luminate Online® & Blackbaud TeamRaiser® Discussions
Adding together S42?
JD Piland
Hello there,
We've been doing DIY fundraisers in TeamRaiser for a few years, and have a bit of social proof on the landing page. We thought we had some accurate numbers, but with the latest update (we clone the previous year TR and then if users want to continue, they can re-register), those numbers are off.
Here's what those numbers are showing right now -----
186
fundraisers for the animals • $
58,742
raised to help save lives
Both the 186 (
num-participant
) and the (
dollars
) are from the previous event (
s42:1460
). They should be a sum from year to year -- in our case 266 fundraisers and $114,557. Or so we thought.
So, I'm here wondering if adding together s42 values is even possible. I'm guessing something is missing below, but I'm really not sure. I'm not even sure why it's retaining 1460 as opposed to one of the other event numbers.
This is how it appears in our code (I don't remember who created this, but I updated to include
s42:1500
). Thanks in advance for any advice!
<!--
x precedes S42 and is removed by E130 replaceall in order to support troubleshooting -
view live source code to find x x$0123 - the 0123 will be dynamic amounts but the x x
indicates which event is unpublished (count x's to locate the corresponding S42
[[U1:allpeeps=[[E130:"x[[S42:1300:num-participants]] x[[S42:1460:num-participants]] x[[S42:1500:num-participants]]"]]]]
***
[[U1:allpeeps=[[E130:[[S80:allpeeps]] + ]]]]
-->
<div class="left">[[E130:[[S80:allpeeps]]]] fundraisers for the animals</div>
<div class="divider">•</div>
<!--
x precedes S42 and is removed by E130 replaceall in order to support troubleshooting -
view live source code to find x x$0123 - the 0123 will be dynamic amounts but the x x
indicates which event is unpublished (count x's to locate the corresponding S42
[[U1:allfunds=[[E130:"x[[S42:1300:dollars]] x[[S42:1460:dollars]] x[[S42:1500:dollars]]" "x$" "" replaceall]]]]
***
[[U1:allfunds=[[E130:[[S80:allfunds]] + ]]]]
-->
<div class="right">[[E130:[[S80:allfunds]] int currency ".00" "" replaceall]] raised to help save lives</div>
Find more posts tagged with
LuminateOnline
Comments
Jonathan Cass
It looks like the code you're using can be simplified.
You can use this for dollars raised:
[[E130: [[S42:1300:dollars]] [[S42:1460:dollars]] [[S42:1500:dollars]] + + currency]]
And this for participants:
[[E130: [[S42:1300:num-participants]] [[S42:1460:num-participants]] [[S42:1500:num-participants]] + + ]]
Each year when you add a new TeamRaiser, just add a new S42 tag inside the E130 tag and an extra + sign.
JD Piland
Thanks, Jonathan! I'll give this a try.
To clarify, though, would these replace the U1 and S80 tags? Or just replacing the S80 here, respectively: [[U1:allpeeps=[[E130:[[S80:allpeeps]] + ]]]]
JD Piland
Never mind, Jonathan. I got it! Thanks again!
Quick Links
All Categories
Recent Posts
Activity
Unanswered
Groups
Help
Best Of