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?
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
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
Hi Sune,
That's awesome!
Thanks a lot!
Grtz Sander
is working on a reply...