tripal / tripal_file

Manages site-wide files and associates them with content in a Tripal site.
1 stars 2 forks source link

URI tripal field on license page is not clickable by default #10

Open dsenalik opened 3 years ago

dsenalik commented 3 years ago

The URI on a license page is not a clickable link. This field is a textfield, and it can be made clickable by first going to tripal content types and set Text processing to Filtered text URI-field Then you have the option to set the text format to Full HTML (that happened automatically for me) URI-field2 and the link is automatically converted to be clickable.

So - I think this should be the default, but I'm not sure how that is done! Maybe in tripal_file.module:

$info['data__uri']['settings']['text_processing'] = '1';

but I'm not sure how to test that since I already have the module installed.

spficklin commented 3 years ago

Thanks for pointing this out. I think we can change the field type to make this work. We'll look into it.