quote-of-the-day icon indicating copy to clipboard operation
quote-of-the-day copied to clipboard

[BUG]

Open ksdavidc opened this issue 2 years ago • 2 comments

Describe the bug {{qotd}} not working To Reproduce Steps to reproduce the behavior:

  1. put
<% tp.web.daily_quote() %>

<% tp.user.print_quote_of_the_day() %>

 {{date}} at {{time}} and {{qotd}}

in a template file in template folder

  1. 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;

  2. 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

  1. 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.

ksdavidc avatar Feb 01 '23 20:02 ksdavidc

@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(?)

yarub123 avatar Feb 06 '23 05:02 yarub123

@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.

ksdavidc avatar Feb 13 '23 01:02 ksdavidc