Thanks - I'm able to populate the variable okay (I basically did a print statement to validate). It's adding it to the hyperlink tag that is the issue
I tried this but it does not work. I'm guessing there is an error with the part in
red. I must not be using the correct syntax.
Code:
<a class="addthis_button_pinterest"{if $piniturl} pi:pinit:url="{$piniturl}"{/if}{if $pinitmedia} pi:pinit:media="{$pinitmedia}"{/if} {if $pinitdesc} pi:pinit:description="{$pinitdesc}"{/if} pi:pinit:layout="horizontal"></a>