On Tuesday, June 25, 2013 7:27:37 PM UTC+2, HansG wrote:
>
> However my coworkers at the museum do not stop permanently asking to 
> remove these elements (like "Getting started", "close", "close others"  and 
> "more") from the WEB, but I have no idea.
> Is there no other and simple way to remove these elements from the 
> Tiddlywiki when in View-mode?
>

Can you provide a link to your web version?

I guess you want to remove the "GettingStarted" link from the MainMenu 
tiddler. 

On the right sidebar there is a "More: Shadowed - tab" you should have a 
link to the MainMenu tiddler. If it contains "GettingStarted" just remove 
it. 

If you don't want the GettingStarted to be automatically opened if you load 
the page. Use the description from my first post, with Eric's adjustments.

------
The toolbar stuff may be a bit tricky. If you provide a link to your web 
version it would be easier. 

__!! Make a backup first, if you modify ToolbarCommands tiddler !!__

There is a shadow tiddler named: ToolbarCommands, that looks like this. 

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

change it to:

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

There are 2 minor changes in the ViewToolbar. EditToolbar is not changed. 

--------

Add the following code to your "SetDefaultTiddlers" code

//{{{ 
   if (!readOnly) 
      config.shadowTiddlers.DefaultTiddlers="[[GettingStarted]]"; 
      config.macros.toolbar.moreLabel='more';

config.macros.toolbar.moreLabel='+'config.macros.toolbar.moreLabel='+'

config.macros.toolbar.moreLabel='+'

config.macros.toolbar.moreLabel='+'

config.macros.toolbar.moreLabel='+'

config.macros.toolbar.moreLabel='+'

   else 
      config.shadowTiddlers.DefaultTiddlers="[[OnlineHomeTiddler]]"; 
      config.macros.toolbar.moreLabel='+';

config.macros.toolbar.moreLabel='+'config.macros.toolbar.moreLabel='+'

config.macros.toolbar.moreLabel='+'

config.macros.toolbar.moreLabel='+'

config.macros.toolbar.moreLabel='+'

config.macros.toolbar.moreLabel='+'

//}}} 

* save and reload the page

The above code + new ToolbarCommands will change the more button text to 
"+". So it shouldn't be in your way. The offlien version will now need 2 
clicks. to see the whole stuff. 

This is a fast and easy way to allmost remove the toolbar. If you need a 
complete romove, you'll need to modify the ViewTemplate. Which is a bit 
more complicated, but can be done too. 

Let us know, if this solution is ok for your coworkers / visitors. 

have fun!
mario

-- 
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 [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/tiddlywiki.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to