quote-of-the-day
quote-of-the-day copied to clipboard
[BUG]
Describe the bug {{qotd}} not working To Reproduce Steps to reproduce the behavior:
- put
<% tp.web.daily_quote() %>
<% tp.user.print_quote_of_the_day() %>
{{date}} at {{time}} and {{qotd}}
in a template file in template folder
-
create file templates/scripts/print_quote_of_the_day.js function print_quote_of_the_day() { return
{{qotd}}
; } module.exports = print_quote_of_the_day; -
in new md file
run template
get:
<% tp.web.daily_quote() %>
<% tp.user.print_quote_of_the_day() %>
2023-02-02 at 05:09 and {{qotd}}
date and time are replaced, but qotd is not
- or run insert templater modal and get
> I'm astounded by people who want to 'know' the universe when it's hard enough to find your way around Chinatown.
> — <cite>Woody Allen</cite>
{{qotd}}
{{date}} at {{time}} and {{qotd}}
tp.web.daily_quote() is replaced, but other values not.
Expected behavior qotd would be replaced wit quote Screenshots If applicable, add screenshots to help explain your problem.
@twentytwokhz @ksdavidc Just curious, I'm not understanding the point of the "tags" option.... For ex: "insert random Quote of the Day by selected tag."
What is the purpose of this? I know how to use it, you select the tag and replace it, but why? Also it doesn't show the tag in footer(?)
@twentytwokhz @ksdavidc Just curious, I'm not understanding the point of the "tags" option.... For ex: "insert random Quote of the Day by selected tag."
What is the purpose of this? I know how to use it, you select the tag and replace it, but why? Also it doesn't show the tag in footer(?)
You are asking the wrong person, try posting new issue. not relevant to OP.