Demo Discussion
Forum Config Examples Contributions Vulnerabilities
  Discussion forum about ELOG  Not logged in ELOG logo
icon1.gif   today date in template, posted by Stefano Lacaprara on Mon Apr 8 10:49:10 2024 
    icon2.gif   Re: today date in template, posted by Stefan Ritt on Mon Apr 8 11:27:09 2024 
       icon2.gif   Re: today date in template, posted by Konstantin Olchanski on Tue Apr 9 04:50:28 2024 
          icon2.gif   Re: today date in template, posted by David Pilgram on Tue Apr 9 13:49:51 2024 
Message ID: 69778     Entry time: Tue Apr 9 04:50:28 2024     In reply to: 69773     Reply to this: 69780   69781
Icon: Reply  Author: Konstantin Olchanski  Author Email: olchansk@triumf.ca 
Category: Question  OS: Linux  ELOG Version: ELOG V3.1.4-395 
Subject: Re: today date in template 
> This is a nice idea, but currently no text substations in templates are implemented. It only works in attributes right now.

but can it be done by javascript injection? load a custom .js or .html file, in this file run javascript code to root down the DOM tree until you 
find the right place, replace .innerHTML with current date?

K.O.
ELOG V3.1.5-fe60aaf