Google Groups Home
Help | Sign in
How do I edit MPTW view toolbar?
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  14 messages - Collapse all
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
Eric Weir  
View profile
 More options 14 Oct, 13:49
From: Eric Weir <eew...@bellsouth.net>
Date: Tue, 14 Oct 2008 08:49:50 -0400
Local: Tues 14 Oct 2008 13:49
Subject: How do I edit MPTW view toolbar?
Below is a copy of the view toolbar definition from the MPTW
ViewTemplateToolbar in MptwTheme. X

    <span macro='toolbar closeTiddler closeOthers +editTiddler
    deleteTiddler > fields syncing permalink references jump'></span>
    <span macro='newHere label:"new here"'></span><span
    macro='newTiddler label:"new tiddler"'></span>

As you will notice, the "edit" and "delete" commands are next to each
other. I'd like to move the "delete" command to the far right end of the
toolbar. How do I do that?

Thanks,
------------------------------------------------------------------------
Eric Weir
Decatur, GA  USA
eew...@bellsouth.net


    Reply    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message, you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
wolfgang  
View profile
 More options 14 Oct, 13:54
From: wolfgang <wolfgangl...@gmail.com>
Date: Tue, 14 Oct 2008 05:54:22 -0700 (PDT)
Local: Tues 14 Oct 2008 13:54
Subject: Re: How do I edit MPTW view toolbar?
Like this:

    <span macro='toolbar closeTiddler closeOthers +editTiddler
    > fields syncing permalink references jump deleteTiddler'></span>
    <span macro='newHere label:"new here"'></span><span
    macro='newTiddler label:"new tiddler"'></span>

W.


    Reply    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message, you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Eric Weir  
View profile
 More options 14 Oct, 17:11
From: Eric Weir <eew...@bellsouth.net>
Date: Tue, 14 Oct 2008 12:11:46 -0400
Local: Tues 14 Oct 2008 17:11
Subject: Re: [tw] Re: How do I edit MPTW view toolbar?

On 10/14/2008 wolfgang wrote:
>  Like this:

>     <span macro='toolbar closeTiddler closeOthers +editTiddler
>     > fields syncing permalink references jump deleteTiddler'></span>
>     <span macro='newHere label:"new here"'></span><span
>     macro='newTiddler label:"new tiddler"'></span>

Thanks, wolfgang. That was one possibility that occurred to me, but I
don't know doodley.

Sincerely,
------------------------------------------------------------------------
Eric Weir
Decatur, GA  USA
eew...@bellsouth.net


    Reply    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message, you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Eric Weir  
View profile
 More options 14 Oct, 17:36
From: Eric Weir <eew...@bellsouth.net>
Date: Tue, 14 Oct 2008 12:36:07 -0400
Local: Tues 14 Oct 2008 17:36
Subject: Re: [tw] Re: How do I edit MPTW view toolbar?
On 10/14/2008 Eric Weir wrote::

> Thanks, wolfgang. That was one possibility that occurred to me . . . .

Didn't work -- "delete" doesn't show up at all. I tried replicating the
macro call for newTiddler and learned that deleteTiddler is not a macro.
That and what you suggested exhaust the possibilities I imagined.

Anything else I could try?

Thanks,
------------------------------------------------------------------------
Eric Weir
Decatur, GA  USA
eew...@bellsouth.net


    Reply    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message, you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
wolfgang  
View profile
 More options 14 Oct, 19:11
From: wolfgang <wolfgangl...@gmail.com>
Date: Tue, 14 Oct 2008 11:11:15 -0700 (PDT)
Local: Tues 14 Oct 2008 19:11
Subject: Re: How do I edit MPTW view toolbar?
Hi Eric,

> Anything else I could try?

.. what I suggested always worked for me.

Are you sure the MptwTheme is even on - and no other theme or
ViewTemplate or the ToolbarCommands shadowed tiddler?

Regards,

W.


    Reply    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message, you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
wolfgang  
View profile
 More options 14 Oct, 19:18
From: wolfgang <wolfgangl...@gmail.com>
Date: Tue, 14 Oct 2008 11:18:18 -0700 (PDT)
Local: Tues 14 Oct 2008 19:18
Subject: Re: How do I edit MPTW view toolbar?

