Skip to main content
Inspiring
June 7, 2006
Answered

Display link in CFDIRECTORY

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 is closed to new replies. Start a new post to keep the conversation going.
    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:

    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:
    Translate