View Single Post
Old Yesterday, 04:53 AM   #8
chaley
Grand Sorcerer
chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.
 
Posts: 12,522
Karma: 8065528
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
One way to do what the OP seems to want is to use a custom tooltip, assigning a shortcut to the "Show item tooltip in a dialog" command.

Example:
  • Create a "long text" custom column.
    Click image for larger version

Name:	Clipboard01.jpg
Views:	9
Size:	47.7 KB
ID:	218302
  • Set it to show plain text.
  • Define a custom tooltip for the column. The template is this:
    Code:
    program:
    	f_string('<a href="{globals(original_text)}">link to {globals(original_text)}</a>')

To use it,
  • Edit a cell in the column either on the book list or in edit metadata, putting the desired link in the column. In this example I'm using a link to baen.com. It will look something like this:
    Click image for larger version

Name:	Clipboard04.jpg
Views:	8
Size:	6.2 KB
ID:	218304
  • Click on the cell.
  • Use the shortcut you defined to open the tooltip dialog. You will see something like this:
    Click image for larger version

Name:	Clipboard03.jpg
Views:	8
Size:	11.2 KB
ID:	218303
  • Click the link.
If you want to be able to use the link in book details then use a standard long text column containing HTML. Put the link in that. Have the tooltip display the HTML from the column without change because it will already be a URL. Using this technique you can put multiple URLs in the cell. Each will be clickable in the tooltip dialog.

Last edited by chaley; Yesterday at 04:57 AM. Reason: More info about using a standard long text column
chaley is offline   Reply With Quote