Hello,
I am wondering how to formulate the following:
I am using uploadify to upload files, and it works, but now in template i need the <% if $File %> as in If $File is uploaded then show sth, if not don't
how would you do it? Asking cause
<% if $Rezultati %>
<p>Rezultati izazova:</p>
<p> <a href="$Razultati.URL">Rezultati</a></p>
<% end_if %>
$Rezultati being the $File, doesn't work
EDIT:
Been trying with return file_exists($this->Rezultati); in some function but it doesn't work also, always returns bool(false) so I rly don't know how to check if there is a file uploaded or not.