[tw5] Re: list-links-draggable macro defect (blank caption)

2021-05-27 Thread 'c pa' via TiddlyWiki
Ah... I see that this is the transclude docs:

The TranscludeWidget  treats any 
contained content as a fallback if the target of the transclusion is not 
defined (ie a missing tiddler or a missing field). 

I had been under the impression that $transclude was an empty fallback 
rather than a missing fallback. So I need to change a bunch of stuff to use 
$set with emptyValue rather than $transclude for the content

On Thursday, May 27, 2021 at 1:22:35 PM UTC-7 c pa wrote:

>
> I notice that the updated list-links-draggable macro shows a blank entry 
> in the case where the tiddler referred to has a caption field but the field 
> is empty.
>
> title: test
> text: <$macrocall $name=list-links-draggable tiddler=<> 
> field="flow-list">>
> flow-list: this that the other
>
> title: that
> caption:
>
> Displays:
> 
> * this
> *   <-- entry for that is blank
> * the
> * other
>

-- 
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/654e8e23-5474-44cc-9efd-6bea72b225e2n%40googlegroups.com.


[tw5] list-links-draggable macro defect (blank caption)

2021-05-27 Thread 'c pa' via TiddlyWiki

I notice that the updated list-links-draggable macro shows a blank entry in 
the case where the tiddler referred to has a caption field but the field is 
empty.

title: test
text: <$macrocall $name=list-links-draggable tiddler=<> 
field="flow-list">>
flow-list: this that the other

title: that
caption:

Displays:

* this
*   <-- entry for that is blank
* the
* other

-- 
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/94259f06-7d66-40ed-a9fe-439e16ad341bn%40googlegroups.com.


[tw5] Re: TidGraph and Link Rendering

2021-05-21 Thread 'c pa' via TiddlyWiki
So tidgraph looks cool. I would love to add features but you've minified 
the code making it almost impossible to figure out what the code is doing. 
Is there a version where the functions have human readable names? 

On Friday, May 21, 2021 at 6:55:03 AM UTC-7 jvpo...@productmicro.be wrote:

> Yes, it's the  element => You are my hero!!
>
> I'll post a pull request once I get it tested and fixed.
>
> Thanks for helping me out!!
>
> Op vrijdag 21 mei 2021 om 14:16:05 UTC+2 schreef saq.i...@gmail.com:
>
>> What element is nodecontent.children[0].children[0] ?
>>
>> If it is the  element that is created perhaps you can do something 
>> like:
>>
>> nodeContent.querySelector("a.tc-tiddlylink");
>>
>> On Friday, May 21, 2021 at 2:10:48 PM UTC+2 jvpo...@productmicro.be 
>> wrote:
>>
>>> I did do a *very ugly test* and it works (by overwriting the 
>>> $:/plugins/ihm/tidgraph/utils.js  tiddler).
>>>
>>> Now I need some help to get to the correct child nodecontent. Any ideas?
>>>
>>> Thanks for your help!!!
>>>
>>> This works in tidgraphs util.js:
>>>   function makeNodeDiv(node) {
>>>  var esctitle = encodeURIComponent(node.id);
>>>  var title =  getNodeTitle(node.id,tidtree);
>>>  var isMissing = !$tw.wiki.tiddlerExists(node.id);
>>>  var linkclass = isMissing ? 
>>> "tc-tiddlylink-missing":"tc-tiddlylink-resolves";
>>>  var linkclass = "tc-tiddlylink " + linkclass;
>>>  var nodeclass = getNodeClasses(node);
>>>  var nodecontent;
>>>  if ( node.template ) {
>>> nodecontent = dm('div',{ "class": nodeclass,
>>>  innerHTML: getRenderedNode(node) } );
>>>  } else {
>>> var tidlink = dm('a',{"class": linkclass,
>>>text: title,
>>>attributes: { href: '#'+esctitle }
>>> });
>>> nodecontent = dm('div', {"class": nodeclass, 
>>>  children: [tidlink] });
>>>  }
>>>  // HACK TEST. NOT OK -> getting domNode by children array :( :(
>>>  if (node && nodecontent && nodecontent.children[0] && 
>>> nodecontent.children[0].children[0]) {
>>> $tw.utils.makeDraggable({
>>> domNode: nodecontent.children[0].children[0],
>>> dragTiddlerFn: function() {return node.id;},
>>> widget: node.widget
>>>  });
>>>  }
>>>  return nodecontent;
>>>   }
>>>
>>> Op vrijdag 21 mei 2021 om 11:34:59 UTC+2 schreef Lean Product Innovation 
>>> - Jonas Van Poucke:
>>>
 Thanks, exactly! Thanks for the pointer.
 I'll try to fix this myself but feel novice in this area..

 So if someone could hepl with adding this to TidGraph... :D

 Jonas

 Op vrijdag 21 mei 2021 om 11:06:29 UTC+2 schreef saq.i...@gmail.com:

>  
>
>> Given:
>> Nodes in tidgraph are rendered with <$link/>, just as in the demo's
>>
>
> I am not sure that this is correct. At first glance it seems like  
> tidgraph creates  elements that look like they might have been 
> generated 
> by the <$link> widget, but have not. 
>
> This is the core function that attaches the event listeners needed for 
> drag and drop: 
> https://github.com/Jermolene/TiddlyWiki5/blob/master/core/modules/utils/dom/dragndrop.js#L24
>
> This is how the link widget uses it: 
> https://github.com/Jermolene/TiddlyWiki5/blob/master/core/modules/widgets/link.js#L134
>
>

-- 
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/b126180a-6024-471e-bb5f-bb2e6e3b4513n%40googlegroups.com.


[tw5] Re: Help on translating a virtual stack of cards to wikitext needed...

2020-11-18 Thread 'c pa' via TiddlyWiki
The tiddlywiki way is to have the radio buttons set a value into a field 
and then display the corresponding card based on the field being populated

Pseudo code:

<$radio tiddler=<> field="card-state" value="Card-1">Card 1 

<$radio tiddler=<> field="card-state" value="Card-2">Card 2 

<$radio tiddler=<> field="card-state" value="Card-3">Card 3 


<$reveal type="match" state="!!card-state" value="Card-1">
Card 1 content


<$reveal type="match" state="!!card-state" value="Card-2">
Card 2 content


<$reveal type="match" state="!!card-state" value="Card-3">
Card 3 content


On Tuesday, November 17, 2020 at 10:27:52 AM UTC-8 Jan wrote:

> Hi Fans of skeumorph (https://en.wikipedia.org/wiki/Skeuomorph) design.
>
> When trying to enhance my quizcard macro I stumbled upon this codepen
> https://codepen.io/miroot/pen/YXpOGG
>
> The html and css already work in TW http://szen.io/quiz/#Quiz%20Cardstack 
> .
> So far I failed trying to translate the syntax to wikitext because the 
> radio input makes use of IDs.
>
> How can I solve this with the radiowidget?
>
> Best wishes Jan
>
>
>
>
>
>
>
>

-- 
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/9cedf255-a283-466b-8822-5e3f185f0155n%40googlegroups.com.


[tw5] Re: [TW5] JsonMangler v2.0.9 Release!

2020-03-22 Thread 'c pa' via TiddlyWiki
I just installed this latest version on a clean tiddlywiki download... It 
throws an error. 

I only see the error if I close all tiddlers. Then this pops up from the 
bottom of the screen. 

-- 
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/8c5d6df6-28c1-4b6f-87fe-cb05b27b7487%40googlegroups.com.


[tw5] Re: [TW5] JsonMangler v2.0.9 Release!

2020-03-07 Thread 'c pa' via TiddlyWiki
Joshua,

I've been using the plugin for a couple of weeks. Excellent useful plugin. 
I have one request. Is it possible to add an "attributes" operator or 
something like that that would return the direct children of each item? 
I've found that I have to manually maintain and index in the JSON so that I 
can keep track.

{
"item one": {"one": "content", "two": "content", "indexes": "one two"},
"item two": {"aye": "content", "bee": "content", "indexes": "aye bee"},
"item three": "content",
"indexes": "[[item one]] [[item two]] [[item three]]"
}

The indexes operator returns all children and I only need the direct 
children.

-- 
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/d809b07d-5bf9-4139-874d-e79ac187362a%40googlegroups.com.


[tw5] Setting a field value from within SVG

2019-11-21 Thread 'c pa' via TiddlyWiki
I want to use clickable SVG images from within my Tiddlywiki. 
The documentation says to use the foreignobject element to enclose wikitext
This is problematic because it is so difficult to position and size the 
button to coincide with the drawing element and manage elemnt ordering etc.

I went to MDN and found:

http://www.w3.org/2000/svg;>
  

Does anyone know how I can use an onClick event like this to call a tiddlywiki 
macro?

I tried onclick="this.wiki.setText('tiddlerName','current-item',null,'test 
text',null);"

But that doesn't work any clues?

Then for extra points... Would it be possible to call a macro with parameters? 
If I could do that, I could do more fancy things.

-- 
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/d1954aae-4950-45f8-b59f-17872cfcee13%40googlegroups.com.


[tw5] Re: Are there any sort text Editor Toolbar extensions?

2019-10-03 Thread 'c pa' via TiddlyWiki
OK this works.
This copies the selected text into a temp tiddler, then sorts the text in 
the temp tiddler. (That returns a title list) Then joins the list with 
spaces

title: _cpa/ui/EditorToolbar/sort-text
tags: $:/tags/EditorToolbar
caption: Sort Selected Text
condition: [!has[type]] 
[type[text/vnd.tiddlywiki]]
description:Button to sort the selected text
icon: $:/core/images/bold

text: 
<$action-sendmessage
$message="tm-edit-text-operation"
$param="excise"
title="$:/temp/sort-text"
macro="x"
/>
<$action-sendmessage
$message="tm-edit-text-operation"
$param="replace-selection"
text={{{ [list[$:/temp/sort-text!!text]sort[]join[ ]] }}}
/>

-- 
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/b299e01f-ae84-4a42-9379-771e42ad5052%40googlegroups.com.


[tw5] Re: Referencing an SVG image in CSS content property

2018-10-24 Thread 'c pa' via TiddlyWiki
OK sorry that doesn't work. 

-- 
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 post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/df33755f-b9f7-44b0-a218-804b81fe940f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Re: Referencing an SVG image in CSS content property

2018-10-24 Thread 'c pa' via TiddlyWiki
Try using the full URL: And then tell us if it works.

file:///C:/Users/yourname/tiddlywikilocations/yourfile.html#Pie%20Chart

-- 
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 post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/bc57bc0f-5805-4efa-b67f-e12b8940e65d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Re: Sort Text List without Writing It into a Field?

2018-10-24 Thread 'c pa' via TiddlyWiki
\define sortEm(string)
<$list filter="$string$ +[nsort[]]">


\end

<>

-- 
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 post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/fa0c7fe4-20cb-4596-ada7-1f6a9798f4eb%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Odd Transclude behavior using WikiText vs. Widget transcludes within SVG

2018-10-24 Thread 'c pa' via TiddlyWiki
''This works under all circumstances:''

<$edit field="slice1" />



 <$view field="slice1" /> 


This fails (text doesn't display) if there are no spaces in the transcluded 
text
"Sausage Pizza" works
"SausagePizza"fails

<$edit field="slice1" />



 {{!!slice1}} 


Can anyone tell me why?

-- 
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 post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/91ef4929-0d42-4f33-b651-94148ff58754%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Odd behavior using wikitext transcludes vs. widget transcludes in SVG

2018-10-24 Thread 'c pa' via TiddlyWiki
''This *works *under all circumstances:''

<$edit field="slice1" />



 *<$view field="slice1" />* 


This *fails *(text doesn't display) if there are no spaces in the 
transcluded text
*"Sausage Pizza" works*
*"SausagePizza"fails*

<$edit field="slice1" />



 *{{!!slice1}}* 


Can anyone tell me why?

-- 
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 post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/e591851a-3f01-495e-8d74-ccbc4dfa3ed1%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] $linkcatcher doesn't work with SVGs

2018-09-04 Thread 'c pa' via TiddlyWiki
Here's the code. This demonstrates that linkcatcher does not catch links 
sent from within an SVG diagram. Is there a work-around (other than using 
foreignObject and buttons) ?

\define linkaction()<$action-setfield $tiddler=<> 
$field="curitem" $value="u"/>

<$linkcatcher actions=<> >





<$linkcatcher actions=<> >
[[ggg]]


{{!!curitem}}

<$button set="!!curitem" setTo="X">reset


-- 
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 post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/0787c634-71c5-48e5-bf4b-3459b50c0aa8%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Re: Css, before: and svg

2018-08-19 Thread 'c pa' via TiddlyWiki
The problem is probably in the number of quote marks. If there are "" in 
the svg then you have to surround them with 3 quotes.

Also the code for the SVG is part of a longer string so you have to set a 
variable to the contents of the svg and then insert that variable in the 
text using substitution like this:

\define svgbeforeclass()
.square:before{
   display: block;
   content: url("data:image/svg+xml;charset=UTF-8,$(svgcode)$");
   background-size: 28px 28px;
   height: 28px;
   width: 28px;
}
\end
<$set name=svgcode tiddler="svgTiddler" field="text" >
<>


-- 
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 post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/31a55bad-ce45-4c51-8250-f89adf882b03%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Re: Css, before: and svg

2018-08-11 Thread 'c pa' via TiddlyWiki
OK, when I paste your code into a new tiddler on TiddlyWiki.com I get a red 
circle followed by a green square.

If I take the style and put it in a tiddler tagged "$:/tags/Stylesheet. I 
get a red circle followed by a green square.

Same thing with the code in a web page. So I'm not sure what you're looking 
for

-- 
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 post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/3f2046c6-fa9f-4d80-9783-7a398f91445c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Re: Calling action widgets from within the Select Widget

2018-06-03 Thread 'c pa' via TiddlyWiki
To do what I wanted to do I decided to fake the Select. I wanted to select 
from a list to "Not a list" - In this case tagged tiddlers. So I could have 
a source list of tiddlers that are eligible to be tagged, and then turn 
those tags on and off from a multi-select. This is a UI option that I 
wanted available. Way easier to do using other UI options but . . .

Here's how I did it.

\define Select-To-Tags-From-List()
From $(sourceTiddler)$!!$(sourceField)$ To $(targetTag)$
<$list filter="[list[$(sourceTiddler)$!!$(sourceField)$]]" 
variable="curItem">
<$list filter="[] -[tag[$(targetTag)$]]" variable="xx"
emptyMessage=
"""

<$button class="tc-btn-invisible Selected">
<>
<>

"""
>

<$button class="tc-btn-invisible DeSelected">
<>
<>



\end

\define Action-Toggle-Tag()
<$list filter="[[$(sourceTag)$]] -[list[$(curItem)$!!tags]]" 
variable="xx"
emptyMessage=
"""
<$action-listops 
$tiddler="$(curItem)$"
$field="tags" 
$subfilter="-[[$(sourceTag)$]]" 
/>
"""
>
<$action-listops 
$tiddler="$(curItem)$"
$field="tags" 
$subfilter="[[$(sourceTag)$]]" 
/>

\end

Stylesheet
.Selected {
background-color:#3399FF;
color:white;
width:98%;
text-align:left;
}
.DeSelected {
background-color:white;
color:black;
width:98%;
text-align:left;
}

-- 
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 post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/22a975cd-d5b4-4ee7-81cc-7e62cdb4b9c9%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Calling action widgets from within the Select Widget

2018-06-02 Thread 'c pa' via TiddlyWiki
I don't understand how we use action widgets within the Select Widget

So can I do this? Call an action widget with the value that is selected?

Here's what doesn't work:

<$select tiddler=<> field="test2">
   -- 
  <$list filter="one two three" 
   actions="""
<$action-setfield $tiddler=<> 
$field="test" $value=<> />
   """
   variable="curItem"
  >
   > >
 <> 
   
  



-- 
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 post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/137861dd-51a5-4f3f-a6ee-a45a56978965%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Re: Is there a way to include an SVG image together with text as the placeholder of an <$edit-text> field?

2018-05-02 Thread 'c pa' via TiddlyWiki


input type="text" name="txtName" class="input" />
.input{
border: 0px solid #44;
height:39px;
width:346px;
background:url(images/Contact_05.jpg) no-repeat right top; 
color:#fff; 
padding-left:4px; 
font-size:20px;
}

-- 
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 post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/e97b613e-542c-4fa1-80e2-6798f5a604e3%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: Possible to have filter use value that depends on the filters output?

2017-09-13 Thread 'c pa' via TiddlyWiki
Mat,

When faced with this problem in the past I have always resorted to a 2 step 
process

1. Create a button that sets a field value in every tiddler in the Wiki = 
"# words in the tiddler"
2. Execute the filter sorted by that value

I haven't figured out how to execute both those steps except by writing a 
custom filter to do the first step. (In this case you'ld write a custom 
filter that counts the words in the tiddler then use that value to sort.) - 
look at regex[] and sort[] filter's code to see how you might do it.

-- 
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 post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/be0c2bfd-12bc-4cce-88aa-6f7013f95fe3%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: action-listops and the prepend operator odd behavior

2017-09-11 Thread 'c pa' via TiddlyWiki
Also I notice that insertbefore fails because I'm following these 
instructions

suffix B = the name of a variable containing the title of the tiddler 
before which this one should be inserted

-- 
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 post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/abb00f8d-9d5b-4bb7-8202-0e183164c9a5%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: action-listops and the prepend operator odd behavior

2017-09-11 Thread 'c pa' via TiddlyWiki
OK I've created a test suite here: 
http://cpashow.tiddlyspot.com/#%24%3A%2F_cpa%2Ftest%2FTest-Suites%2Faction-listops

That steps through all of the operators. Almost all of the operators fail 
in conjunction with a variable (So we can manually refer to an item with 
spaces in it)

As a work around next I'll try this with a transclusion rather than a 
variable

-- 
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 post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/6539bdb0-c2df-483e-8593-8e40c7948467%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: action-listops and the prepend operator odd behavior

2017-09-11 Thread 'c pa' via TiddlyWiki
I've been checking some more and maybe I'm completely  missing how these 
operators work.

This code simply deletes the last item rather than moving the last two 
items after the item in the variable. This is distressing since the 
examples only use list items with no spaces, while saying that this is the 
way (refer to variable) to make it work with items with a space.

Tiddler = action-listops-test4

Index Value: {{action-listops-test4!!fieldlist}}

<$button> Reset Test <$action-setfield $tiddler="action-listops-test4" 
$field="fieldlist" $index="" $value="one [[This is a variable]] [[and a 
two]] [[and three]] four" /> 
<$vars variable="[[This is a variable]]"> <$button>Execute test 
<$action-listops $tiddler="action-listops-test4" $field="fieldlist" 
$index="" filter="" $subfilter="+[putafter:2]" $tags="" /> 
 

-- 
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 post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/720eceac-b39d-4aa1-9275-e2eb9d144dff%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: Home Sweet Home ... are TiddlyWikiDev & TiddlyWikiDocs worth keeping?

2017-09-05 Thread 'c pa' via TiddlyWiki
>> DUMP TiddlyWikiDocs & TiddlyWikiDev
These 2 groups experience periodic spurts of activity when clever folks get 
into really deep discussions that are off the general topic

>>START a TiddlyWikiNewbie that contains ONLY info for beginners
Because TiddlyWiki is such a complex and functional product, making a 
distinction between newbie and "not newbie" questions is very hard since 
newbies often ask questions that require a tech answer. In the process 
newbies experience expanded horizons

-- 
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 post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/91edf3c1-a653-49c9-b600-4165698a87f1%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: Is there a way to make a Radio Button create a tag? TW5

2017-06-02 Thread 'c pa' via TiddlyWiki
Aaron,

You can do it this way if there is only one tag at a time on the tiddler 
you are tagging - Switches the tags between Jane and Joe Bloggs

<$radio tiddler="test" field="tags" value="JoeBloggs"> 
Joe Bloggs

<$radio tiddler="test" field="tags" value="JaneBloggs"> 
Jane Bloggs


The other standard method is to use $reveal and buttons and images to 
simulate radio buttons. 
Since Radio buttons assume that there is only one value being set at a time 
. . . the code above may be for what you are looking

-- 
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 post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/271d2155-8ff7-4954-8571-52b13a048332%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: A few newbie questions

2017-05-08 Thread 'c pa' via TiddlyWiki
Conner,

>> Why google groups? 
Because it was easy to set up. There have been many discussions on can't we 
have something better and more searchable

>> what does .tc-X stand for? Tiddlywikiclass?
Yes. Look in $:/themes/tiddlywiki/vanilla/base and associated tiddlers to 
see the list of defined classes. There's only a couple like 
tc-btn-invisible that are popular for use. The rest you'll find if you want 
to modify some existing macro and see what they are used for like (I think 
its called) tc-dropdown

-- 
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 post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/abd88e4d-d7ba-44b7-a983-78f1120f55b7%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: Automatically referencing to hot spots

2017-04-24 Thread 'c pa' via TiddlyWiki
Dear Mr. Hole,

Yes this is practical. You need to decide how you want it to work, based on 
your needs

Easiest way: [[HowTo:Define a class]] creates a link in this tiddler to a 
tiddler named "HowTo:Define a class"

Then in a different tiddler you can create a list that returns all internal 
links in all tiddlers, from that filter, filter for the prefix "How To:", 
that returns all tiddlers with an internal link to a How To tiddler. 

Is that what you're looking for?

-- 
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 post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/8194d309-f464-4cac-b352-48512fc27092%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: [TW5] Core drag-and-drop improvements

2017-03-21 Thread 'c pa' via TiddlyWiki
Jeff,

Notice in the demo that Jeremy has defined a macro called drop-actions() 
that specifically edits the contents of that list field. That macro is then 
called in the associated droppable widget. 

\define drop-actions()
<$action-listops $tiddler="Days of the Week" 
$subfilter="+[insertbefore:currentTiddler<*actionTiddler*>]"/>
\end

<$droppable actions=<>>

There seems to be a special variable, *actionTiddler*, that corresponds to 
the list of tiddler titles being dropped. So yes, you do need to identify 
some container to hold the ordered list but that container can be a 
tiddler's text, a list field, or an index. (I can't think of any other 
out-of-the-box containers) You may perhaps be able to pass it to a button 
or other widget but that would need some testing to figure out how that 
works.

-- 
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 post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/9b5e4a4b-d53a-4d73-9f8b-009968b5b755%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: [TW5] Etch-A-Sketch Demo to illustrate drawing of SVG paths

2017-02-03 Thread 'c pa' via TiddlyWiki
Mat,

The Etch-A-Sketch has the capability to do that. It works like this:


   1. All of the stamps are held in the tiddler [[SVG Bumps]]
  1. Right now there are only bumps for directions and various curves 
  2. Each bump has a name
  3. Each bump has a relative path instruction string 
  1. lower case letters used so the drawing has to come from the end 
 point of the last line segment
  2. The number of elements of the each "bump" (its length) is held in 
   the tiddler [[SVG Bump Lengths]]
  1. This is used so you can erase a bump from the end of the path
  2. e.g.: an "up-right-curve" is "a 5 5 0 1 1 5 5" so a length of 8
  3. There's a couple of other tiddlers [[SVG Bumps Directions]] and 
   [[SVG Directions Enables]] that I'm pretty sure I don't use any more 
   because it was too complex to store and manage that information
   

-- 
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 post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/d1ceb950-e728-4f43-8649-f74ab54b3a2a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] [TW5] Etch-A-Sketch Demo to illustrate drawing of SVG paths

2017-02-01 Thread 'c pa' via TiddlyWiki
I've created an Etch-A-Sketch Demo to illustrate drawing of SVG paths

http://cpashow.tiddlyspot.com/#Etch-A-Sketch

Fun. Not a plug-in or anything. Required that I create a couple custom 
string manipulation javascript macro commands to allow the manipulation of 
the path elements.

-- 
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 post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/fee69cd3-8a08-4c29-b896-cd6a238da431%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: fiddling with italic

2016-12-05 Thread 'c pa' via TiddlyWiki
//
"""
Axolagabe, 
ardura barik, berekoi, gaizto
eta gainontzeko apal zein egundoko
beste keria saldo guztiez
jori, bapo elikatzen diren
pentsaera, jarrera, jokaera
trauskil, lakar, gordin edota ankerki
atxilotzaile, herstaile, zapaltzaile, erauzle, moztaile, zikiratzaile
ororen aitzi
"""
//
IZAN
//
"""

besterik ez
eta ondorioz
ekin,
beti.
"""
//

-- 
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 post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/01377e1b-a6e9-4bfc-b8ce-213bcc34cc80%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: Am I alone on mobile usage of TW?

2016-09-26 Thread 'c pa' via TiddlyWiki
Daniello,

As a mobile user you wish your device to display web hosted TW5s in a style 
that

* Minimizes horizontal scrolling
* Allows the user to switch easily between the sidebar and the story
* Allows the user to more easily choose items from a drop down select

As a TW5 developer you wish that TW5 provided better facilities to

* Create mobile friendly menus
* Create mobile friendly forms
* Jump between open tiddlers in the story
* Switch the display styles between desktop and mobile so that the 
developer can see the impact of the design on mobile users

Anything else?

-- 
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 post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/79be22af-3f48-45ca-ba78-1e0aa96abb66%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [tw] [TW5] What to edit to get numbered Header level

2016-09-22 Thread 'c pa' via TiddlyWiki
Phillippe,

After much fiddling. . . here is the stylesheet you want:
div.tc-tiddler-body is the css selector for the tiddler content display area
div.tc-tiddler-preview-preview is the css selector for the preview pane 
when editing a tiddler

div.tc-tiddler-body, div.tc-tiddler-preview-preview {counter-reset: 
h1counter;}
div.tc-tiddler-body, div.tc-tiddler-preview-preview h1 {
counter-increment: h1counter;
counter-reset: h2counter;
}
div.tc-tiddler-body, div.tc-tiddler-preview-preview h1:before {
content: counter(h1counter) ".\a0\a0";
}
div.tc-tiddler-body, div.tc-tiddler-preview-preview h2 {
counter-increment: h2counter;
counter-reset: h3counter;
}
div.tc-tiddler-body, div.tc-tiddler-preview-preview h2:before {
content: counter(h1counter)"."counter(h2counter) ".\a0\a0";
}
div.tc-tiddler-body, div.tc-tiddler-preview-preview h3:before {
content: counter(h1counter)"."counter(h2counter) "." 
counter(h3counter) ".\a0\a0";
counter-increment: h3counter;
}

-- 
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 post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/de94b6da-e288-4baa-abc5-1f93cdf6e969%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: [TW5] What to edit to get numbered Header level

2016-09-21 Thread 'c pa' via TiddlyWiki
The numbering of lists is controlled via style sheets (css)

You can see this with something like this


OL { counter-reset: item }
LI { display: block }
LI:before { content: counters(item, ".") " "; counter-increment: item }


# One
## One
## Two
### One
### Two
## Three
#Two
## One
## Two
## Three

to make it work you can embed the stylesheet like I did above, or you can 
create a tiddler tagged "$:/tags/StyleSheet with the style code

-- 
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 post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/cf65da57-a5f1-42ce-a4e6-6a4d401221c0%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: Tabular story/result view ?

2016-09-08 Thread 'c pa' via TiddlyWiki
Yes with the creative use of the filter operators you can do it

Here's an example using the letters of the alphabet as the input filter 
expression


<$list filter="1 5 9 13 17 21 25" variable ="rows">
<$list filter="a b c d e f g h i j k l m n o p q r s t u v w x y z 
+[nth]" variable="cell">

 <> 
<$list filter="a b c d e f g h i j k l m n o p q r s t u v w x y z 
+[allafterlimit[3]]" variable="this">
 <> 






-- 
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 post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/1b7adc06-ae64-44af-a9ff-22d2f1957b54%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: A List of Checkboxes that will delete and add tags to Tiddlers

2016-09-07 Thread 'c pa' via TiddlyWiki
So if I read you right. You want something like this:
1. Starts with a tag that identifies an item "item"
a. If you want all tiddlers to be an item, Add this code

Add a tiddler as an item

<$list filter="[all[tiddlers]] -[is[system]!has[tags]] -[tag[item]]" 
variable="none">
<$checkbox tiddler=<> tag="item"> <>



2. Tags The item as "started" to put it on the started list
3. Tags The item as "inProgress" to put it on the In Progress list
4. Tags The item as "done" to put it on the Done list
5. If you uncheck a "done" item, it sends it back to InProgress


   Ready 
  <$list filter="[tag[item]] -[tag[started]] -[tag[InProgress]] 
-[tag[done]]" variable="none">
 <$checkbox tiddler=<> tag="started" >
   <>
   

Started 
  <$list filter="[tag[item]tag[started]] -[tag[InProgress]] 
-[tag[done]]" variable="none">
 <$checkbox tiddler=<> tag="InProgress" >
   <>
   

In Progress
  <$list filter="[tag[item]tag[InProgress]] -[tag[done]]" 
variable="none">
 <$checkbox tiddler=<> tag="done" >
   <>
   

Done 
  <$list filter="[tag[item]tag[done]]" variable="none">
 <$checkbox tiddler=<> tag="done" >
   <>
   



>

-- 
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 post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/963efa46-3ffc-4b09-b7c8-80e6194ed3fd%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [tw] [TW5] How to get numbers 1 2 3 ... in $list filter? Solution and new question: How to integrate this in a footnote macro....

2016-08-25 Thread 'c pa' via TiddlyWiki
Ah hah. Got it

Use Case: 
1. I want to create footnotes in my document in the form of <>
e.g.: This is some text <> And this is a formula: 2+3=5 <>
should display as: This is some text *1* And this is a formula: 2+3=5 
*2*with the footnote numbers popping up the text when clicked
2. I want the footnotes to be numbered sequentially when displayed without 
me having to manually enter the footnote number
3. I want the footnote text to display in a popup when the number is clicked

The problem is with #2, auto-generation of numbers within the text on a 
page. I don't know of any facility in TiddlyWiki that can do that without 
some trickiness.

Trickiness options
1. Store the footnote text as entries in a list with the list sorted in the 
order of their presentation on the page
2. Just manually enter the footnote number as a macro parameter and forget 
the "automatically" part of request #2

\define footnote(tiddler, text, number)
<$set name="state" value="$:/state/$tiddler$/$number$">
 <$button popup=<> class="btn-invisible" 
style="border-width:0px">
   <$reveal type="match" text="" default="" state=<> >
  $number$
   
   <$reveal type="nomatch" text="" default="" state=<> >
  
$text$
  
   
   

\end
\define ref(text, number)
<$macrocall $name="footnote" tiddler=<> text="$text$" 
number="$number$" />
\end

This is some text <> And this is a formula: 2+3=5 <>

