Demo Discussion
Forum Config Examples Contributions Vulnerabilities
  Discussion forum about ELOG, Page 203 of 806  Not logged in ELOG logo
    icon2.gif   Re: elog client cmd line submission of attributes with spaces., posted by Darren Hollinrake on Thu Aug 25 19:04:11 2016 
Agreed, I just wanted to clarify for anyone else though that the issue seems to be centered on my "Start Time" attribute which is a datetime field. All
the other attributes (with spaces) allowed submission of the entry so long as the "Start Time" attribute wasn't set to required. That appears to be the
one with the actual issue. Giving a valid epoch time when that field isn't required allows the field to be populated correctly. However, if the "Start
    icon2.gif   Re: Image source url missing, posted by Antonio Bulgheroni on Thu Sep 1 08:47:55 2016 
This is another piece of information to help in the debugging. To my standards logbooks, I have added the "demo". On the demo I can upload
pictures while I can't on the other logbooks.

This is indicating that the bug has something to do with the logbook configuration other than with the editor or the image upload plugin.
    icon14.gif   Re: Image source url missing, posted by Antonio Bulgheroni on Thu Sep 1 09:03:51 2016 
The conflicting option is "Preview attachments". When this is turned off (set to 0), images are not properly uploaded. Could you please confirm
it also on your side?




Antonio
Entry   Hilight code, posted by Daniel Sajdyk on Tue Sep 6 13:29:03 2016 
Hello :)

Is there any way to highlight code (for example php, SQL) in logs entries?

Best Regards
icon5.gif   Highlight code?, posted by Daniel Sajdyk on Tue Sep 6 13:35:05 2016 
Hello :)

Is there any way to highlight code (for example php, SQL) in elogs entries?

Best Regards
    icon2.gif   Re: Highlight code?, posted by Stefan Ritt on Tue Sep 6 13:41:32 2016 
You can manually highlight code,
but there is no automatic language parser.




Daniel
    icon2.gif   Re: Highlight code?, posted by Daniel Sajdyk on Tue Sep 6 13:45:55 2016 
I thought so.

One  more question :) I want manually add that parser (https://highlightjs.org), but I'm newby in that and don't know where ....

I know that downloaded hightlight pack I must put into folder scripts, but where to add this line:
    icon2.gif   Re: Highlight code?, posted by Stefan Ritt on Tue Sep 6 14:02:56 2016 
I did not know about highlight.js . You can put it into any elog page with "Bottom text = ...". I tried it for this forum and put in some C
code:


#include <stdio.h>
int main()
{
   // printf() displays the string inside quotation
   printf("C Programming");
ELOG V3.1.5-3fb85fa6