Odin,

Thanks for sharing into the community. In the attached tiddler you can see 
how I use a view template, this allows you recipes text field to be empty 
as the view template transcludes the recipe, template on tiddlers tagged 
recipe. 

This leaves the text field free for other notes, and displays then at the 
bottom below you recipe.

I also noticed that a number of fields storing text details are text 
blocks, stored in regular fields. This means if edited in edit mode they 
may loose all their new line characters. Consider hiding such fields from 
edit mode. Do do this create a tiddler an include it in your plugin in the 
following name;

   1. $:/config/EditTemplateFields/Visibility/*fieldname *


   - and place the value hide (or show) in the text field.
   
for example

   - $:/config/EditTemplateFields/Visibility/recipe-instructions  
      - and place the value hide (or show) in the text field.
   

And it will not longer appear in the edit view

If you are interested then we can look at ways to reuse 
$:/plugins/Odin/Recipe/RecipeTemplate on existing recipes to edit them.

Good work and once again, thanks for sharing with the community.
Tones

On Saturday, 14 November 2020 at 05:09:14 UTC+11 [email protected] wrote:

> Hello all!
>
> This plugin is a plugin that adds a way to input, store and display 
> recipes in your Tiddlywiki. All the information of the recipe is stored in 
> user-fields, so the template is highly customizable without the need to 
> change every recipe.
> Features
>    
>    - A input form to add recipes
>    - A nice presentation of the recipe
>    - The box around the ingrediƫnts list changes depending on the theme. 
>    It takes on the colour of the page-background.
>    - By default, each recipe gets tagged 'Recipe'.
>
> You can find it on http://odinjorna.nl/recipes.html
>
> This is the first time I packaged and have published a plugin. It is a 
> very simple one, but I do use it in my own tiddlywiki. I am mainly sharing 
> it with this forum to look for feedback. I want to learn more about 
> wikitext and how to make stuff. What would be some things to add that 
> aren't too challenging?
>
> Looking foward to see what you folks think.
>

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/e7802c82-6122-450f-b759-0b800211177cn%40googlegroups.com.

Attachment: templates_recipe.json
Description: application/json

Reply via email to