ODBiC Discussion Board


RE: File_is_dir, Snehal Desai, 06-24-2002

rather easy

by Louis van Eijk
June 25, 2002 07:53

Just use an IF

<%
IF $file_is_dir$; %>
    <a href="/dir.odb?path=$file_name$">$file_name$</a>
<%
ELSE; %>
    <a href="/another.odb">$file_name$</a>
<%
ENDIF; %>

I hope this works...



Replies:


Post Your Reply:

Name   
E-mail  optional
Topic  
Message:

HTTP Link: 
Link text: 


Copyright ©1997, Roger Harris. All rights reserved.