[tw] Re: How-to?: Make a button in the sidebar for multiple action-possibilities (like the "more actions")

2018-02-10 Thread 'Surya' via TiddlyWiki
Okay, you're right :-)

I tried it before in my own wiki, on tiddlywiki.com it worked.

But, being honest- I will stay with MyMenus. But, if I will be one time not 
anymore satisfied with MyMenus I will come back to your solution :-)

-- 
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/b3735aba-174c-41ee-8940-7000d91acaec%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: How-to?: Make a button in the sidebar for multiple action-possibilities (like the "more actions")

2018-02-10 Thread stefct4
On Sunday, February 11, 2018 at 1:19:52 AM UTC+1, Surya wrote:
>
> I meant with "it doesn't work": I could choose the actions, but then 
> nothing happened...
>

The first action requires the tiddler "SampleNotification", which exists on 
https://tiddlywiki.com/, but not in an empty wiki (I often use 
https://tiddlywiki.com/ as a playground, because it has some useful 
built-in tiddlers, and because anyone can access it). Maybe this was the 
reason why it didn't work? The second option doesn't do anything because no 
action is defined. 

Cheers,

Stef

-- 
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/c48258ea-16c2-499f-a7e6-756084445502%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: How-to?: Make a button in the sidebar for multiple action-possibilities (like the "more actions")

2018-02-10 Thread 'Surya' via TiddlyWiki
I meant with "it doesn't work": I could choose the actions, but then 
nothing happened...

-- 
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/c9013f11-9094-4ee1-a0ef-4f2347b3dc3e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: How-to?: Make a button in the sidebar for multiple action-possibilities (like the "more actions")

2018-02-10 Thread 'Surya' via TiddlyWiki
Hi,

hmmm... Well, I want to be honest... I didn't spend long time with your 
suggestion, just tried it 2 times

I am just almost happy with my solution with the MyMenus :-)

-- 
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/1e2f0fda-5d39-4df8-a387-2b897dfacc5f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: How-to?: Make a button in the sidebar for multiple action-possibilities (like the "more actions")

2018-02-10 Thread stefct4
Hi Surya, 

On Sunday, February 11, 2018 at 12:47:15 AM UTC+1, Surya wrote:
>
> But... I tried it- it didn't work, not with your example (not edited at 
>> all) and also not with my wanted.
>>
>
This is odd - it works fine when I paste my code into an empty tiddler 
on https://tiddlywiki.com/ (I didn't try to include it into the sidebar, 
though - this might be the biggest challenge).

Stef 

-- 
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/7799aa6f-8843-49b0-81f5-470e6999ec4c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: How-to?: Make a button in the sidebar for multiple action-possibilities (like the "more actions")

2018-02-10 Thread 'Surya' via TiddlyWiki
Hi Stef,

thanks for your answer!

I believe you could use the SelectWidget (simply define all desired actions 
> within RevealWidgets in the "my-actions" macro):
>

> \define my-actions()
> <$reveal type="match" state="$:/state/SelectedOption" text="option1">
> <$action-sendmessage $message="tm-notify" $param="SampleNotification"/>
> 
> \end
>
> <$select tiddler="$:/state/SelectedOption" actions=<>>
> Show Notification
> My Second (Undefined) Action
> 
>
> But... I tried it- it didn't work, not with your example (not edited at 
> all) and also not with my wanted.
>

I found now a solution with the MyMenu-Plugin from Tony.
And made a very different sidebar  as before the default one :-)

All the buttons you can choose to display on the page toolbar, I have 
unchecked now. They are not visible there anymore.
The save-wiki-button is now on the top-right-bar together with the 
MyMenu-buttons (the Jump-Menu, one menu-button for all 
new-tiddler-possibilities & one menu-button for the several buttons being 
before on the page toolbar.
I made the top-right-bar with margin-top to come more deeper- now that bar 
is on the same height as the search on the sidebar (unfortunately only 
optical, not in "real", because of that the search-field and the 
advanced-search-button doesn't move with the buttons /menus being on the 
top-right-bar).

With that solution a saved quite a lot space on the sidebar & it dosen't 
look anymore so "full with buttons" :-)
To see at http://surya-diy.tiddlyspot.com/

Surya

-- 
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/c8fc56b6-418a-45fd-9bd4-37d383393e49%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: How-to?: Make a button in the sidebar for multiple action-possibilities (like the "more actions")

2018-02-10 Thread stefct4
Hi Surya,

On Thursday, February 8, 2018 at 9:33:54 PM UTC+1, Surya wrote:
>
>
> I'd like to build a button in the sidebar (next to the other buttons) for 
> building new tiddlers by templates.
>
> But I want to have several possibilities for new-tiddler-templates in this 
> button.
> These should be choosable, when I click on this one button (like the "more 
> actions"-button with the arrow-down).
>

I believe you could use the SelectWidget (simply define all desired actions 
within RevealWidgets in the "my-actions" macro):

\define my-actions()
<$reveal type="match" state="$:/state/SelectedOption" text="option1">
<$action-sendmessage $message="tm-notify" $param="SampleNotification"/>

\end

<$select tiddler="$:/state/SelectedOption" actions=<>>
Show Notification
My Second (Undefined) Action


You can try the code above on https://tiddlywiki.com/ 

Cheers,

Stef

-- 
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/16021d5e-c03b-426b-aec4-ee03b071f093%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: How-to?: Make a button in the sidebar for multiple action-possibilities (like the "more actions")

2018-02-09 Thread 'Surya' via TiddlyWiki
Hi Tony,

I had a look at it, and it seems to be very interesting :-))

I thought before, your plugin would increase the wiki a lot, but it is not 
so much :-)

I will try it- Thanks!
Surya

-- 
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/c972dd6e-dd6b-42d7-8add-d7a55e5cb6eb%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.