@Mark

Can you guide on how to add that button

On Thu, Mar 18, 2021 at 2:37 AM 'Mark S.' via TiddlyWiki <
[email protected]> wrote:

> I think my solution would be to add a button after each of the totals that
> would allow you to save the number into a field in the current tiddler. I
> know this may mean hitting four buttons on each tiddler, but the exercise
> is good for you!
>
> On Tuesday, March 16, 2021 at 10:37:07 PM UTC-7 [email protected] wrote:
>
>> @Mark,
>>
>> Is there any way to add the values of the total amount  of calories and
>> other nutrients consumed in a particular day into the fields of that
>> particular day tiddlers tagged with DayLog. Currently it’s shown via
>> view template in that day’s tiddlers.
>>
>> My use case - I need a table for showing   consumption of nutrients for
>> each day tagged with DayLog and also in a tiddlers for each month. I was
>> able to make such a dynamic table using Shiraz plug in. But I had to fill
>> in the values calculated using formula plug in and currently shown via view
>> template of the tiddlers tagged with DayLog into its fields manually.
>>
>> My question is there any way to get those values added into the fields of
>> tiddlers with DayLog tag automatically (instead of me adding it manually)
>>
>> Thanks
>> Arun
>>
>>
>>
>> On Sun, Mar 7, 2021 at 1:48 AM 'Mark S.' via TiddlyWiki <
>> [email protected]> wrote:
>>
>>> Wow. It's been almost 3 years without any interest. 2021 must be the
>>> year of Salt and Rice.
>>>
>>>
>>>> In terms that a 3-year-old might understand, how do I download,
>>>> assemble and use the Carbo Commander and its accompanying data, in a local
>>>> file on my computer?
>>>
>>>
>>> Wah! Wha! Goo-goo bah wah!
>>>
>>>
>>> I can't figure out what to drag/drop to an empty TW to recreate what you
>>>> have at TiddlySpot.
>>>>
>>>>
>>> Be sure to have a backup of your TW file. You need to drag over Evan
>>> Balster's spreadsheet plugin from the plugins. And you need to drag over:
>>>
>>> DayLog ViewTemplate
>>> <http://carbocommander.tiddlyspot.com/#DayLog%20ViewTemplate>
>>> FoodItem ViewTemplate
>>> <http://carbocommander.tiddlyspot.com/#FoodItem%20ViewTemplate>
>>> CarboConfig
>>>
>>> If you want my pre-configured set of foods, you need to find something
>>> tagged with "FoodItem" and drag the tag to your file.
>>>
>>> Also, while I have your ear, Mark, would I be correct in assuming that
>>>> this 'application' would afford me the opportunity to add in my own items
>>>> (thinking brand-name foods that I purchase), and enter in the nutritional
>>>> information for each, and be able to sort, track, etc. on that data?
>>>>
>>>>
>>> You can certainly set up your own foods. Whether you can do the things
>>> you want depends exactly on what you're thinking of. At the moment it just
>>> does what is presented -- allows you to keep a log of (theoretically) 20
>>> nutrients. It tallies up the totals for your chosen nutrients on any given
>>> day. It presents the first nutrient in detail. You can copy an existing
>>> item, modify it (especially the "field" value). Then add that field name to
>>> your daily log fields at the bottom of your daily log tiddler. Inside the
>>> CarboConfig tiddler you can set how many nutrients to calculate, and which
>>> ones.
>>>
>>> To facilitate the process of adding new foods, there is an existing
>>> database of 8000 items modified for CarboCommander over at:
>>>
>>> https://nutrition-database.tiddlyhost.com//
>>>
>>> It will take several seconds to load. Type into the search box some key
>>> term (e.g. "kellog", "banana", ) and you'll find dozens (hundreds?) of
>>> hits. Navigate to one that's close to what you want. Then drag and drop
>>> into your working TW file. Edit to suit your needs.
>>>
>>>
>>>> Really I'm most interested in 1) Carbohydrates, 2) Sodium, 3) Fat and
>>>> 4) Protein in each item.
>>>>
>>>
>>> Carbs, Sodium, and Protein are fields that are already represented in
>>> the food database. For Fat, you'll either have to create your own field,
>>> or use the more specific  FA Mono, FA Saturated, FA Poly which was how the
>>> USDA database represented the nutrients.
>>>
>>> This was all built using Evan Balster's math formulae. Now there are
>>> enough math tools inside TW to do it without them. I guess if I was doing
>>> it now I'd use those instead, because I recall having to do a lot of tricky
>>> wikifying to get Evan's tools to work with this data.
>>>
>>> Don't get old, folks...
>>>>
>>>
>>> Too late.
>>>
>>> --
>>> 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/d5d62596-df90-433c-8de0-4d481bb1da6dn%40googlegroups.com
>>> <https://groups.google.com/d/msgid/tiddlywiki/d5d62596-df90-433c-8de0-4d481bb1da6dn%40googlegroups.com?utm_medium=email&utm_source=footer>
>>> .
>>>
>> --
> 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/810ee10b-3034-4ca8-9882-05e52f90c77fn%40googlegroups.com
> <https://groups.google.com/d/msgid/tiddlywiki/810ee10b-3034-4ca8-9882-05e52f90c77fn%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>

-- 
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/CABSowt32buzsz9GZE644-frK5aQma-jeqjT9s%3DU163X1h7N0BA%40mail.gmail.com.

Reply via email to