Demo Discussion
Forum Config Examples Contributions Vulnerabilities
  Discussion forum about ELOG, Page 238 of 808  Not logged in ELOG logo
    icon2.gif   Re: attachment not displayed if entry contains link to attachment., posted by Stefan Ritt on Tue Jul 28 10:42:40 2009 elog.png

Devin Bougie wrote:

I'm not sure if this is the expected behavior, but it appears as though an attachment is not displayed in the list of attachments if you manually add a link to the attachment into the body of the entry.  I would greatly appreciate any advice on how to fix or change this behavior.

I will try to demonstrate with the two attachments on this entry.  There are two attachments in this entry, but only one appears in the standard view of the entry.

Picture_1.png.png 

Many thanks,

Devin

Well, you can have "inline" pictures like that:

elog.png 

In this case it is clumsy if this image gets displayed twice, once in the text and once as the attachment. So I look at the entry and if I find the image inlined, I suppress the display at the end. Now the "check if the image is shown inline" is a bit stupid, it just looks for the link. So I never thought that someone would just put a link in the text manually. I will have a look and see if I can change that.

    icon2.gif   Re: attachment not displayed if entry contains link to attachment., posted by Stefan Ritt on Tue Jul 28 13:14:37 2009 

Devin Bougie wrote:

I'm not sure if this is the expected behavior, but it appears as though an attachment is not displayed in the list of attachments if you manually add a link to the attachment into the body of the entry.  I would greatly appreciate any advice on how to fix or change this behavior.

I will try to demonstrate with the two attachments on this entry.  There are two attachments in this entry, but only one appears in the standard view of the entry.

Picture_1.png.png 

Many thanks,

Devin

One question just for curiosity: How did you obtain the link to the attachment? Don't you first have to submit the entry, then get the attachment link via the browser ("Copy link location"), then edit the same entry, then paste a link? This is rather complicated, that's why I could not imagine that someone really does it. Or do you want to achieve something else? 

    icon2.gif   Re: attachment not displayed if entry contains link to attachment., posted by Stefan Ritt on Tue Jul 28 13:30:35 2009 

Devin Bougie wrote:

I'm not sure if this is the expected behavior, but it appears as though an attachment is not displayed in the list of attachments if you manually add a link to the attachment into the body of the entry.  I would greatly appreciate any advice on how to fix or change this behavior.

I will try to demonstrate with the two attachments on this entry.  There are two attachments in this entry, but only one appears in the standard view of the entry.

Picture_1.png.png 

Many thanks,

Devin

I improved the mentioned check for inline attachments. Now your page correctly shows both attachments. This fix is in SVN revision 2241. 

    icon2.gif   Re: attachment indicator in summary view, posted by Stefan Ritt on Fri Apr 4 22:06:48 2008 

Dennis Seitz wrote:

 It would be nice to have the option of including an attachment indicator column in summary view to show if an entry has any attachments.

Nice idea. I implemented that feature, as can be seen at the contributions logbook for example. It will be contained in the next release.

    icon2.gif   Re: attachment indicator in summary view, posted by Edmundo T Rodriguez on Fri Apr 4 22:53:17 2008 

Stefan Ritt wrote:

Dennis Seitz wrote:

 It would be nice to have the option of including an attachment indicator column in summary view to show if an entry has any attachments.

Nice idea. I implemented that feature, as can be seen at the contributions logbook for example. It will be contained in the next release.

Would it be possible to instead of appearing a "clip" and/or "multiple-clips" (as the number of attachments grow) to appear a number which will be = to the count of attachments to avoid the column become too wide?

Hope it works because this is tool better every day.

Keep up the GOOD Work!

    icon7.gif   Re: attachment indicator in summary view, posted by Dennis Seitz on Sat Apr 5 00:43:21 2008 

 

Stefan Ritt wrote:

 

Dennis Seitz wrote:

 It would be nice to have the option of including an attachment indicator column in summary view to show if an entry has any attachments.

 

Nice idea. I implemented that feature, as can be seen at the contributions logbook for example. It will be contained in the next release.

Thanks!

 

    icon2.gif   Re: attachment indicator in summary view, posted by Stefan Ritt on Mon Apr 7 10:01:27 2008 

Edmundo T Rodriguez wrote:

Stefan Ritt wrote:

Dennis Seitz wrote:

 It would be nice to have the option of including an attachment indicator column in summary view to show if an entry has any attachments.

Nice idea. I implemented that feature, as can be seen at the contributions logbook for example. It will be contained in the next release.

Would it be possible to instead of appearing a "clip" and/or "multiple-clips" (as the number of attachments grow) to appear a number which will be = to the count of attachments to avoid the column become too wide?

Ok, so I show individual clips up to five, and the number of attachments if more than five.

    icon2.gif   Re: attachment indicator in summary view, posted by Grant Jeffcote on Sat Apr 12 22:04:58 2008 

Hi Stefan,

When using  2.7.3-2095 I can't seem to get the paperclip/s to show,  just an additional field in the summary view (named Attachments) with the attachment file names below? Am I missing something?

Thanks

 

Dennis Seitz wrote

 

Stefan Ritt wrote:

 

Dennis Seitz wrote:

 It would be nice to have the option of including an attachment indicator column in summary view to show if an entry has any attachments.

 

Nice idea. I implemented that feature, as can be seen at the contributions logbook for example. It will be contained in the next release.

Thanks!

 

ELOG V3.1.5-3fb85fa6