Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Include Standard DNN Tokens #73

Open
MaiklT opened this issue Nov 11, 2021 · 9 comments
Open

Include Standard DNN Tokens #73

MaiklT opened this issue Nov 11, 2021 · 9 comments

Comments

@MaiklT
Copy link

MaiklT commented Nov 11, 2021

Could you please add the standard DNN tokens to be processed in the templates?

(I am in need of a current date token).

@b-creative
Copy link

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>

@MaiklT
Copy link
Author

MaiklT commented Nov 11, 2021

That's what I actually did, but I think token replacement would be a nicer idea...

@b-creative
Copy link

true

@Timo-Breumelhof
Copy link
Collaborator

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.

@RichardHowells
Copy link

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.

@Timo-Breumelhof
Copy link
Collaborator

@RichardHowells
Copy link

Big ask. Is that tool publicly available?

@Timo-Breumelhof
Copy link
Collaborator

No, sorry. We are selling it as a service ATM.

@RichardHowells
Copy link

Fair enough. Thank you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants