[tw] Re: Is a combination of the select widget and edit tiddler field value possible?

2015-05-09 Thread Måns
Hi Matabele

I remember you posted this at an earlier occasion.

It reminds me of Eric's StorySaverPlugin, StoryViewerPlugin and 
OpenStoryMacro: 
http://tiddlytools.com/#StorySaverPluginInfo%20StoryViewerPluginInfo

It seems to me that your stories tab can do for TW5 what those plugins 
do/did for TW classic.

Thank you for the reminder :-) 

I don't think I can adapt it for my special purpose though.
 

Cheers Måns Mårtensson

Den fredag den 8. maj 2015 kl. 17.07.48 UTC+2 skrev Matabele:
>
> Hi
>
> I'm not sure what you're looking for, but I have done something along 
> these lines at: http://gwiz.tiddlyspot.com
>
> Open the slider to expose the normal sidebar, and select the 'Stories' 
> tab. The 'Show Tagged' select box displays all tiddlers with a given tag in 
> the story river. The 'Show Snapshot' select box displays a set of tiddlers 
> from options generated in  lookup table. Perhaps these ideas could be 
> adapted for your purpose.
>
> regards 
>
> On Friday, May 8, 2015 at 2:40:44 PM UTC+2, Måns wrote:
>>
>> Hi TwWizards
>>
>> I did create two different "choosers" to be able to either write the 
>> title of a tiddler or choose an already existing tiddler (tagged with 
>> "note") via the select widget.
>> I'd favor a combination of the two widgets.
>> Is it already possible to do?
>>
>> I guess the end result would resemble the tag chooser.. - 
>>
>> Maybe what I am asking for is a select widget which allows us to add an 
>> option by typing text in the button?
>>
>> 1) <$select tiddler="$:/temp/Stealth" field='newtitle' 
>> default=<>> <$list filter='[tag[note]]'> <$view 
>> field='title'/>  
>>
>> 2) <$edit tiddler="$:/temp/Stealth" field="newtitle" 
>> class="tc-edit-texteditor" default="ooo" placeholder="title"/> 
>>
>> Cheers Måns Mårtensson
>>
>

-- 
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 http://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/9e311065-77e8-4c8d-b6a5-33b39ff2b05d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: Is a combination of the select widget and edit tiddler field value possible?

2015-05-09 Thread Måns
Hi Danielo

Thanks.

I guess it was:  "<$text text={{!!title}}/>" and an extra list filter 
closure "" - a left over from the grouped lists of the type list 
tiddler which was showing up...

It is difficult to know what to leave out when you copy things which are 
over your head - like I did here.

It is still great fun to go through the process of finding out how it works 
and have it working in the end :-)

Cheers Måns Mårtensson


Den lørdag den 9. maj 2015 kl. 13.04.28 UTC+2 skrev Danielo Rodríguez:
>
> Hello Mans, 
>
> You have to add !is[current] to the list filter of the drop down. 

-- 
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 http://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/bae06942-2188-49df-8d38-f0400910c10e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: Is a combination of the select widget and edit tiddler field value possible?

2015-05-09 Thread Danielo Rodríguez
Hello Mans, 

You have to add !is[current] to the list filter of the drop down. 

-- 
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 http://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/875f99b9-7393-4aec-bf1f-362e46d551d7%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: Is a combination of the select widget and edit tiddler field value possible?

2015-05-08 Thread Måns
Hi Danielo, Andrew and Matabele

Than you very much for your assistance. @Danielo I followed your advice by 
making a clone of the $:/core/ui/EditTemplate/type, removed the 
$:/tag/EditTemplate tag - and started experimenting.

I came very close to what I had in mind: 

http://kinabog.tiddlyspot.com/#%24%3A%2Fplugins%2Fm%C3%A5ns%2Fwikinote%2Fselectnote

$:/plugins/måns/wikinote/selectnote 


There are however still some "hickups" with my down scaled code taken from 
the $:/core/ui/EditTemplate/type 

 tiddler...

Don't know why it shows the title of the current tiddler at the end of the 
listed note titles and breaks the end of the list filter widget? - It's 
probably just a trival fault I made... - I can't make the tm-remove-field 
widget delete the "newtitle" field value from the $:/temp/Stealth tiddler 
either...

If you can see what I should change - please give me a hint :-)


<$fieldmangler>
<$edit-text tiddler="$:/temp/Stealth" field="newtitle" tag="input" 
default="" focusPopup=<> 
class="tc-edit-typeeditor tc-popup-handle"/> <$button popup=<> class="tc-btn-invisible 
tc-btn-dropdown" tooltip="">{{$:/core/images/down-arrow}} 
<$button message="tm-remove-field" tiddler="$:/temp/Stealth" 
field="newtitle" class="tc-btn-invisible tc-btn-icon" 
tooltip="">{{$:/core/images/delete-button}}



<$reveal state=<> type="nomatch" 
text="" default="">

<$linkcatcher to="$:/temp/Stealth!!newtitle">
<$list filter="[tag[note]]"><$link to={{!!title}}><$view 
field="title"/>


<$text text={{!!title}}/>








Cheers Måns Mårtensson

Den fredag den 8. maj 2015 kl. 15.06.55 UTC+2 skrev Danielo Rodríguez:
>
> Hello Mans, what you would probably need is a popup for a edit field. 
> One example of this is the type field on the edit template. Let me know if 
> that is what you want or not.
>

-- 
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 http://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/127206e2-26b6-42cd-be95-939fc3f6e61d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: Is a combination of the select widget and edit tiddler field value possible?

2015-05-08 Thread Matabele
Hi

I'm not sure what you're looking for, but I have done something along these 
lines at: http://gwiz.tiddlyspot.com

Open the slider to expose the normal sidebar, and select the 'Stories' tab. 
The 'Show Tagged' select box displays all tiddlers with a given tag in the 
story river. The 'Show Snapshot' select box displays a set of tiddlers from 
options generated in  lookup table. Perhaps these ideas could be adapted 
for your purpose.

regards 

On Friday, May 8, 2015 at 2:40:44 PM UTC+2, Måns wrote:
>
> Hi TwWizards
>
> I did create two different "choosers" to be able to either write the title 
> of a tiddler or choose an already existing tiddler (tagged with "note") via 
> the select widget.
> I'd favor a combination of the two widgets.
> Is it already possible to do?
>
> I guess the end result would resemble the tag chooser.. - 
>
> Maybe what I am asking for is a select widget which allows us to add an 
> option by typing text in the button?
>
> 1) <$select tiddler="$:/temp/Stealth" field='newtitle' 
> default=<>> <$list filter='[tag[note]]'> <$view 
> field='title'/>  
>
> 2) <$edit tiddler="$:/temp/Stealth" field="newtitle" 
> class="tc-edit-texteditor" default="ooo" placeholder="title"/> 
>
> Cheers Måns Mårtensson
>

-- 
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 http://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/611e7e44-6c0a-4c68-a83c-260e99bfaf93%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: Is a combination of the select widget and edit tiddler field value possible?

2015-05-08 Thread Danielo Rodríguez
Hello Mans, what you would probably need is a popup for a edit field. 
One example of this is the type field on the edit template. Let me know if 
that is what you want or not.

-- 
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 http://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/c8deba9f-d0ab-4466-9033-5eb0b1ce9d04%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: Is a combination of the select widget and edit tiddler field value possible?

2015-05-08 Thread Andrew
That's what I'm trying to do with 
http://t5a.tiddlyspot.com/#Add%20a%20new%20field%20Drop%20Down. It's called a 
combo box I think. I'm not a programmer, just a hacker so now maybe we can get 
some help? One of my attempts kind of works but I'm having trouble making it 
with tiddlywiki native tools. Thanks.

-- 
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 http://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/4b7b5b63-801a-46db-b794-03d77521e3b9%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: Is a combination of the select widget and edit tiddler field value possible?

2015-05-08 Thread Måns
This is what I've got so far: 
http://kinabog.tiddlyspot.com/#%24%3A%2Fplugins%2Fm%C3%A5ns%2Fwikinote%2Feditor

Den fredag den 8. maj 2015 kl. 14.40.44 UTC+2 skrev Måns:
>
> Hi TwWizards
>
> I did create two different "choosers" to be able to either write the title 
> of a tiddler or choose an already existing tiddler (tagged with "note") via 
> the select widget.
> I'd favor a combination of the two widgets.
> Is it already possible to do?
>
> I guess the end result would resemble the tag chooser.. - 
>
> Maybe what I am asking for is a select widget which allows us to add an 
> option by typing text in the button?
>
> 1) <$select tiddler="$:/temp/Stealth" field='newtitle' 
> default=<>> <$list filter='[tag[note]]'> <$view 
> field='title'/>  
>
> 2) <$edit tiddler="$:/temp/Stealth" field="newtitle" 
> class="tc-edit-texteditor" default="ooo" placeholder="title"/> 
>
> Cheers Måns Mårtensson
>

-- 
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 http://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/c1add351-9679-493b-9b64-f48ce601d8be%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.