Skip to main content
Inspiring
June 7, 2006
Answered

Display link in CFDIRECTORY

  • June 7, 2006
  • 1 reply
  • 304 views
ive never used this tag before, and what i am trying to do, i'm not sure of...
I would like to have the name of the file have a link around it, so you can click it and open the file... is this the best tag to use, or is there something better?


<cfdirectory action="list" directory="C:\inetpub\wwwroot\q\logos\currentRAW" name="logos" sort="Name">

<cftable query="logos" colheaders="yes" htmltable="Yes" border="Yes">
<cfcol header="<b>Name</b>" align="left" text="#Name#">
<cfcol header="<b>Size</b>" align="left" text="#Size#">
</cftable>
    This topic has been closed for replies.
    Correct answer
    I don't use CFTABLE, but reading the docs indicates the following should work for creating a link out of the variable Name:

    1 reply

    Correct answer
    June 7, 2006
    I don't use CFTABLE, but reading the docs indicates the following should work for creating a link out of the variable Name: