I need to build clickable links from the content of my field, in the table view.
Example:
1) Table view of table X
2) The field 'mynumber' contains a text string (for example '156241')
3) Instead of simply displaying '156241' in my column i would like to make that number into a clickable link like this :
<a href="http://www.mysite.com/documentation/156241.pdf" target="_blank">156241</a>
I suppose I could do something like this ( with proper escaping of the quotes ):
echo "<a href="http://www.mysite.com/documentation/" . mynumber . " target="_blank">" . mynumber . "</a>";
4) But where do I add this code?
Thanks for all help!
Make link in table view
Re: Make link in table view
Found the solution, so this topic can be closed.
Answer to #4 above is to edit the file \templates\x_template_TV.html
Answer to #4 above is to edit the file \templates\x_template_TV.html
Re: Make link in table view
Hi Guys
i like to do something identical, but actually it is not working
i try to add a link to my file "lashow_templateDV.html"
the output i get is just...
" File "";
does anybody have any hint for me?
thx!
i like to do something identical, but actually it is not working
i try to add a link to my file "lashow_templateDV.html"
Code: Select all
<div class="form-control-static" id="file"><?php echo "<a href="http://mywebserver2/" . auftrag . " target="_blank">" File "</a>"; </div>
" File "";
does anybody have any hint for me?
thx!