-- 
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 post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/994040fc-459f-42ee-bbef-ecfee682d164%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [tw] [TW5] How to get numbers 1 2 3 ... in $list filter? Solution and new question: How to integrate this in a footnote macro....

2016-08-24 Thread 'c pa' via TiddlyWiki
I've seen this problem expressed in a number of posts. I solve this problem 
(How to access the place number of the current item from within a list) as 
follows

You'll have to do some parsing of the variables to understand how this 
works. I've had to rewrite this method in many different ways to fit the 
use-case so its more important to understand how to get a result. I've also 
written a filter that returns a number rather than a list that can be used 
in these cases and is sometimes better. 
http://cpashow.tiddlyspot.com/#%24%3A%2F_cpa%2Fmacros%2FfilterCount.js

1. In the below, $filter expression$ can be any valid filter expression 
minus the leading and training brackets)
2. The allbefore operator returns the list of items that are before the 
item passed to the operator
3. The variable <> is the current item being processed
4. Therefore <$count filter="[[$filter expression$]allbefore]" 
/> returns the number of items before the current item (current item number 
- 1)
5. The append operator adds an item to the end of the list
6. *grxnxtlg* is the name of a tiddler that is most likely not in the list
7. Therefore <$count filter="[[$filter 
expression$]append[*grxnxtlg*]allbefore]" 
/> returns the current item number
8. Therefore <$set variable="current_count" filter="[[$filter expression$]
append[*grxnxtlg*]allbeforefilter_count[]]" > returns the 
current item number as a variable within the $set expression

-- 
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 post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/29b44ec9-c864-438c-9c45-cc4c9f404131%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: adding comments after global macros

2016-08-09 Thread 'c pa' via TiddlyWiki
I create all of my ready to be reused macros this way: (With documentation 
after the macro definition) Works just fine

\define macroname(param1, param2, param3)

do stuff here
\end

`<>`

<>

-- 
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 post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/3d47138c-e732-4f6b-a46b-68a4544fe382%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: Presenting: StretchText - an alternative to links or popups

2016-08-07 Thread 'c pa' via TiddlyWiki
Here's the replacement. Seems to work

\define strex(content:"TextStretch", label:"…", start:"[", end:"]", 
class:"", id:"default")
<$set name="state" value=<> >

<$reveal type="nomatch" state=<> text="visible" 
animate="yes">
<$button set=<> setTo="visible" 
class="strex-open $class$" tooltip="more info">
$label$


<$reveal type="match" state=<> text="visible" 
animate="yes">


<$button set=<> setTo="hidden" 
class="strex-close strex-start $class$" tooltip="hide text part">
$start$
<$action-setfield $tiddler=<> 
$value="" />

$content$
<$button set=<> setTo="hidden" 
class="strex-close strex-end $class$" tooltip="hide info">
$end$
<$action-setfield $tiddler=<>/>





\end

-- 
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 post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/eb21dba3-6310-4e31-b216-0c502d007217%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: Presenting: StretchText - an alternative to links or popups

2016-08-07 Thread 'c pa' via TiddlyWiki
I copied and used your macros. Cool

Your instructions are missing how to import the uuid macro so I replaced it 
with <>
Within the macro definitions you don't need to set so many variables, 

Rather than using <$set name="var" value="$var$"><$macrocall 
$name="macroname" variable=<> />
Use <$macrocall $name="macroname" variable="$var$" />

-- 
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 post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/529dd5e7-a742-4733-adc0-df9643618442%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: A separate forum to discuss issues to improve the documentation

2016-08-04 Thread 'c pa' via TiddlyWiki
This is the tiddlywiki docs forum

https://groups.google.com/forum/#!forum/tiddlywikidocs

-- 
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 post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/40e4ff8e-efdc-477f-9f09-f03a4bae6f6c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: Help

2016-08-02 Thread 'c pa' via TiddlyWiki
You have attached an html file that shows the control panel
The control panel page shows the list of tiddlers to display when the 
tiddlywiki is started
You have asked for help
If you write a list of tiddler names in this box (as shown below) and then 
save, then the next time you start the tiddlywiki those tiddlers will be 
displayed

GettingStarted
[[New Tiddler]]
[[My other tiddler name]]


-- 
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 post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/16e24d9d-b6b8-442b-9951-7a062bf38f4f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: Project Management in TW - reopening the topic

