1

I'd like to customize the event registration email. When looking at the template, I see things like

{capture assign=headerStyle}
{capture assign=labelStyle }

I haven't been able to find information about what these lines do. I'm going to guess its adding generated markup. Could someone provide some guidance?

Or, if anyone could tell me where headerStyle and labelStyle is configured, maybe I could figure it out by looking at that.

Thanks for your help!

0

2 Answers 2

2

The answer:

These lines allow CiviCRM tokens to be available to Smarty functions. The headerStyle value is contained within the {capture} item.

Documentation found here:

1

I wonder if it's worth mentioning that you can use smarty comments like {* this *}. That way when you research you can update the templates with your findings.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.