Help

Custom Student Alert

mrfcolon
New Member

Custom Student Alert

I am attmepting to make a custom student alert that if "no_photo_student" is checked (it's a custom field, which I also created an extension for located on a custom student screen named "Custom Alerts").

 

I have saved this code as "no_photo_student.html" under /alerts and /admin/alerts.

 

Any ideas why it won't work? I have asked AI and all and still no luck...

<div class="studentAlert" id="alert-NoPhoto~(studentfrn)">
~[if.~(no_photo_student)=1]
<img class="alertImage" src="/images/house.jpg" />
<div class="alertContent">
<p class="alertHeader">~(studentname)</p>
<p>Student DOES NOT have a photo release on file</p>
</div>
~[/if]
</div>

0 Replies