ID |
Date |
Icon |
Author |
Author Email |
Category |
OS |
ELOG Version |
Subject |
68258
|
Wed Feb 10 22:55:42 2016 |
| Diego | diego.obradors@ciemat.es | Question | Windows | 3.1 | size of atributes in summary mode |
Good night,
I would be grateful if someone could indicate me, how could I increase the size of the block where the text of the atribute are in the summary mode.I would like, for example, increase the size of the "subject" you can see on the picture.
Thank you so much!!!
|
68259
|
Wed Feb 10 23:44:38 2016 |
| Diego | diego.obradors@ciemat.es | Question | Windows | 3.1 | Re: size of atributes in summary mode |
I answer myself... Modify the value of width=100% in the class .listtitle2 in the .css file.
Diego wrote: |
Good night,
I would be grateful if someone could indicate me, how could I increase the size of the block where the text of the atribute are in the summary mode.I would like, for example, increase the size of the "subject" you can see on the picture.
Thank you so much!!!
|
|
68584
|
Fri Mar 24 15:36:55 2017 |
| Paraic Fahey | paraic.fahey@pfizer.com | Question | Windows | 3.1 | pre defined Find as Home page |
This command makes the Homepage a FIND page: Start page = ?cmd=Find
My question is: can we pre-populate some of the search fields and execute the search so that the homepage becomes the SEARCH RESULTS |
67837
|
Wed Mar 25 10:36:15 2015 |
| Tim Schel | tim.schelfhout@fixbrussel.be | Info | Linux | Windows | 3.00 | test |
zezerze |
68080
|
Wed Aug 12 23:44:16 2015 |
| Eric Quintero | ericq@caltech.edu | Question | All | 3.0.0-70b274b | Show attachments = 0 |
I have "Show attachments = 0" set in [global], but attachments are shown in the "Full" view. Is this the intended behavior? Looking at individual entries correctly hides the attachments.
We use inline images often, so when an attachement is shown at the bottom of a post it is effectively a duplicate, which clutters things up a bit. |
68081
|
Thu Aug 13 08:41:57 2015 |
| Stefan Ritt | stefan.ritt@psi.ch | Question | All | 3.0.0-70b274b | Re: Show attachments = 0 |
That's strange. If you use HTML or ELCode encoding, attachments are automatically hidden if they are used inline. So no "Show attachments = 0" necessary! I just tried that with the demo logbook and here is how it looks:

As you can see, there is no attachment shown in the full view. This is actually handled by the function "is_inline_attachment()" in elogd.c. I don't know if you can do debugging, but somehow this inline test won't work for you and the question is why. Can you try the simple configuration from the demo logbook and see if you still have the problem? Can you show me an example when this does not work. I need to reproduce your problem exactly in order to fix it.
Stefan
Eric Quintero wrote: |
I have "Show attachments = 0" set in [global], but attachments are shown in the "Full" view. Is this the intended behavior? Looking at individual entries correctly hides the attachments.
We use inline images often, so when an attachement is shown at the bottom of a post it is effectively a duplicate, which clutters things up a bit.
|
|
68105
|
Mon Aug 31 17:14:08 2015 |
| Eric Quintero | ericq@caltech.edu | Question | All | 3.0.0-70b274b | Re: Show attachments = 0 |
The automatic hiding behavior is what I'm after, and I've discovered that it is only a problem for PDF attachments. I have reproduced this on the demo logbook on git revision f828049.
I've taken a look at the source you mentioned, but as far as I can tell, it is just looking for the opening of the img tag in the HTML source, and I'm not sure why that is different for a PDF. |
68146
|
Fri Oct 16 00:24:50 2015 |
| Eric Quintero | ericq@caltech.edu | Question | All | 3.0.0-70b274b | Re: Show attachments = 0 |
Hm, looking through the source, there are many many places where PDF files are treated differently than strictly image filetypes (PNG, etc.). This makes sense in the context of multi-page documents.
Still, I like using PDFs for vector plots... I suppose I should also confess to the following modification I've made to my ELOG for treating PDFs like images in drag-and-drop uploading.
--- a/scripts/ckeditor/plugins/dndfiles/plugin.js
+++ b/scripts/ckeditor/plugins/dndfiles/plugin.js
@@ -142,7 +142,7 @@ CKEDITOR.plugins.add( 'dndfiles', {
return;
if(src.indexOf(".png") >= 0 || src.indexOf(".jpg") >= 0 || src.indexOf(".jpeg") >= 0
- || src.indexOf(".gif") >= 0 || src.indexOf(".svg") >= 0) { // This is an image
+ || src.indexOf(".gif") >= 0 || src.indexOf(".svg") >= 0 || src.indexOf(".pdf") >= 0) { // This is an image
html += '<a href = ' + src + '><img src = "' + thumb + '">' + '</a>';
} else { // this is not an image
// Server appends 14 characters in front of the name so we should remove them
|