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: 69773     Entry time: Mon Apr 8 11:27:09 2024     In reply to: 69772     Reply to this: 69778
Icon: Reply  Author: Stefan Ritt  Author Email: stefan.ritt@psi.ch 
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.

Stefan

> Hello,
>   I am using template for some elogbook entries.
> 
> Is is possible to automatically change the template using the actual date in some filed. 
> 
> Something like: the template has a place-holder <start date> and this is replaced with today's date when a new entry is created.
> 
> I already have a "date" filed which is automatically filled, but I've been asked to have the date also in the template.
> 
> Thanks in advance
> Stefano
ELOG V3.1.5-fe60aaf