webtrees icon indicating copy to clipboard operation
webtrees copied to clipboard

make SNOTE a link on media detail page

Open HerzScheisse opened this issue 10 months ago • 3 comments

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...

HerzScheisse avatar Apr 01 '24 09:04 HerzScheisse

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://<what_you_want_to_link>. 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).

arbor95 avatar Jul 23 '24 08:07 arbor95

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...

HerzScheisse avatar Jul 23 '24 09:07 HerzScheisse

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)

arbor95 avatar Jul 23 '24 09:07 arbor95