Open MaiklT opened 2 years ago
Maybe you could use just script for that. Something like
<script>
var today = new Date();
var dd = String(today.getDate()).padStart(2, '0');
var mm = String(today.getMonth() + 1).padStart(2, '0'); //January is 0!
var yyyy = today.getFullYear();
today = mm + '/' + dd + '/' + yyyy;
document.write(today);
</script>
That's what I actually did, but I think token replacement would be a nicer idea...
true
As we are moving all our clients over from NA to Open Content I can assure you we are not going to add this. Maybe someone else can do a PR.
Hi @Timo-Breumelhof - is your move to Open Content a manual switchover? Might it be possible to script content in the database from NA to Open Content?
Has anyone looked at that? I'd be interested in contributing if it's a realistic idea - even if it's only partially feasible.
Yes, we built a tool for it, but it was a lot of work TBH. I demoed it in https://www.southernfrieddnn.com/Blog/TabId/208/PostId/127/sept-21-timo-breumelhof-opencontent-use-cases-jay-mathis-structured-content-in-dnn.aspx
Big ask. Is that tool publicly available?
No, sorry. We are selling it as a service ATM.
Fair enough. Thank you.
Could you please add the standard DNN tokens to be processed in the templates?
(I am in need of a current date token).