Yep, its as stupid as it sounds.
I built this intricate website using matrix, playa and mx:calculator and now I need help adding #‘s LOL
{players}
{game_data search:game_matrix="{parent:url_title}”}
{exp:mx_calc expression='sum( ({f_g_m} *2), ({t_p_m} * 3), {f_t_m} )’}
{/game_data}
{/players}
this little bit of code is from the games channel, it pulls in (via playa) the 2 teams participating in the games, and again via playa the players participating in the teams. The player scores are matrix based.
so {players} is playa
and {game_data} is matrix
I isolated the scores by the game per player ...
and used mx calculator to take the # of free throws add it to nunber of 3pointer x3 and field goals x2 to get the final score for each player for that game…
lets say my results are 23 34 31 45
NOW HOW DO I ADD THEM UP TO GET THE GAMES SCORE! ARG lol
I can’t {exp:mx_calc expression=’ the whole thing, and I don’t know JS well enough to write a formula. Help please.
:D <<< DUUUR