Submitted by Tom on 2010/04/13 08:58
 
Idea is:-
 
ability to create a link to / for the selected item via the context menu & add it to the clipboard -
then I can simply go elsewhere and paste the link
 
e.g. for this item:-
ID = 7569  
Item field text = Sagelight Editor - Receipt - PayPal
 
that would be <a href=7569>Link</a>
 
even better would be if it included, say, the first 30 characters from the Item field
<a href=7569>Sagelight Editor - Receipt </a>
 
 
 
hope that's clear (and not requested before?!)
 

Comments

Excellent idea !
 
If you put it in Mantis, I'll work on it ASAP
 

Tom

2010/04/13 10:11

In reply to by Pierre_Admin

I'm chuffed !
(this one would actually be very helpful to me)
 
Mantis 937
 
Pierre,
if you are able to use the item text in the link, I guess ideally any html code would be stripped out - aesthetically I wouldnt care but could it be problematic if the item text includes another link
e.g. this file link
CO151-044  which is actually: <a href="[FileFullName]">CO151-044</a>
 
if I make a link using the Mantis url and 30 characters of the actual text there, the url gets stripped out:-
 
instead of <a href="http://mantis.sqlnotes.net/view.php?id=937"><a href="[FileFullName]">CO151</a>
it becomes (here at any rate) <a href="[FileFullName]">CO151</a>
i.e. as said above, the url gets stripped out
 
so,
that text would break the link, as opposed to the same link with different text:
 

Tom

2010/04/14 05:50

In reply to by Tom

if adding item text is unfeasible, I guess the next best would be to show the item's ID number
e.g.
 
<a href=7712>7712</a>  
i.e.  
 

[quote] from the other thread:
First
I want to link ItemA to ItemB. I want this link to show in a blank field (Comments as it happens)
- I want the ItemA text to show as a link in the Comments field of ItemB
 
Request is that somehow this could be made easier - e.g a drop down option in hyperlink text to use the Item text of the linked item
 
 
Second
This is currently complicated for me by the fact that ItemA is already linked to a file (showing the file name) - if I copy/paste the Item text I get the <a href=[FileFullName]>XYZ.doc</a> which is a link in itself.
 
So I guess this is also a request that I could copy (manually or as requested above) the text of a linked item without having all the html link info (or the option to copy either way would be best)
[/quote]