fisharebest / webtrees

Online genealogy
https://webtrees.net
GNU General Public License v3.0
462 stars 299 forks source link

make SNOTE a link on media detail page #4974

Open HerzScheisse opened 6 months ago

HerzScheisse commented 6 months ago

Hey,

Is it possible to make the SNOTE an the mediadetail page a link like in other parts of the website?... While viewing the mediadetail page, the SNOTE is displayed... but it would be great if we can click on that name...

see: https://dev.webtrees.net/demo-stable/index.php?route=%2Fdemo-stable%2Ftree%2Fdemo%2Fmedia%2Fm47%2FGlamis-Castle

snote_issue_wt

I've been using the SNOTE's to track the studio who made the photo... if we could easily click on the SNOTE, we can then see the related photos to that studio... instead of coping the SNOTE name an search in the list for shared notes...

arbor95 commented 2 months ago

If you know the page to link, you can. If you have set "plain text" at the setting for Text, you simply write the url https://. If you have set "Markdown", you write the text in brackets and the link url in parentheses.[<shown_text>](<url>)

there is nothing to change within webtrees code.

So in the example screenshot, if your setting for note is plain text, the wikipedia text is clickable. (so called auto link).

HerzScheisse commented 2 months ago

Hi, I guess I was maybe not clear enough... and maybe you missunderstood what i was meaning... i dont need and dont want to add links in the SNOTE input fields... i rather want the whole note in the page shown above to be clickable, to find/link to the other entries with the same SNOTE...

arbor95 commented 2 months ago

but you find the usages by clicking onto the tabs (here individuals, 3 occurances).

(where do you want to click, to see what? may be you can give an image and mark your wishes)