>     <span macro='toolbar closeTiddler closeOthers +editTiddler
>     > fields syncing permalink references jump deleteTiddler'></span>
>     <span macro='newHere label:"new here"'></span><span
>     macro='newTiddler label:"new tiddler"'></span>

also, are you aware that the > sign in the toolbar definition is
actually what appears as the 'more' in a tiddler toolbar?
Which, when clicked, reveals further toolbar commands which are
positioned on the right side of the > sign in the toolbar definition.
As the deleteTiddler command actually is.

W.


    Reply    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message, you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Eric Weir  
View profile
 More options 15 Oct, 03:56
From: Eric Weir <eew...@bellsouth.net>
Date: Tue, 14 Oct 2008 22:56:56 -0400
Local: Wed 15 Oct 2008 03:56
Subject: Re: [tw] Re: How do I edit MPTW view toolbar?

On 10/14/2008 wolfgang wrote:
>  Are you sure the MptwTheme is even on - and no other theme or
>  ViewTemplate or the ToolbarCommands shadowed tiddler?

I don't know what you mean "is the MptwTheme on." It's tagged with
systemTheme. Does that answer the question. Also, when I made the change
you suggested, the "delete" command disappeared. That suggests to me
that MptwTheme is controlling.

I don't know whether ToolbarCommands needs to be tagged or not, but it
is not, and making changes to it has no effect on the commands that are
displayed.

Thanks,
------------------------------------------------------------------------
Eric Weir
Decatur, GA  USA
eew...@bellsouth.net


    Reply    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message, you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Eric Weir  
View profile
 More options 15 Oct, 04:05
From: Eric Weir <eew...@bellsouth.net>
Date: Tue, 14 Oct 2008 23:05:39 -0400
Local: Wed 15 Oct 2008 04:05
Subject: Re: [tw] Re: How do I edit MPTW view toolbar?

On 10/14/2008 wolfgang wrote:
>  also, are you aware that the > sign in the toolbar definition is
>  actually what appears as the 'more' in a tiddler toolbar?
>  Which, when clicked, reveals further toolbar commands which are
>  positioned on the right side of the > sign in the toolbar definition.
>  As the deleteTiddler command actually is.

I wasn't aware, and the "delete" command does appear when "more" is clicked.

Actually, the complete toolbar definition in the ViewTemplateToolbar
section of MptwTheme is this

    <span macro='toolbar closeTiddler closeOthers +editTiddler > fields
    syncing permalink references jump deleteTiddler'></span> <span
    macro='newHere label:"new here"'></span><span macro='newTiddler
    label:"new tiddler"'></span>
        <span macro='newJournalHere
    {{config.mptwJournalFormat?config.mptwJournalFormat:"YYYY/MMM/0DD"}}'></spa n>

I would like to get the "delete" command on the right side of the "new
journal" command. Is that possible?

Alternatively, if I could get "edit" to the left of "done," or even of
"close," and put "delete" back on the immediate left of "more," that
would work, too.

Thanks,
------------------------------------------------------------------------
Eric Weir
Decatur, GA  USA
eew...@bellsouth.net


    Reply    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message, you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
wolfgang  
View profile
 More options 15 Oct, 07:36
From: wolfgang <wolfgangl...@gmail.com>
Date: Tue, 14 Oct 2008 23:36:38 -0700 (PDT)
Local: Wed 15 Oct 2008 07:36
Subject: Re: How do I edit MPTW view toolbar?

> I don't know what you mean "is the MptwTheme on." It's tagged with
> systemTheme. Does that answer the question.

You can have 100 systemTheme tagged tiddler, that doesn't mean there
actually in effect.

> Also, when I made the change
> you suggested, the "delete" command disappeared. That suggests to me
> that MptwTheme is controlling.

True.

> I don't know whether ToolbarCommands needs to be tagged or not, but it
> is not, and making changes to it has no effect on the commands that are
> displayed.

ToolbarCommands is a shadowed tiddler, which never have to be tagged
in any way. For bringing ToolbarCommands to effect there would have to
use a [[ToolbarCommands::ViewToolbar]] transclusion in the
ViewTemplate, where the commands are usually in place.
Take a look at an empty TW 2.4.1, where this actually this way by
default.

> I wasn't aware, and the "delete" command does appear when "more" is clicked.
> ...
> Alternatively, if I could get "edit" to the left of "done," or even of
> "close," and put "delete" back on the immediate left of "more," that
> would work, too.

