Demo Discussion
Forum Config Examples Contributions Vulnerabilities
  Discussion forum about ELOG  Not logged in ELOG logo
icon5.gif   link to attachment within html editor, posted by Celeste Torkzaban on Mon Oct 9 10:43:46 2023 SCR14.PNG
    icon2.gif   Re: link to attachment within html editor, posted by Stefan Ritt on Mon Oct 9 12:30:44 2023 
       icon6.gif   Re: link to attachment within html editor, posted by Celeste Torkzaban on Mon Oct 9 16:43:06 2023 
Message ID: 69701     Entry time: Mon Oct 9 16:43:06 2023     In reply to: 69700
Icon: Cool  Author: Celeste Torkzaban  Author Email: torkzaban at iqo.uni-hannover.de 
Category: Question  OS: Windows  ELOG Version: ELOG V3.1.3-793 
Subject: Re: link to attachment within html editor 

thank you!

Stefan Ritt wrote:

You can always insert the full link to the attachment like this one: https://elog.psi.ch/elogs/Forum/231009_104933/SCR14.PNG

But you can also use elog:69699/1 as shown here. Unfortunately you can do that only after the entry has been submitted, so you know the ID number of that entry. Once you have it, edit the entry and put it in.

Stefan

 

Celeste Torkzaban wrote:

Hello,
I like the ELcode feature that lets you easily make an internal link to an attachment in the same post. However, I wasn't able to get this to work in the html editor, even though it's possible to use the ELcode format to link to another post in the logbook. When I type in elog :/1 in the html editor (without the space) and submit (even with an attachment present), it weirdly gets changed and shows up as 61/1 in the submitted elog, without any hyperlink. As far as I know we're using the standard elog code and only modified css parameters. Is there another syntax to link to attachments in html?
Testing it out here: 69699/1  (elog :/1 without the space turned into 69699/1)

 

 

ELOG V3.1.5-3fb85fa6