Skip to content

Folder Template triggers when it shouldn't #1122

Answered by zanodor
zanodor asked this question in Help
Discussion options

You must be logged in to vote

In the end, I managed to solve it. Same folder template, no inbox folder or folder template used.

In the bookmarklet, I added a prefix "webclip - " to the filename.
In the Meta Templater method used, I added the prefix to handle this special case differently, then I used <% tp.file.content %> for the template triggered when prefix is webclip - , and now the file content stays intact.

I tried using a simple cursor placement method which was not enough.

In the end, I decided to delete the prefix as well (the JavaScript snippet must be downloaded from Pamela's Github (see YT video's description), and extra lines must be added to the Meta Templater "master" template for this to work):

This te…

Replies: 2 comments 3 replies

Comment options

You must be logged in to vote
3 replies
@zanodor
Comment options

@Zachatoo
Comment options

Zachatoo Jun 7, 2023
Collaborator

@danielo515
Comment options

Comment options

You must be logged in to vote
0 replies
Answer selected by zanodor
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Help
Labels
None yet
3 participants