-
Couldn't load subscription status.
- Fork 1
Acknowledgment Widget
#Intro Start with the default template for the acknowledgment widget located Here
#Details The template has one section. The first thing you See is a liquid Logic statement checking if the Acknowledgement Widget is enabled within the Campaign. campaign.enable_acknowledgment_in_template will return true if the "Enable Acknowledgement" Under Campaign / Homepage in the Crowd Fiber Admin Area
{% if campaign.enable_acknowledgment_in_template == true %}
Next is the layout of the image and text in the Default configuration. The Widget is contained within a "4" grid using Bootstraps Grid System We are creating a second Grid and Centering the widget using a "1" and a "10" grid.
<div class="row">
<div class="col-md-1"></div>
<div class="col-md-10 text-center">
<img alt="Acknowledgment Image" src="{{campaign.acknowledgment_image_template}}">
<br>
{{campaign.acknowledgment_text}}
</div>
</div>
The Variables in this widget are as follows:
- campaign.enable_acknowledgment_in_template returns a True or False Based on the Checkbox "Enable Acknowledgement"
- campaign.acknowledgment_image_template returns the image url from the image uploaded within the Crowd Fiber Admin Area
- campaign.acknowledgment_text returns the text string in the Crowd Fiber Admin Area.
