obsidian-periodic-notes icon indicating copy to clipboard operation
obsidian-periodic-notes copied to clipboard

Use templates when opening links to weekly/daily/monthly notes

Open ankushg opened this issue 3 years ago • 5 comments

Many of my templates have links to the relevant week/days/months too (eg., all weeks in a month; the days of the week; the week from a day; the month from a week)

When I use the Calendar view or Command Palette to pop into a week/day, the templates are used and populated with links to where the other relevant files will be. Yay!

Buuuuuut when I click into the links in the doc instead of the Calendar view or Command Palette, I end up in an empty note without the template applied 😔

Is there any way for this plugin to hook into that flow?

ankushg avatar Apr 18 '21 13:04 ankushg

For reference, it looks like Templater listens to new file creation events and runs itself on that new file

ankushg avatar Apr 19 '21 16:04 ankushg

Did you manage to solve this? I'm having the same issue

tim-hilde avatar Apr 29 '21 20:04 tim-hilde

I just rewrote my templates to use the Templater engine instead of relying on Periodic Note's {{ date }} stuff 🤷🏽

ankushg avatar May 05 '21 02:05 ankushg

This is my biggest question / issue with Periodic Notes at the moment. How can I make sure the day/week/month notes I create from ‘previous’ or ‘next’ links get put into the correct folder and with the correct template specified from my Periodic Notes settings?

kenanmike avatar Aug 16 '21 19:08 kenanmike

I just rewrote my templates to use the Templater engine instead of relying on Periodic Note's {{ date }} stuff 🤷🏽

@ankushg Did you manage to have dedicated templates for e.g. daily notes? I can only get templater to use the "Empty File Template" when clicking on links...

CarlAndersson avatar Sep 08 '21 07:09 CarlAndersson