- you can shovel them around between the <span macro='toolbar  ...
and the first '></span> delimiter after - or even delete some of them
- how ever way you wish.

Regards,

W.


    Reply    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message, you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Eric Weir  
View profile
 More options 15 Oct, 13:34
From: Eric Weir <eew...@bellsouth.net>
Date: Wed, 15 Oct 2008 08:34:21 -0400
Local: Wed 15 Oct 2008 13:34
Subject: Re: [tw] Re: How do I edit MPTW view toolbar?
wolfgang wrote:
> ToolbarCommands is a shadowed tiddler, which never have to be tagged
> in any way. For bringing ToolbarCommands to effect there would have to
> use a [[ToolbarCommands::ViewToolbar]] transclusion in the
> ViewTemplate, where the commands are usually in place.
> Take a look at an empty TW 2.4.1, where this actually this way by
> default.

I might later want to learn how to use ToolbarCommands, but for now the
shadowed ViewTemplate has the [[ToolbarCommands::ViewToolbar]]
transculsion -- whatever a "transclusion" is -- in place. However, the
toolbar definition in MptwThemes seems to be controlling, and I think
I'll leave it that way.

What's the advantage of using the ToolBarCommands tiddler?

> - you can shovel them around between the <span macro='toolbar  ...
> and the first '></span> delimiter after - or even delete some of them
> - how ever way you wish.

That helps.

Thanks.
------------------------------------------------------------------------
Eric Weir
Decatur, GA  USA
eew...@bellsouth.net


    Reply    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message, you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
wolfgang  
View profile
 More options 20 Oct, 00:25
From: wolfgang <wolfgangl...@gmail.com>
Date: Sun, 19 Oct 2008 16:25:17 -0700 (PDT)
Local: Mon 20 Oct 2008 00:25
Subject: Re: How do I edit MPTW view toolbar?
Hi Eric,

> I might later want to learn how to use ToolbarCommands, but for now the
> shadowed ViewTemplate has the [[ToolbarCommands::ViewToolbar]]
> transculsion -- whatever a "transclusion" is -- in place.

the word 'Transclusion' means a sort of automatic inclusion of content
from an other tiddler.

In a tiddler transcludion macro you can write for example <<tiddler
GettingStarted>> in a new tiddler - which makes the content of an
already existing GettingStarted tiddler displayed in this new tiddler.

The shadowed ToolbarCommands tiddler contains the following table by
default:

|~ViewToolbar|closeTiddler closeOthers +editTiddler > fields syncing
permalink references jump|
|~EditToolbar|+saveTiddler -cancelTiddler deleteTiddler|

and [[ToolbarCommands::EditToolbar]] will include only the content of
the second column in the second row titled ~EditToolbar of the
ToolbarCommands tiddler to templates (like View- or EditTemplate) or
its equivalent sections of a systemTheme tagged tiddler.

> What's the advantage of using the ToolBarCommands tiddler?

The advantage should be that newbies don't get confused by all the
other stuff in a View or EditTemplate - which rarely need
modifications - but make the addition, moving or deletion of toolbar
commands easier, which quite often is required for adding plugins.

Which obviously failed in your case.

Regards,

W.


    Reply    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message, you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Eric Weir  
View profile
 More options 20 Oct, 02:55
From: Eric Weir <eew...@bellsouth.net>
Date: Sun, 19 Oct 2008 21:55:22 -0400
Local: Mon 20 Oct 2008 02:55
Subject: Re: [tw] Re: How do I edit MPTW view toolbar?

On 10/19/2008 wolfgang wrote:
>  > What's the advantage of using the ToolBarCommands tiddler?

>  The advantage should be that newbies don't get confused by all the
>  other stuff in a View or EditTemplate - which rarely need
>  modifications - but make the addition, moving or deletion of toolbar
>  commands easier, which quite often is required for adding plugins.

>  Which obviously failed in your case.

Thanks for this and the other explanations. Actually, the reason it
failed is that in MPTW MptwTheme doesn't activate the
ToolBarCommandsTiddler. [Or at least that's how I understand it.]

Regards,
------------------------------------------------------------------------
Eric Weir
Decatur, GA  USA
eew...@bellsouth.net


    Reply    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message, you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
</