0

I have a Low Variable titled lv_accreditations to allow the client to select a series of logos to display in the site footer.

The variable is set to Enable Early Parsing and to output a comma seperated list.

However, i'm unsure how to actually display these in a template so that I can add additional tags around the outputted list. I'm using the following but i'm just not sure what to put in the src attribute and have the li created for image image in the Select Files field.

{exp:low_variables:pair var="lv_accreditations"}
<li><img src="" /></li>
{/exp:low_variables:pair}

Grateful for any assistance with this one. :)

1

Heh, after a bit more sweating here in blighty I managed to figure it out.

{exp:low_variables:parse var="lv_accreditations" multiple="yes"}
<a href="#"><img src="{lv_accreditations:data}" /></a>
{/exp:low_variables:parse}
| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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