Forum

Thread tagged as: Question, Gallery

Conditionals in Gallery App

In my gallery template I have the following option

<perch:gallery id="gallerystatus" type="select" label="Gallery Status" 
options=",PUBLIC|public, PRIVATE|private" allowempty="false" required="true"/>

On my album page, I am trying to use:

<perch:if id="gallerystatus" match="eq" value="public">
Display some content here
</perch:if>

But doesn't seem to work. Do conditionals work on the Gallery App?

Richard Lowe

Richard Lowe 0 points

  • 4 years ago
Richard Lowe

Richard Lowe 0 points
Registered Developer

Yes, they do work. Sorry.