New Location on Tiddlers?

99 views
Skip to first unread message

TW Tones

unread,
Jul 22, 2020, 8:11:24 PM7/22/20
to TiddlyWiki
Folks,

If you use the Fold bar button, selected inside the View Toolbar settings. The fold icon appear in a left hand column of each folded tiddler. In fact it is vertically centred and the whole column is clickable.

I am asking for help because my css and page layout skills are not strong. 

I would like to introduce buttons in a right right had column on each tiddler in a similar manner to the fold bar, but I would like to be able to place them at the top, middle or bottom of this column. Can anyone guide me to creating such a column? ideally in both view and edit modes.

It may also be useful to create buttons that stay in place in this column as the tiddler is scrolled.

Why,
  • I see a lot of opportunities to add buttons to jump to the top or bottom of the current tiddler, or top of bottom of the current story and this seems a nice place to have them, saving screen real estate, and making them "ever visible".
  • This may be a suitable place for introducing other conditional "buttons" like allowing one to conditionally display buttons to change the tiddler view 
Thanks in advance
Tony



Mat

unread,
Jul 23, 2020, 9:38:03 PM7/23/20
to TiddlyWiki
I can likely help you. I'm guessing you'll put the actual buttonwigdets in some viewtemplate, right? If you put together such a viewtemplate, or how/wherever you'll put them, with some dummy buttons, I'll position them for you.

<:-)

TW Tones

unread,
Jul 23, 2020, 10:07:28 PM7/23/20
to TiddlyWiki
Mat, Thanks, that would be great, 

I will then interrogate how you do it.

Perhaps name a tag such as $:/tags/right-vertical-toolBar
  • Then tag one or more  existing view template buttons with the tag
As suggested I would like to have a top/middle and bottom set of buttons. But I can work that out later, is there a float top/bottom I wonder.
  • I suppose this would need additional tags or some other indicator?
Eventually I would like to have a left vertical as well, like the current FoldBar "fold" indicator.

However an example test link/button without the icon would be 
<div style="text-align: center;"> <a href="#" title="Jump to top of page" >{{$:/PSaT/to-top/icon}}</a> </div>
My icon for this in svg attached here in a tid file

This button jumps to top of page.

In anticipations.

Speculation;
  • If invisible unless used this could go into the core
  • Finding opportunities elsewhere in the page to host toolbars or other content would be a helpful set of hacks to include in the core
    • One example would be a title prefix and suffix position where one could add content such as chapter number (computed from position in tag list)
  • Why do I say "In the core" because then no core overwrite will be necessary in future, increasing hackability and transferability of solutions.
  • I am also interested in being able to set a maximum width or number of buttons on the view toolbar, before it uses a second line (Below the current float right), and a tag to force a button to appear on the second line if desired. This is important for wikis using long textual tiddler titles.
  • I would like to see a standard pre and Post Body position as well, but this can be done on demand with viewTemplate tags, unlike this request.

Thanks again, I hope my extra notes are inspirations, not over the top or unnecessarily complex.

Regards
TW Tones
$ _PSaT_to-top_icon.tid

Birthe C

unread,
Jul 23, 2020, 10:30:06 PM7/23/20
to TiddlyWiki
TW Tones,

Maybe have a look at Jans sidecontrols plugin https://szenio.de/Grid/#%24%3A%2Fplugins%2FJJ%2Fsidecontrols

That looks and works rather nice, I think.

Birthe

TW Tones

unread,
Jul 23, 2020, 10:50:31 PM7/23/20
to TiddlyWiki
Mat,

Births example is close to what I want, but replaces the toolbar, and does not include left. So only if you have time to consider it.

Birthe,

This looks like enough for me to reuses and get what I want, But the larger picture still Holds.

Thanks very much. I don't recall seeing this.

PS I just tested in on my playground :)

Regards
Tony

Birthe C

unread,
Jul 23, 2020, 11:23:07 PM7/23/20
to TiddlyWiki
TW Tones,

You want something for the left....Mat did that long time ago tiddlersidebar
 I remember playing a lot wit that one, at that time.

Birthe

TW Tones

unread,
Jul 24, 2020, 2:25:12 AM7/24/20
to TiddlyWiki
Birthe

You know so much about tiddlywiki. Thanks

TW Tones

Mat

unread,
Jul 24, 2020, 3:36:57 AM7/24/20
to TiddlyWiki
 TW Tones wrote:
Birthe
You know so much about tiddlywiki. Thanks

Yea, Birthe knows more about my stuff than I do;  TiddlerSidebar - I had totally forgotten about it and it's not in my notes.

@TW Tones - would you say you have enough examples for your original question or do you need more help?

<:-)


Birthe C

unread,
Jul 24, 2020, 4:18:02 AM7/24/20
to TiddlyWiki
Mat,

Is is in your digital notes. You link to TiddlerSidebar from Twaddle, I promise I am not stalking you. :-D
Looking through my own old wikies, I must say that your thankyou plugin is effective in collecting everything I have tested at some point.

TW Tones,

I do like the ideas but at the same time I find it funny, that the discussion is always about making the user interface simpler.
Let' see: Ton Gerner starting the uptoolbar trend, Saq made use of the info panel, Mat used the left tiddlerbar, Jan the right....Tony I am afraid you are left to find a use for the bottom bar......LOL

Or find a way for a collection of hidden interchangeable features.

Birthe

Mat

unread,
Jul 24, 2020, 4:32:18 AM7/24/20
to TiddlyWiki
Birthe C wrote:
Is is in your digital notes. You link to TiddlerSidebar from Twaddle, I promise I am not stalking you. :-D

Well, still keeping track of TWaddle probably falls under the stalking category... but then, you're the only stalker I want to have! ;-)
 
....Tony I am afraid you are left to find a use for the bottom bar......LOL

Ha ha - brilliant!!!

<:-)

TW Tones

unread,
Jul 24, 2020, 5:24:00 AM7/24/20
to TiddlyWiki
Birthe

I thing the bottom bar is already being used. :(

But all these solutions are great examples of what can be done. I would like to see the positions become part of the core to add hackability for all. we but stand on the shoulders of giants.

Tw tones

Mat

unread,
Jul 24, 2020, 5:32:54 AM7/24/20
to TiddlyWiki
TW Tones wrote:

I would like to see the positions become part of the core to add hackability for all.


Isn't this what the discussed layout changes are all about?
 

we but stand on the shoulders of giants.


Indeed, Jeremy is tall.

<:-)

TW Tones

unread,
Jul 24, 2020, 5:52:40 AM7/24/20
to TiddlyWiki
Mat

Yes it is ultimately about that. Vivid got in the way.

The reason I am concerned with it now is because I have all the navigation tools I want but nothing for long tiddlers and a good place for top of page. Tiddler right column top middle and bottom would be very help full.

Thanks for your help I thing I have enough for now.

Regards
Tony

Reply all
Reply to author
Forward
0 new messages