Hello and welcome to the tiddlyverse! 
I can't answer your area conversion question in terms of getting javascript
running but I can point you to 
https://github.com/joshuafontany/TiddlyWikiFormula
which lets you do that kind of thin natively in tiddlywiki. 
For example I've done a forces calculator 
http://stephenteacher.tiddlyspot.com/#Simple%20Frame%20Calculator
Hope that helps. 
Stephen
On Saturday, 12 December 2020 at 02:08:04 UTC Alex DP wrote:

> Hello to you all.
>
> TiddlyWiki is fun to work with. However, the documentation is like a 
> fishing expedition. Someday you catch something and the next you are 
> frustrated. It is hard to understand how come a product as mature as 
> TiddlyWiki does not have a comprehensive and well organised documentation 
> system.
>
> Okay, here are my questions:
> -------------------------------
> I finally found an easy way to insert computer language codes using:
> ```sql
> -- Retourne toutes les fiches dont le champ prenom commence par J 
> (Jacques, John):
> SELECT nom,
>        prenom
> FROM client
> WHERE prenom LIKE 'J%'
> ```
> at first I used:
> <$codeblock code="SELECT * FROM users WHERE deleted = false" 
> language="sql" />
>
> My question is, what is the difference between these two approaches?
> --------------------------------------
> I would like to implement the "Icon - copy to clipboard" function that 
> will facilitate the grabbing of code snippets. I could not find anything 
> about it.
>
> My question is, how can I implement the copy to clipboard feature?
> ---------------------------------------
> I copied my TiddlyWiki in a sub-directory of a shared hosting I have. I 
> implemented a php saving approach. The TW is hard to find and this is good. 
> I do not mind if people have a look at the content (after all, sharing is 
> and should be the primary purpose of Internet). However, I would not 
> appreciate if some hooligan came and vandalised my site.
>
> My question is, how can I implement a password system so the editing of 
> tiddlers and access to the backend (control panel) is protected? I do not 
> want to use a static site generator since I use three different computes to 
> edit the site.
> ---------------------------------------
> I wrote a minimalistic surface converter (i.e. acre to square miles or 
> hectare ...) using a very small javascript and some html (table). I copied 
> the whole thing in a tiddler and it did not work. I got the infamous:
> Blocked script execution in '<URL>' because the document's frame is 
> sandboxed and the 'allow-scripts' permission is not set. For sure, 
> TiddlyWiki put the data of a tiddler in a sandbox iframe for security 
> reason. I do not want to change javascript and form permission for the 
> iframe.
>
> My question is, I can I implement this small but useful calculator?
> -----------------------------------------
> Thank you to all of you
>
> Regards, 
>
>
>
>

-- 
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 tiddlywiki+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/43ccebc3-8b8f-47eb-93c3-23bb2b38b1a8n%40googlegroups.com.

Reply via email to