2016-07-31 Thread 'c pa' via TiddlyWiki
I didn't test any of this. So you'll have to write it yourself and debug my 
errors. But here is what you want (What you want isn't simple)

User Requirements:
1. A tiddler contains a list of todo items, the items don't need to exist 
as separate tiddlers
2. An item may contain another list of sub todo items
3. When checked, the item displays with strike-out
4. Each item may contain descriptive text

System requirements
1. If an item has sub-items, the item must exist as a tiddler
2. If an item has descriptive text, the item must exist as a tiddler

System components
1. A data entry box to enter the name of an item to be created in the 
current tiddler
<$edit-text tag="input" tiddler="$:/temp/new_todo_item" />
2. A field to contain the list of todo items
field="todoitems"
todoitems is a field that contains a list of todo items
3. A button to add the item to the list
   <$button>
Add item to list
<$action-listops $field="todoitems" 
$subfilter={{$:/temp/new_todo_item}}  />
   
4. A field to hold the description
field="description"
5. A data entry box to enter the description
<$edit-text tag="input" field="description" />
6. A view item to display the description
<$view field="description" />
7. A tag that identifies a todo item
tag="todo"
8. A viewtemplate for todo items 
title:"View Template for todo Items"
tags:"$:/tags/ViewTemplate"
text:"""

<$list filter="[all[current]tag[todo]]">

<$checkbox tag="edit">Edit

<$list filter="[all[current]tag[edit]]" >
<$edit-text tag="input" tiddler="$:/temp/new_todo_item" />
   <$button>
  Add item to list
 <$action-listops $field="todoitems" 
$subfilter={{$:/temp/new_todo_item}}  />
 <$action-setfield $tiddler="$:/temp/new_todo_item" 
$field="text" $value=""/>
   
   <$edit-text tag="input" tiddler={{$:/temp/new_todo_item}} 
field="description" />



<$list filter="[list[!!todoitems]]">
<>



9. A field to hold the items that are done
filed="doneitems"
9. Some piece of code to add a done button and text formatting to the items 
being listed
\define showTodoItem(item)
 
<$list filter="[all[$item]] -[list[!!doneitems]]" emptyMessage="""
   
   <$button>
  X
 <$action-listops $field="doneitems" 
$filter="[list[!!doneitems]] -[[$item$]]"  />
   
   --$item$--
""">
   
   <$button>
  _
 <$action-listops $field="doneitems" $subfilter="[[$item$]]"  />
   
   $item$

 \end
10. A piece of code to display the item, check to see if it exists as a 
tiddler, and then display the same stuff if that tiddler has its own todos
 
 <$macrocall $name="showTodoItem" item=<> />
 
 <$list filter="[allis[tiddler]]">
 Display all this stuff. . .  I guess I should have made the whole 
thing a macro eh.
 


-- 
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 post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/a8779542-b954-41a2-9ae7-3b603c88400e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: .json import

2016-07-29 Thread 'c pa' via TiddlyWiki
Q: How many TW users does it take to support a question about json imports
A: Zero -  I just imported a JSON file on my machine here and it works 
just fine

Please do the following:
1. Create a small example file that refuses to import
2. Attach the text of that small file in your reply
3. Tell us the name of the file you used 
4. Tell us the version of TW and the operating system

-- 
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 post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/4f72b119-f3cc-49d1-8b1a-c1f86ae68668%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [tw] Re: Transcluding the title of the current tiddler

2016-07-26 Thread 'c pa' via TiddlyWiki
It doesn't work in preview because during editing the title is "Draft of" + 
title 

Draft of + title isn't contained in any foreign fields

-- 
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 post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/0b51403c-0d5d-4765-9a58-ee9add67893f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [tw] Re: Need another filter

2016-07-23 Thread 'c pa' via TiddlyWiki
\define List_Articles(article)

<$list filter="[field:article[$article$]]" variable="article_tiddler">

<$transclude tiddler=<> field="text" mode="block"/>


 
 <$link to=<> >

<$view tiddler=<> field="source"/> - 

<$view tiddler=<> field="modified" 
format="date" template=" MMM"/>
  
 
 

\end

<$macrocall $name="List_Articles" article={{!!title}} />


-- 
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 post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/e86edf97-f4ad-4dfc-b5ef-2521a0d79d2b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: Need another filter

2016-07-22 Thread 'c pa' via TiddlyWiki
\define List_Articles(article, template)
<$list filter="[field:article[$article$]]">
 $template$

\end

<$macrocall $name="List_Articles" article={{!!title}} 
template="""

Code to be run per article such as listing the title:
{{!!title}}

"""/>

And yes. It does seem to be overkill. I've learned to live with overkill.

-- 
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 post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/698591ce-4c1a-4550-bf4a-15902a2f934b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: Insert text depending on field value

2016-07-22 Thread 'c pa' via TiddlyWiki
Try building a tiddler something like this (correctanswer ans sentence are 
fields you need to add)

title: "Question1"
correctanswer: "five"
sentence: "I have <> fingers"
text="""

\define Get_Answer_Text(question)
<$view tiddler="$:/state/answers/$question$" />
\end
\define Edit_Answer_Text(question)
<$edit-text tag="input" tiddler="$:/state/answers/$question$" />
\end
\define findanswer()
<$macrocall $name="Get_Answer_Text" question=<> />
\end
The sentence is: ''{{!!sentence}}''

How many fingers do you have?
<$macrocall $name="Edit_Answer_Text" question=<> />

<$reveal type="match" state="$:/state/answers/Question1" 
text={{!!correctanswer}}>
That is correct!


<$reveal type="nomatch" state="$:/state/answers/Question1" 
text={{!!correctanswer}}>
That's good but its not right. If your answer was {{!!correctanswer}} then 
the text might read


"""

-- 
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 post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/fa25c6c1-b1be-44eb-a4d8-e8a53c8d023b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: Xlist TW5 question

2016-07-22 Thread 'c pa' via TiddlyWiki
>> I plan to use tagging, not list fields

OK then use the tagging operator

filter="searchterm1 searchterm2 +[tagging[]]"
or
[all[current]tagging[]]
or
[all[searchterm]tagging[]]

-- 
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 post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/94f3af80-478f-45d8-bd4d-48b80a47cd82%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: Xlist TW5 question

2016-07-21 Thread 'c pa' via TiddlyWiki
Yes. The "listed" filter operator

the format is something like the following:

filter="[[searchterm]listed[filedname]]"

-- 
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 post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/097e7a03-f13f-49ac-904e-3c4765a39620%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: [TW5] Saved searches and external links in 5.1.12

2016-07-20 Thread 'c pa' via TiddlyWiki
OK here is the results of my testing:

Test script
a. Open TW 5.1.12 fresh install in Chrome
b. Enter text in search bar
c. Save TW and exit
d. Reopen TW
e. Clear search bar
f. Save TW and exit
g. Reopen TW
h. Clear search bar
i. Create a new tiddler
j. Save TW and exit
k. Reopen TW
Expected Results
On reload TW, Search bar is empty

1. Firefox: No problems
2. Chrome 
Actual results: Search bar contains search text
3. Internet Explorer 11
Actual results: Saves wiki to new file. Search bar is empty


Expected results

-- 
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 post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/78e764b8-c663-405b-9979-7f75138543d9%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: [TW5] Variables in List Filter

2016-07-20 Thread 'c pa' via TiddlyWiki
This works on tiddlywiki.com as long as you do the following:
Create New tiddler 1, new tiddler 2 etc.
add the field due
set due = "20.07.2016"  - or today's date string returned

<$set name=today value=<>>
<>
<$list filter="[due]">

<$checkbox tag="done">
<$link to={{!!title}}>
<$view field="title"/>

<$list filter="[is[current]tags[]regexp[PRIO0|onhold|BLOCKED]]">
{{||$:/core/ui/TagTemplate}}





-- 
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 post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/035cb6b8-1e74-4691-a7bb-e93e84ab61e4%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: [TW5] Saved searches and external links in 5.1.12

2016-07-20 Thread 'c pa' via TiddlyWiki
Yes. I've had the same problem, not just with 5.1.12 though.
For mew it seems to have to do with 2 things

1. Using the search bar and clearing the search bar doesn't make the TW 
dirty
a. So if you use the search bar and then save the wiki, the search text 
is saved
b. If then you clear the search and exit, the cleared search isn't 
saved so on reload the saved search is displayed
c. Clearing and saving solves this
2. My browser cache saves the search bar contents
a. either in the page cache
b. or in the forms cache I'm not sure which
c. clearing before navigating away seems to solve this

-- 
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 post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/d78e632f-08df-4469-a796-f7ab277e71ef%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: Random Thoughts about the new version of TW.

2016-07-19 Thread 'c pa' via TiddlyWiki
>> How do we handle the importing of Tiddlers with the same Title?

I have not looked at the twederation code but here's my 2 pfennings

The easiest way to do this without dependencies would be to do the following
1. The importing TiddlyWiki would assign a GUID (guid_tw_path) to the path 
to the tiddler from which the new tiddler is being imported
2. The importing TiddlyWiki would assign a GUID (guid_tw_tiddler) to the 
tiddler being imported
3. The importing TiddlyWiki creates a new tiddler that shadows the external 
tiddler (and copies its contents so it doesn't have to be imported every 
time?)
a. Assigns guid_tw_pathto the field"guid_tw_path"
b. Assigns guid_tw_tiddler to the field "title"
c. Assigns the foreign tiddler's title to a field called 
"twederation_title"
d. Alter the view template to display both title and  twederation_title 
with twederation_title emphasized if it exists

This way you have the following
1. A copy of the external tiddler available for offline use
2. A unique link from your TW to the foreign TW (GUID 1)
3. A unique Id for the foreign tiddler (GUID 2)
4. A unique id for the path from the local content to be able to refresh 
from the foreign TW (GUID1 + 2)
5. If the foreign TW renames the tiddler or edits it beyond recognition, 
local fallback content
6. The ability to cache or provide history for foreign changes etc. as an 
add on for controlling your content

-- 
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 post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/3f27ea69-8757-494d-9232-d95f2ee11298%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: How to reset a state field when a tiddler is closed and reopened?

2016-07-19 Thread 'c pa' via TiddlyWiki
Robert,

You can do this if the user is opening the exercise tiddler from a button 
rather than a link. This means that in your index of exercises, rather than

[[exercise name]]or <$link to="exercise name"> Exercise name

Use

<$button to="exercise name">
exercise name
<$action-setfield $tiddler="$:/state/whatever" text=""/>



-- 
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 post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/b139e40a-ab3a-471b-a7f3-97673fb489ea%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: [TW5] use reveal for showing/hiding a button depending on if tiddler with a specific name does exist?

2016-07-19 Thread 'c pa' via TiddlyWiki
Eric,

>> and it works just fine to use the transclusion in the macro syntax.

# You are absolutely right. 
# There are edge cases where things don't work as expected
# My brain can't remember what the edge cases are
# Since debugging the source of the error takes longer than writing the 
code, and I write complex code, I've adopted the following practices
#* I use <$macrocall $name="macroname" /> rather than <>
#* I pass all variables as parameters . . . $variablename$ rather than 
$(variablename)$
#* I always assign a variable="loop variable name" in my $list calls
#* I use <> or $currentTiddler$ rather than 
<> 

Granted. It takes way longer to write the code. And so way longer to whip 
up quick solutions. So this methodology stinks for on the fly fixes.

-- 
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 post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/e15ad7e7-ba94-4f5b-b63f-7ebfd1140f5a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: [TW5] use reveal for showing/hiding a button depending on if tiddler with a specific name does exist?

2016-07-18 Thread 'c pa' via TiddlyWiki
Hans,

Yes. the shortcut macro call method does not allow you to pass evaluated 
parameters. You need to use the long form macro call method

<> does not work

<$macrocall $name="Make_Something" thing={{$:/isms/tmp/NewISMSElement!!
name_base}} /> will work

-- 
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 post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/b88451cf-ad9e-4791-bea2-00fdc16c168d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: [TW5] Plugins files not saved

2016-07-14 Thread 'c pa' via TiddlyWiki
Also you need to manually save your tiddler before exiting.

-- 
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 post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/57e8bb61-cbc7-4dfb-ab65-46ae0e7843f8%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: [TW5] use reveal for showing/hiding a button depending on if tiddler with a specific name does exist?

2016-07-14 Thread 'c pa' via TiddlyWiki
Try something like the following:

\define Do_Some_Buttons(item_one, item_two)
<$list filter="[all[$item_one$$item_two$]is[tiddler]]" emptyMessage="""
   Button to create tiddler named "$item_one$$item_two$"

   """>
 Hey it exists already

\end

\define Make_Something(text)
<$set name="Item_One" filter="$text$ +[nth[1]]">
<$set name="Item_Two" filter="$text$ +[nth[2]]">
<> <>

<$macrocall $name="Do_Some_Buttons" 
item_one=<>
item_two=<>
/>



\end

`<>`
<>

-- 
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 post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/75e59a68-e652-40fd-b59b-21b4690ba877%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: Trying to make a re-usable drop-down list.

2016-07-13 Thread 'c pa' via TiddlyWiki

OK so you're trying to use a $select widget to update an external list 
maintained as the value portion of an index in a data tiddler . Awesome. 
What you're trying to do is hard.

The standard way to do this is to set the status in a field on the tiddler 
itself.

<$select field="fieldName">TODOIn Progress . . . 

You may be able to do it by putting the two action-listops instructions 
inside the $select functionality in the latest TiddlyWiki version (5.12) 
but I don't think so

Better to put it in 3 buttons and control their display and styling based 
on the value set

<$button> To Do
<$action-listops $tiddler="datatiddlername" $index="todo" 
$filter="[list[datatiddlername!!indexname]] *+*"/>
<$action-listops $tiddler="datatiddlername" $index="inprogress" 
$filter="[list[datatiddlername!!indexname]] *-*"/>
<$action-listops $tiddler="datatiddlername" $index="Done" 
$filter="[list[datatiddlername!!indexname]] *-*"/>

<$button> In progress
<$action-listops $tiddler="datatiddlername" $index="todo" 
$filter="[list[datatiddlername!!indexname]] *-*"/>
<$action-listops $tiddler="datatiddlername" $index="inprogress" 
$filter="[list[datatiddlername!!indexname]] *+*"/>
<$action-listops $tiddler="datatiddlername" $index="Done" 
$filter="[list[datatiddlername!!indexname]] *-*"/>


etc.

-- 
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 post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/5af5f6bc-7d1c-473b-9bec-63feebe24479%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: Introducing the <$dropaction> widget.

2016-06-21 Thread 'c pa' via TiddlyWiki
Matt,

Awesome concept. I would love to use this.

>> This plugin is available at my plugin library as the "DropAction 
Widget".  

So I followed these instructions and get a tiddler with 
http://mklauber.github.io/tw5-plugins/library/index.html in the url field. 
I saved and then I get "Undefined widget dropaction" when I copy and paste 
your code

Could you create a demo on tiddlyspot so we can copy the plugin from there?

I also did the drag and drop from http://mklauber.github.io/tw5-plugins and 
got the same lack of importing of plugin.

-- 
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 post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/d20b084d-1b43-4bd4-a625-f17762da8e42%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [tw] Re: Navigating and transcluding Slices...Missing Features for the atomic concept:

2016-06-17 Thread 'c pa' via TiddlyWiki
>> Can you give an example of #3. I've never had luck calling a widget from 
inside a widget and I would like to know how it's done

Oh right. I do all my editing from dashboards because all my tiddlers are 
structured. The concept is as follows:

Analysis


# Decide on a structure for your tiddlers
#* Example "Book" would have the following fields
#** Title
#** Authors
#** Publisher
#** My random ramblings
#** My Review
#** Plot synopsis
#** ISBN Number

Discussion
=

* My random ramblings is a good candidate for the text field
* My Review, and Plot synopsis are good candidates for slices
* The title of the book should be put in the caption field because two 
books can have the same title
* ISBN is unique for books so put that in the title filed (The name of the 
tiddler - must be unique)
* Authors can be multiple so this would be a list of authors populated from 
tiddlers tagged "author"
** This requires a macro to populate it. 
** You can use crazyListHere from cpashow.tiddlyspot.com 
** As you might suspect from the name, my macro currently does all sorts of 
stuff in addition to populating a list
* Publisher is a text name populated using a select from tiddlers tagged 
"publisher"

Code a template
=

Create a tiddler to act as the "template" for books

title: "book"-- named the same as the tag used to define books
text:"""
ISBN: {{!!title}} 
Edit ISBN: <$edit field="title" />

Authors: <> 

Publisher: <$select field="publisher"> -- <$list 
filter="[tag[publisher]]">> > 
<> 

My random ramblings: <$edit field="text" />

My Review: <$edit-text tag="textarea" field="review" />

Plot synopsis: <$edit-text tag="textarea"  field="synopsis" />
"""

Code a dashboard

title: "Book Dashboard"
text: """
Add a book: <$edit-text tag="input"  tiddler="$:/temp/newbook" />
<$button>
Add book
<$action-setfield $field="currentbook" $value={{$:/temp/newbook}} />
<$action-setfield $tiddler={{$:/temp/newbook}} $field="tags" 
$value="book" />
<$action-setfield $tiddler="$:/temp/newbook" $field="text" $value="" />

Select a book to edit:
   <$select field="currentbook">
-- 
   <$list filter="[tag[book]]" variable="Current_Book" emptyMessage="""
  There are no books available 
   """>
 > >
 <>
 
   
  
<$tiddler tiddler={{!!currentbook}} >
<$transclude tiddler="book" />

"""

-- 
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 post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/ff94a189-c08d-48c2-ba2a-057302348f91%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: TW5 - Make it read only permanently

2016-06-17 Thread 'c pa' via TiddlyWiki
Oh this is an easy one.
#1 Edit the edit template and change it to look exactly like the view 
template
#2 Open up the tiddlywiki in a text editor, find the shadow edit template, 
and make it look exactly like the view template.
#Save the text file
#Load in a browser and test

-- 
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 post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/19cfb9a9-8d97-49cc-8a34-f48c4bf82515%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [tw] Re: [TW5] TiddlyWiki code structure and documentation, try 2. Any volunteers?

2016-06-17 Thread 'c pa' via TiddlyWiki

I'm trying to do this same thing at tw-for-bunnies, but I'm approaching it 
from the other end. Here are my observations (some of which I'm thinking of 
on the fly)

# As a user I need to understand the structure of widgets and macros so I 
can use them myself
  #* The structure of widgets and macros documentation seems to be as 
follows
#** Widget or macro name
#** Widget or macro parameters
#** Widget or macro description
#** Widget or macro examples
#** Widget or macro called_variables
#** Widget or macro usage_by_other_widgets_macros_and_tiddlers 
# As a developer I need to know if the requirement for documentation means 
that I need to change my coding style so I can adopt that standard once and 
then focus on development
  #* Jeremy has adopted the following standards
#** 
#** Code comment includes 
   #*** purpose
#** Separate doc tiddler to document the macro or widget
#** doc tiddler text field contains
   #*** Widget or macro name
   #*** Widget or macro parameters
   #*** Widget or macro description
   #*** [[Link to]] Widget or macro examples
#** The code itself contains
   #*** Widget or macro called_variables
# As a documentation developer I need widgets and macros coded in a 
standard format so I can extract the documentation rather than documenting 
each widget or macro individually

It would be helpful if we could decide on a standard way to approach this 
and then Jeremy could publish that standard as part of the core

It seems we have much of a standard format defined for us. Once a standard 
is established, writing tiddlers and macros to build a documentation 
management interface would be fairly simple. 

Next step would be figuring out a pipeline to feed community developed 
documentation and examples into the core. (This is the internet so the 
horde will skip and mix steps but . . .) Something like

# Anyone   develops things on their own
# Collaborators   post code to a "test it out and provide comments here" 
website such as twederation
# Moderators  browse the twederation to identify "good stuff" and 
provide professional polish
# Contributors Post polished tiddlers to github
# Jeremysays "Hey everyone needs to know this" and puts it in 
the core docs

I'm thinking of implementing the following in my documentation standard. 

# Segregating each widget or macro into a separate tiddler
# Use the following fields in the macro or widget tiddler itself to outline 
the macro usage
#* name= widget or macro name
#* parameters  = List of parameter names
#* description = Long description
#* caption = Short description
#* tags= If contains "$:/tags/macro" this is a macro
#* type= if application/javascript this is a widget
# Use the following in each macro or widget example tiddler
#* example-for = List of macros or tiddlers that this example documents

Why I haven't adopted this yet
# During development of macros, I find that writing a whole bunch of macros 
together in one tiddler is the most efficient way to develop for a 
particular use-case since the macros tend to be dependent on each other

What I'm using instead
# Each use case is a separate tiddler with a whole bunch of macro 
definitions
# If there is only one macro in the tiddler, I add the following text and 
make sure the display is illustrative

! macro name
* ``
* 

# If there are many macros in the one tiddler, I add text after the 
definitions to create a table, one row per macro with the illustration

-- 
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 post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/4522703a-a0fb-4c50-ab17-a872afb3cfaa%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [tw] Re: Navigating and transcluding Slices...Missing Features for the atomic concept:

2016-06-17 Thread 'c pa' via TiddlyWiki
Folks,

Whenever I feel the need to include slices in my tiddlers, I implement each 
slice using a combination of the following:

1. a field and an <$edit-text tag="textarea" $field="slicename" />  widget. 
2. the same field and an <$transclude mode="block" $field="slicename" />  
widget.
3. a tag (I use edit) and a <$list filter="[all[current]tag[edit]]" 
emptymessage=""" -- put view widget here --- """> --put edit widget here -- 
 widget to switch the display between edit and view of the field

Benefits
1. Allows me to stay with the tiddlywiki core path
2. Imposes standard slice names
3. Allows me to look up and manipulate all slice names


-- 
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 post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/c281aa88-df28-4882-8edf-380ff8cddb60%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: Macros to show different results all depending on a single field value?

2016-06-10 Thread 'c pa' via TiddlyWiki
\define Get_He_She(gender)
 {{He_She##$gender$$}}
\end

\define Get_Him_Her(gender)
  {{Him_Her##$gender$$}}
\end

Create tiddlers

title: "He_She"
text: "
# This tiddler is a Data Dictionary that translates gender designations to 
personal pronouns

male: He
female: She

"
type: Data Dictionary (application/x-tiddler-dictionary)

title: "Him_Her"
text: "
# This tiddler is a Data Dictionary that translates gender designations to 
personal pronouns

male: Him
female: Her

"
type: Data Dictionary (application/x-tiddler-dictionary)

-- 
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 post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/c8c718d0-cb48-420b-b884-2a82a6848bd8%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: Why is there no actual "TiddlyWiki For Dummies" book? Someone please write one!

2016-06-10 Thread 'c pa' via TiddlyWiki

Mat says
>> What makes this one different from the previous initiatives from other 
people? 
Nothing
>> What would make it successful
Success = helps me. This is an exercise in setting things up so in 5 years 
I can dig out old code and use it
>> IMO the faint blue font color is difficult to see when white background.
Changed the pallette to dark
>> possible to get tooltips 
That's advanced stuff for a use-case I haven't developed
>> The blue line ... The red dot ... 
Took me hours to make that work. Yeah it sucks. That's one of the apps I'll 
be documenting. Once the documentation is done ... you folks can improve it 
and point to the results so I can use it too.
>> navigation pills
Called that because that is the name of the macro that generates the blue 
lines. I'll change the docs to call them blue lines

Jeremy says
>> talking about documentation improvements: 
http://groups.google.com/group/tiddlywikidocs
Ah ha. Excellent. Lots of requests for things

Josiah says
>> The re-creation of the wheel 
That's what I'm doing. My wheel will be rounder
>> concrete demonstration of END RESULTS 
The direction I'm going but I haven't yet developed the standard structure 
with which to manage those demonstrations. If you look at 
[[crazyListHere]], that's my starting point. I've messed around with some 
fields and using $:/ and I'll probably end up putting each macro in a 
separate tiddler with standard field names to hold standard macro 
documentation components and then write other macros to use that structure 
to generate slides ... or tooltips ... or something
>> active TRAINING modules on the different facets of TW that are dealt 
with through DETAILED USE CASES.
Ahhh ok so this requires yet another structure to be developed
>> In my fantasy is the idea ... 
Ya mine too

Mark says
>> Somebody could write a detailed use case ... There's just too many use 
cases 
Actually I've found that the generalized use cases tend to be bounded. The 
trick is to develop the methodology to lead the user to their particular 
use-case with a different methodology to combine cases to address more 
granular needs. Then identify outliers which can be added to the standard 
pile. To get there requires some technology not currently in TW but folks 
seem to be working on it

-- 
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 post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/dd47b2ef-b118-4e1f-b599-22484e6c6be5%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: Why is there no actual "TiddlyWiki For Dummies" book? Someone please write one!

2016-06-10 Thread 'c pa' via TiddlyWiki
Ed,

>> For total beginners, novices this is useless information.
>> Please NO, jargon to start with as in "individual divs stored in the 
single file" What are "divs"?
>> Why for Pete's sake do you want to explain

Excellent points. Changes made. 

Everyone,

These are the kinds of comments I'm looking for. 

-- 
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 post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/9ba06fed-5616-4a6f-8e1f-4d321f037376%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [tw] Re: TiddlyFox is not signed and may not work in the future

2016-06-08 Thread 'c pa' via TiddlyWiki
I have 47 it saves just fine.

-- 
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 post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/4f2c1ca3-c37a-4b54-8d5d-14cc4e99b644%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: Why is there no actual "TiddlyWiki For Dummies" book? Someone please write one!

2016-06-08 Thread 'c pa' via TiddlyWiki
OK I've started the doc on tiddlyspot here:

http://tw-for-bunnies.tiddlyspot.com/

Please provide comments on style and usability. Right now many of the pages 
are empty.
Also if you have suggested edits, either post the wiki text here or create 
a page of your own and post it here. I'll copy and paste to the doc.

-- 
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 post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/45686ef0-1efe-411f-ac5a-201be5e117b8%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: Why is there no actual "TiddlyWiki For Dummies" book? Someone please write one!

2016-06-06 Thread 'c pa' via TiddlyWiki
So to be clear you want a book, or a wiki on tiddlyspot that gives step by 
step instructions on how to "use" TiddlyWiki. One of the difficulties in 
this is the term "use" which implies use-cases for the product. I've had 
conversations with a number of people who use TiddlyWiki, folks seem to 
have little trouble using TW for the out-of-the-box purpose: to do lists, 
notes tagging, and "outlining a book". The trouble seems to come when folks 
see the endless possibilities of the product and start trying to achieve 
their vision of the perfect tool to perform x, y, or z. 

So a sample outline below . . . please respond with additional topics you 
want covered

What is TW
  What is a wiki
  What is a single page application
  What is a tiddler
  Downloading and installing
Using TW out of the box
  Creating tiddlers
  Deleting tiddlers
  Tagging tiddlers
  Finding and opening tagged tiddlers
  Browsing the open and recently created tiddlers
  Renaming your wiki
  Setting the list of open tiddlers when you start the wiki
  Changing how the wiki looks
  Changing how the wiki behaves
Substituting text
   Macros - writing a macro to insert standard text phrases
   Macros - writing a macro that inserts a phrase with substituted 
text
   Setting variables
   Storing values in tags
   Storing values in a field
   Storing values in a data dictionary
   Storing values in json
Listing things
   Listing tiddlers that have a specific tag
   Listing content from tiddlers with a specific tag
   Listing content from a field
   Listing content from a data dictionary
   Listing content from json
Setting values using a button
   Setting values in a field
   Setting values in a data dictionary
   Setting values in a json
Making things appear and disappear
   Using the $reveal widget
   Using the $list widget
Documenting your code
   Using standard macro names
   Using standard parameter names
   Commenting your code
   Documenting usage of macros
   Creating examples for your macros
Things that are hard to do in TW out-of-the-box
   Passing an index into a list
   Reducing the number of state and temp tiddlers created
   Passing calculated strings to a macro
Example TW applications
   To Do list
   Daily Journals
   Animated buttons

-- 
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 post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/49d4f0d6-fbcc-4548-ab30-2e63f6753706%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [tw] Select tiddler doesn't populate if only one option ??

2016-06-03 Thread 'c pa' via TiddlyWiki
Mark

I always do the following for my selects:

Select source: 
<$select tiddler="$:/Generate_source" default='Incoming'>
* -- *
<$list filter='[tag[DATA]sort[title]]'>
>><$view field='title'/>



-- 
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 post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/420824dd-b05f-49b9-b6de-82fe520ffe25%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [tw] [TW5] Issues understanding filters

2016-06-03 Thread 'c pa' via TiddlyWiki
William,

The code with comments

<$list filter="[is[current]field:catégorie/article|livre/]">

   <$count filter="[field:catégorie/citation/source{!!title}]"/>

    

   <$button message="tw-new-tiddler" class="btn-invisible" 
param="$:/_Template/Citation">cit., 


<$count 
filter="[field:catégorie/note/à_propos_de{!!title}!description[dimensions]]"/>/<$count
 
filter="[field:catégorie/note/search{!!title}!title{!!title}!description[dimensions]]
 
-[à_propos_de{!!title}!description[dimensions]]"/> 
<$button message="tw-new-tiddler" class="btn-invisible" 
param="$:/_Template/Note">notes
<$list filter="[is[current]field:catégorie/conception/]">, <$count 
filter="[field:catégorie/contre-exemple/à_propos_de{!!title}]"/> 
contre-exemples


-- 
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 post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/5c3e6ab5-7c93-4100-b0f9-ec730a2c992a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Unexpected behavior for the allbefore:include operator

2016-06-01 Thread 'c pa' via TiddlyWiki
Good day,

This behavior requires me to add a +[first[]] block and then a +[rest[]] 
block all over the place

Code being executed

<$list filter="one two three four" variable="component">
<$count filter="one two three +[allbefore:include]" />


Expected results

1 2 3 4

Actual results

0 2 3 4

Discussion: I'm using $count allbefore in order to generate index number 
within lists (Very useful as discussed in other posts)

-- 
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 post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/6fa12676-e8b3-4bbc-b1de-006f27f20be2%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: [TW5] list filter; How access particular element and particular output format

2016-05-27 Thread 'c pa' via TiddlyWiki
\define mymacro(first_parameter second_parameter third_parameter)

This is the second parameter: $second_parameter$

\end

\define mymacro2(first_parameter second_parameter third_parameter)

This is the second component of the second parameter: <$set name="part" 
filter="$second_parameter$ +[last[]]">
<>


\end

\define mymacro3(first_parameter second_parameter third_parameter)

This is a link to the second component of the second parameter: <$set 
name="part" filter="$second_parameter$ +[last[]]">
<$link to=<> > <> 


\end

<$macrocall $name="mymacro" first_parameter="aa" second_parameter="bb gg" 
third_parameter="cc" />

<$macrocall $name="mymacro2" first_parameter="aa" second_parameter="bb gg" 
third_parameter="cc" />


<$macrocall $name="mymacro3" first_parameter="aa" second_parameter="bb gg" 
third_parameter="cc" />


-- 
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 post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/0f29ceb0-6e7f-464b-a6a9-76a43ad68c7b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: Query about Makedatauri Macro

2016-05-27 Thread 'c pa' via TiddlyWiki
Josiah,

The purpose of a data uri is to encode a web page or some part of a web 
page into a url. Thus, you don't need to have access to that external 
resource in order to display it. This is great for single page wikis like 
TiddlyWiki.

Example: Clicking on the following . . .(from the datauri example)  
data:text/plain,some%20example%20text
will open a web page with the text in it. It will do this even if you are 
not connected to the web.

To pass the text of a tiddler to a URL use the datauri macro as in the 
example (Except use the title of your text tiddler instead of the jpg used 
in the example

<$macrocall $name="datauri" title="Motovun Jack.jpg" $output="text/plain"/>



-- 
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 post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/e65e9844-fee6-4839-b627-f157b0595b81%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: [TW5] Another way to make multiple tag-like fields

2016-05-23 Thread 'c pa' via TiddlyWiki
Jed,

I created a get all values in a list filter here:

http://cpashow.tiddlyspot.com/#%24%3A%2F_cpa%2Fmodules%2Ffilters%2Fgetfieldlist.js

-- 
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 post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/87a29399-5a45-4f86-aeb0-648b24d93078%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: (Classic) Defining start number in ordered lists

2016-05-23 Thread 'c pa' via TiddlyWiki
! Ordered list

# First item
#* First item child
#*  First item child 
That spans several lines

# Second item
 

-- 
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 post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/7a91e214-6a86-469c-9ef6-08f47fe5cbef%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: [TW5] Button to quickly set tiddler type

2016-05-23 Thread 'c pa' via TiddlyWiki
<$select field="type">
 Regular TiddlyWiki Stuff 
 Plain Text 


-- 
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 post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/146c5535-a156-4f2a-bf2e-5c81195076b8%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: Howto write a book with TD

2016-05-18 Thread 'c pa' via TiddlyWiki
Mario,

TiddlyWiki is not set up to write a book out of the box because there are 
so many methodologies out there. But, once you've decided on a methodology 
you can write macros to help you follow that method.

Let's say you want to use an outliner to write your book, meaning you 
create an outline and then fill in the details. The bottom level details 
would be the text of your book, with the outline forming the chapters and 
sections

1. Create a tiddler named "My Book" with the text <>
2. Save the tiddler (It seems empty)
3. Click on the V (More actions) menu item and click "New Here"
4. Title this tiddler "Chapter 1 - Captain Blargh gets the scurvy"
5. Save (Notice that "My Book" now says "Chapter 1 - Captain Blargh gets 
the scurvy" and if you click on "Chapter 1 - Captain Blargh gets the 
scurvy" it opens the tiddler
6. Click on the V (More actions) menu item in "Chapter 1" and click "New 
Here"
7. Title this one "Section 1 - Introducing Captain Blargh" and save 
(Section 1 - Introducing Captain Blargh shows up in My Book under Chapter 1)
8. Add Chapter 2, 3 , 4 etc, and Sections 1,2,3 in each section so that the 
titles of each section outline the plot of your book
9. Go down as far as you want with the outline. When you get to the bottom, 
start typing the text of your book in each leaf node tiddler.
10. Now its time to print out your book. That macro doesn't come with the 
core TiddlyWiki

Now we ask the question . . .
Has anyone out there written a macro to display the contents of a table of 
contents like this so Mario can display his book?
I'm guessing we'd want each Chapter to be  sections  etc. 
Displaying the Chapter and section text in block quotes or italics and then 
the text nodes with no heading.
Probably also want to set some standard tags for chapter, section, heading, 
text etc. 

That's what's great about this community

-- 
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 post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/02e60b5d-f0cc-46e0-8834-162f15f72c44%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: RoF vs ROF

2016-05-13 Thread 'c pa' via TiddlyWiki
I think you are looking at the difference between a TiddlyLink to a 
non-existing tiddler vs. straight text

ROF does not create a link to the corresponding text because it doesn't 
contain a mixture of upper and lower case letters

RoF creates a tiddlyLink. If there is no tiddler named RoF then it displays 
in italics (= doesn't exist)

-- 
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 post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/f6ab32f3-cf1a-4491-a7af-a7cb4573122d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: Colour Pallete Options

2016-05-04 Thread 'c pa' via TiddlyWiki
Stephen,


[[ControlPanel]]
Select the tab Appearance
Select the tab Pallette

Click on the pallettes in turn until you have the background etc. you want

If you want to add a new pallette In the right side Click on "More / 
Shadows"

Search for $:/palettes/Blanca 


Clone one of those pallettes, give it a new name, and edit the colors
Then that choice will be in the list of pallettes 




-- 
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 post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/88ad5523-7ed8-408f-821e-6725dd79810f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: Using TW5 for project management - nested lists of checkboxes with strikethrough

2016-04-19 Thread 'c pa' via TiddlyWiki
Try this: create the following tiddlers. Using this you store the task 
status as a tag in one tiddler (taskmanager)

title: "taskme"
text: <$checkbox tiddler="taskmanager" tag=<> > 
{{!!title}}

title: mytasks
text: 
* {{What am I doing?||taskme}}
* {{I have some time||taskme}}

-- 
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 post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/fa91f7d4-1426-4f20-abf8-7f5820951e43%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: [TW5] Using sort order field, changing sort order

2016-04-10 Thread 'c pa' via TiddlyWiki
Matthew,

Here's an example of how to do this. I did it as a table. To make it work 
like you want you'll have to edit the html in the example.

http://cpashow.tiddlyspot.com/#Sort%20List

-- 
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 post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/c71e2272-03a1-41a6-8310-137da278c0c3%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: [TW5] Overriding $:/core/images/save-button with a PNG file

2016-04-08 Thread 'c pa' via TiddlyWiki
Excellent:

So what twaddle says is that you need to provide styling for your icon like

.tc-dirty-indicator {border: 3px solid red}

or something like that

-- 
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 post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/0889775d-c3da-4d89-b46b-391fe2e99640%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: A View Mode Editor and a simple Calcualtor

2016-04-08 Thread 'c pa' via TiddlyWiki
Yes the title is inviolate, meaning if you want to manage first name and 
surname as separate fields (make sure to add Middle Initials) and display 
the record as {{!!first}} {{!!mi}} {{!!last}} then I would go with the 
GUUID idea and hide the title. I'd also store the {{!!first}} {{!!mi}} 
{{!!last}} value as the caption in the tiddler so you can display the 
fullname in TOCs etc.

I built a little CRM demo here: http://cpashow.tiddlyspot.com/#CRM to show 
how I build relationships. What's missing with this is the one to many 
relationships (which I'm still working on) (and I didn't create a tiddler 
named "call" to provide the edit template for phone calls.


-- 
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 post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/04d7fb40-b105-4d31-ba44-b84c5cc6152a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: A View Mode Editor and a simple Calcualtor

2016-04-08 Thread 'c pa' via TiddlyWiki
Hegert,

The techniques that I am using are as follows:

1. Create a defined tag for each object type (person, company, call, 
document, etc. ) (tag names are all lower case)
2. Create a tiddler for each object type tag and tag that tiddler with 
"object"
3. Edit the object tiddler to create an edit screen for the object type to 
allow the user to edit fields of the object

e.g.:
title: person
text:
First Name: <$edit field="firstname" />
Surname: <$edit field="surname" />
Employer: (One tiddler reference allowed) <$select field="employer">
 -- 
<$list filter="[tag[company]]">
> ><>


Siblings: (One to many relationship) <>

4. Create a viewTemplate that displays the object tiddler at the top of the 
tiddler (So the user, when directly viewing the tiddler, can edit the 
fields) (Note they cannot edit the field: text)
5. In addition I almost always create a navigation tiddler with <> and an <> widgets so I can manage the objects 
from a central point

I've been working on a standardized set of macros for this that I've posted 
as the listHere tiddler on cpashow.tiddlyspot.com but I'm still changing 
things for wvwey new tiddlywiki I create but I've got lots of code you can 
use.

-- 
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 post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/86a5c759-c4dc-4d8e-a254-c591948c9910%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: Linking to definitions

2016-04-08 Thread 'c pa' via TiddlyWiki
Lyn,

Yes. TiddlyWiki can be used for context based definitions. Of course to 
make it work you need well defined contexts and terms. 
I've created a demo of what you can do with context based definitions here: 
http://cpashow.tiddlyspot.com/#Context%20based%20definitions

I've often thought about this problem. Could you describe what you are 
thinking of? Provide an example of the contexts and terms you would want to 
use?

-- 
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 post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/461cba16-e9b5-481a-b09c-c2f6b9112dd7%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: Linking to definitions

2016-04-05 Thread 'c pa' via TiddlyWiki
Ah hah. Try this

\define showTerm(term)
$term${{glossary##$term$}}
\end

TermDefinition
<$list variable="term" filter="[[glossary]indexes[]]" >
<$macrocall $name="showTerm" term=<> />



As shown here: 
http://cpashow.tiddlyspot.com/#glossary:glossary%20[[List%20Terms]]

-- 
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 post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/56a02b69-1f81-44f2-9955-7510ae547acb%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: A View Mode Editor and a simple Calcualtor

2016-04-05 Thread 'c pa' via TiddlyWiki
To edit a tiddler you have open in view mode you need to have edit widgets 
embedded in the page template. The downside, you can't edit the tiddler's 
text in view mode. You can easily change field values in view mode.  by 
having the template create select and/or edit widgets. 
The other option is to edit a Tiddler you don't have open by embedding a 
screen of widgets in the body of a different tiddler then linking it to 
edit different tiddlers based on a select.

I've created a demo here: http://cpashow.tiddlyspot.com/#crazyListHere

-- 
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 post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/66b14f3e-0345-4f1c-a930-c0bc3ae3b749%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: Linking to definitions

2016-04-04 Thread 'c pa' via TiddlyWiki
You could use the regex filter to search the text of your glossary. Or you 
could convert your glossary to type=json 
title: glossary
text: 

{
"aTerm":"aDefiniton",
"aSecondTerm":"aSecondDefinition"
}
Type: application/json

And then link using: {{glossary##aTerm}}


-- 
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 post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/364ea764-c28a-4c47-98fc-6d863037cd38%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: Multi-User & Accountability in Corp Env

2016-04-04 Thread 'c pa' via TiddlyWiki
>> Multi-User logins 
TiddlyWiki is a single user wiki and has no multi-user capability. There is 
work on TWederation to add multi-user functionality but it is nowhere near 
corporate ready

>> Signing of Tiddlers
TiddlyWiki marks each Tiddler with the author who created and modified each 
tiddler but each user would have to edit the author field for the entire 
Wiki to set that for each user. Once again not corporate ready

-- 
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 post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/0f3bb53d-2567-42c2-9d3a-1250ca6eb908%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [tw] [TW5] Filter output "format" is either links or string - that's a problem!

2016-04-01 Thread 'c pa' via TiddlyWiki
You can use $list instead of set
Paste this into your tiddler and you get one item at a time:

<$list variable="first" filter="[list[tid!!text]first[]]">
 <>


<$list variable="second" filter="[list[tid!!text]nth[2]]">
 <>


<$list variable="third" filter="[list[tid!!text]nth[3]]">
 <>


-- 
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 post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/5c4b0133-c6da-475f-9915-2540e5d1f2c5%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: Create a list of data-dictionary tiddlers that contain a certain text field

2016-04-01 Thread 'c pa' via TiddlyWiki
Put an X in the list like this:

<$list filter="[getindex]">
X


-- 
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 post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/64d8a0a4-28b5-4c2a-ada6-80813f73300a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: Image before Tiddler possible?

2016-03-31 Thread 'c pa' via TiddlyWiki
There are a bunch of images in the tiddlywiki core

You can list them by creating a tiddler with this as the text. You can 
place them into your text by copying the {{image name}} text into your 
tiddler. I personally haven't yet figured out how to remember the method to 
paste new images into TW but, once you get one in, you can transclude it 
into other tiddlers.

\define getImage(image)
$image$ `{{$:/core/images/$image$}}`<$transclude 
tiddler="$:/core/images/$image$" />
\end
<$list filter="[all[shadows+tiddlers]removeprefix[$:/core/images/]]">
<$macrocall $name="getImage" image=<> />


-- 
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 post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/1e3d0ef5-d238-4910-913b-ebd6bdb08873%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: Create a list of data-dictionary tiddlers that contain a certain text field

2016-03-31 Thread 'c pa' via TiddlyWiki
OK first you should be using application/json tiddlers rater than 
Data-dictionary tiddlers because you are defining the same variable with 
different values in 2 different places
The easiest solution is to use the room name instead of X and just return 
the room names

title: $:/data/Kitchen
text:
{
"Sink":"Kitchen",
"Refrigerator":"Kitchen"
}
Type: application/json

title: $:/data/Bathroom
text: 
{
"Sink":"Bathroom",
"Toilet":"Bathroom"
}
Type: application/json

title: Sink
text:
<$list filter="[getindex]">



-- 
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 post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/4eb024bb-275c-4122-8e13-41a57fd598c2%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: CSS for tooltips in link widget?

2016-03-21 Thread 'c pa' via TiddlyWiki


On Monday, March 21, 2016 at 8:34:08 PM UTC-7, c pa wrote:
>
> David,
>
> I looked into it. TiddlyWiki 5 converts the tooltip attribute into an html 
> title attribute. The title attribute can't be styled. So, to get the effect 
> you are looking for you'ld have to do some css trick like those shown on 
> the w3schools site here
>
> http://www.w3schools.com/css/css_tooltip.asp
>
> I created a demo here: 
> http://cpashow.tiddlyspot.com/#:[[Tooltip%20Stylesheet]]%20[[Tooltip%20Demo]] 
> 
>
> \define tooltipspan(tooltip, text)
> $text$
>   $tooltip$
> 
> \end
>
> <>
>
>
> \define tooltipdiv(tooltip, text)
> $text$
>   $tooltip$
> 
> \end
>
> with: stylesheet =
> .tooltip {
> position: relative;
> display: inline-block;
> border-bottom: 1px dotted black;
> }
>
> .tooltip .tooltiptext {
> visibility: hidden;
> width: 120px;
> background-color: black;
> color: #fff;
> text-align: center;
> border-radius: 6px;
> padding: 5px 0;
> position: absolute;
> z-index: 1;
> bottom: 150%;
> left: 50%;
> margin-left: -60px;
> }
>
> .tooltip .tooltiptext::after {
> content: "";
> position: absolute;
> top: 100%;
> left: 50%;
> margin-left: -5px;
> border-width: 5px;
> border-style: solid;
> border-color: black transparent transparent transparent;
> }
>
> .tooltip:hover .tooltiptext {
> visibility: visible;
> }
>

-- 
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 post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/64c60ea5-d119-43ac-882d-d00640f34feb%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: [TW5] How to put "[["<>"]]" to tiddler?

2016-03-05 Thread 'c pa' via TiddlyWiki
OK,

I see two spots in your code where you are using variables that are not 
local to the ttt macro. I've always had problems when I don't pass in the 
variables explicitly

Try calling the macro with

<$macrocall $name="ttt" listName=<> 
tiddlerName=<> />

And change the macro like this so it passes in the variables and makes them 
local:

\define ttt(listName, tiddlerName) 
<$radio  tiddler='$:/temp/generated-list-demo-state-$listName$'   
value="[[10517]]"> целая пицца
<$radio  tiddler='$:/temp/generated-list-demo-state-$listName$'   
value="[[10011]]"> кусок  пиццы
<$tiddler tiddler={{$:/temp/generated-list-demo-state-$listName$}}>

<$list filter="[[$tiddlerName$]]" >  
   {{||$:/_tile_images}} 


\end 


<$set name=TestList value=<>  > 
<>


-- 
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 post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/cd1cd1e6-258d-408b-b835-05db7008ad3f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: [TW5] How to put "[["<>"]]" to tiddler?

2016-03-05 Thread 'c pa' via TiddlyWiki
Ah now I see,

I made a sample site for you here 

:

http://cpashow.tiddlyspot.com/#Flower%20Editor:macro_flowerchooser%20[[Flower%20Display]]%20[[Flower%20Editor]]




-- 
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 post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/5061fd59-4e62-4ac5-b7ed-d624d7906c14%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


  1   2   >