Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Sander van de Pas 74 posts 147 karma points
    May 29, 2013 @ 16:54
    Sander van de Pas
    0

    Get filename from database and show it as hyperlink on details popup

    Hello,

    I'm using Dewd which is a fantastic package but I need a special functionality.

    On the detail popup I got some items from my database table. I have a column in that table with the filename of a file.
    I want to show that filename with his path as a link on the details popup.

    I can get the filename, but how can I show it as a link?

    Thanx!

    Grtz
    Sander

  • Sune Bøegh 64 posts 374 karma points
    May 30, 2013 @ 13:30
    Sune Bøegh
    100

    Hi Sander,

    You should be able to do it be specifying your own html-template like this:

      <column type="Details" field="Category,User,Time,Details"><![CDATA[
        <h2 style='margin-top:0px'>Details</h2>
        <h3 style='margin-bottom:0px'>Field 1:</h3>
        {0}
        <h3 style='margin-bottom:0px'>Field 2:</h3>
        <a href='{1}'>{1}</a>
      ]]></column>
     
    Hope that makes sense.

    - Sune 

     

     

  • Sander van de Pas 74 posts 147 karma points
    May 30, 2013 @ 15:56
    Sander van de Pas
    0

    Hi Sune,

    That's awesome!
    Thanks a lot!

     

    Grtz Sander

  • This forum is in read-only mode while we transition to the new forum.

    You can continue this topic on the new forum by tapping the "Continue discussion" link below.

Please Sign in or register to post replies