I wish to make TiddlyWiki display like standard wikis

373 views
Skip to first unread message

roguefeebo

unread,
Oct 26, 2008, 7:28:50 AM10/26/08
to TiddlyWiki
I really like the user-friendly aspect of TiddlyWiki, but I'd like to
customize it a bit. I'm new to TiddlyWiki and pretty amateur at
creating my own stuff, but I'm not afraid of looking at code.

If these are simple edits or options, a nudge in the direction to the
page to edit would suffice, :) Anything more than the simple stuff
may require some explanation for me to get it, :(

Some changes that I'm curious about:

1. Only allow one page (tiddler?) to be viewable at any one time
rather than stacking on top of each other. I don't want several
topics open at once to have to close each one as I navigate through.

2. Open a new tab in the browser. Currently I do not have the option
to open a link in a new tab or new window to edit them side by side
like most online wikis; I only have bookmarking options.

3. I'd like a navigation bar to show where I am within my wiki,
similar to how many forums are setup. e.g. Forum Index >> Games >>
Shaiya.

4. How do I make the title bar at the top smaller?

5. I'd like the search function to only display the titles of each
page that match the parameters rather than the whole page. How do I
do this?

6. Is there an easy way to generate an automated sitemap in an outline
or similarly readable format?


These changes would make it easier (for me at least) to use, edit,
navigate, manage, and show the wiki. I'd greatly appreciate any help
in getting any of these into my own TiddlyWiki. Thanks!!

wolfgang

unread,
Oct 26, 2008, 8:01:52 AM10/26/08
to TiddlyWiki
Welcome Rogue,

> 1. Only allow one page (tiddler?) to be viewable at any one time
> rather than stacking on top of each other. I don't want several
> topics open at once to have to close each one as I navigate through.
>

Personally I prefer TiddlersBarPlugin to have only one tiddler visible
at a time through tabs - though you could also use BreadcrumbsPlugin,
HistoryPlugin or SinglePageModePlugin.

http://visualtw.ouvaton.org/VisualTW.html#TiddlersBarPlugin
http://www.tiddlytools.com/#BreadcrumbsPlugin
http://tiddlywiki.bidix.info/#HistoryPlugin
http://www.tiddlytools.com/#SinglePageModePlugin

> 2. Open a new tab in the browser. Currently I do not have the option
> to open a link in a new tab or new window to edit them side by side
> like most online wikis; I only have bookmarking options.
>

If I understand your right, again TiddlersBarPlugin would allow to
edit tiddlers in tabs side by side to open tiddlers.

> 3. I'd like a navigation bar to show where I am within my wiki,
> similar to how many forums are setup. e.g. Forum Index >> Games >>
> Shaiya.
>

BreadcrumbsPlugin, which is highly adaptable, would fit this bill.

> 4. How do I make the title bar at the top smaller?
>

- for example: by adding (or replacing; if some padding definition for
the header would already be there) the following into the StyleSheet
shadowed tiddler. (you'll find in the right side bar tabs under 'more'
> 'shadow'):

.headerForeground,.headerShadow{padding:1em 1em 1em 2em}

> 5. I'd like the search function to only display the titles of each
> page that match the parameters rather than the whole page. How do I
> do this?
>

The best search plugin I consider YourSearchPlugin for search results
similar to google. The simplest would be SimpleSearchPlugin and more
what you're looking for:

http://devpad.tiddlyspot.com/#SimpleSearchPlugin
http://tiddlywiki.abego-software.de/#YourSearchPlugin

> 6. Is there an easy way to generate an automated sitemap in an outline
> or similarly readable format?
>

Maybe TagCloudPlugin could do that for you?

http://www.tiddlytools.com/#TagCloudPlugin

Regards,

W.

Dave Gifford - http://www.giffmex.org/

unread,
Oct 26, 2008, 8:25:42 AM10/26/08
to TiddlyWiki
As wolfgang wrote, you can use the breadcrumbs plugin as your
navigational tool, and use SinglePageModePlugin in conjunction with
HistoryPlugin to see only one page at a time.

Simon Baird's SitemapPlugin is old and undocumented but I think is
worth reviving.

Find these plugins via TiddlyVault.

The question about opening new tabs in the browser sounds more like a
question of configuring your browser to open in a new tab? Not sure
what you mean.

Dave

roguefeebo

unread,
Oct 26, 2008, 8:37:02 AM10/26/08
to TiddlyWiki
Wow, I wasn't expecting such a quick response, and it seems the both
of you provided some good suggestions for me to investigate. Thanks!

I'll look into the suggestions and may have some follow-ups if I run
into any difficulties or think of anything else.

wolfgang

unread,
Oct 26, 2008, 8:40:53 AM10/26/08
to TiddlyWiki
>
> Find these plugins via TiddlyVault.

http://tiddlyvault.tiddlyspot.com/

> As wolfgang wrote, you can use the breadcrumbs plugin as your
> navigational tool, and use SinglePageModePlugin in conjunction with
> HistoryPlugin to see only one page at a time.
>

already BreadcrumbsPlugin can be configured to display only one
tiddler at a time (without some other options SinglePageModePlugin
provides).
Also a popup similiar to HistoryPlugin - with a 'back' button too, can
be created with BreadcrumbsPlugin (see its documentation; for example
use ShowPopup script together with InlineJavascriptPlugin for the
popup itself) - only the 'forward' button of HistoryPlugin isn't
possible to create with BreadcrumbsPlugin yet.

W.

FND

unread,
Oct 26, 2008, 8:43:19 AM10/26/08
to Tiddl...@googlegroups.com
> Open a new tab in the browser. Currently I do not have the option
> to open a link in a new tab or new window to edit them side by side
> like most online wikis; I only have bookmarking options.

TiddlyWiki was designed specifically so you don't have to do that -
that's why you have multiple tiddlers visible in the center column.
In fact, if you open a TiddlyWiki document multiple times in separate
browser windows/tabs, you risk losing/overwriting changes.

Maybe try one of these plugins:
http://visualtw.ouvaton.org/VisualTW.html#TiddlersBarPlugin
http://www.tiddlytools.com/#RearrangeTiddlersPlugin


-- F.

wolfgang

unread,
Oct 26, 2008, 9:11:33 AM10/26/08
to TiddlyWiki
> popup itself) - only the 'forward' button of HistoryPlugin isn't
> possible to create with BreadcrumbsPlugin yet.
>

(not so subtle hint to the busy author of this plugin ;-)

- so each of these: Breadcrumbs, History and SinglePageMode by them
self would already reduce the number of open tiddler to only 1.
Since Breadcrumbs also provides the navigation I recommend using it
alone - to avoid unnecessary bloat.

> > 2. Open a new tab in the browser. Currently I do not have the option
> > to open a link in a new tab or new window to edit them side by side
> > like most online wikis; I only have bookmarking options.
>
> If I understand your right, again TiddlersBarPlugin would allow to
> edit tiddlers in tabs side by side to open tiddlers.

Maybe that comes closer to what you were looking for:

http://www.tiddlytools.com/#SideBySide

- if you replace your default EditTemplate with its custom
EditTemplate (found under shadowed, like the StyleSheet) a tiddler in
edit mode gets horizontally divided into 2 parts: one for editing, the
second with a preview of your changes. Though this also needs
PreviewPlugin installed alongside:

http://www.tiddlytools.com/#PreviewPlugin

W.

roguefeebo

unread,
Oct 26, 2008, 12:41:40 PM10/26/08
to TiddlyWiki
> BreadcrumbsPlugin, which is highly adaptable, would fit this bill.

The Breadcrumbs plugin almost works the way I was looking for though
the index menu doesn't reset to where the page is within the
hierarchy. Each click adds the current page on top of all previously
opened pages.

e.g. Music and Sound Effects are both on the same hierarchy within
Audio.

The organization:
-Audio
--Music
--Sound Effects

If I click Music and then click Sound effects, the hierarchy displays
as Audio > Music > Sound Effects while I would like for it to display
Audio > Sound Effects for the current location within the hierarchy.
Limiting the breadcrumbs to 2 or 3 is a workaround, but just doesn't
cut it sometimes when navigating between several different pages.

Looking at the code it almost seems it's supposed to work like I want,
but something throws it off. I'll have to spend a while going through
the code more...

=======================================

> If I understand your right, again TiddlersBarPlugin would allow to
> edit tiddlers in tabs side by side to open tiddlers.

This is close, but tabs open up on every click with the TiddlersBar
plugin. Is there any way to add a command (ala right click option) to
open the new tab to make it optional? If not, getting the Breadcrumbs
plugin working like I want along with the single tiddler option it has
may be good enough.

=======================================

The title bar change worked exactly how I wanted it to, thanks, :)

=======================================

I imported the YourSearchPlugin and it's working well.

=======================================

> Maybe TagCloudPlugin could do that for you?

> Simon Baird's SitemapPlugin is old and undocumented but I think is
> worth reviving.

> Find these plugins via TiddlyVault.
> http://tiddlyvault.tiddlyspot.com/

TagCloudPlugin doesn't generate a sitemap the way I wanted. The
sitemapmacro seems like it should be what I'm looking for, but I can't
get it working as an item in the SideBarOptions.

wolfgang

unread,
Oct 26, 2008, 4:19:30 PM10/26/08
to TiddlyWiki
> TagCloudPlugin doesn't generate a sitemap the way I wanted. The
> sitemapmacro seems like it should be what I'm looking for, but I can't
> get it working as an item in the SideBarOptions.

SideBarOptions shadowed tiddler is heavily customized by the default
StyleSheet. You would have to cancel out those definitions or try to
use the MainMenu instead.

Also TagTreePlugin might be well worth a look for site map creation:

http://visualtw.ouvaton.org/VisualTW.html

An other possibility are visual side maps, as TiddlyTagMap (which
currently undergoes a heavy code rewrite) or hypergraph (though this
needs some external files and for useful sitemaps it isn't really
automatic yet). See also this related thread about these two:

http://groups.google.com/group/TiddlyWiki/browse_thread/thread/1f0849e4ed778541#

Further I believe ListRelatedPlugin could be really useful for
creating side maps:

http://svn.tiddlywiki.org/Trunk/contributors/JeremyRuston/plugins/ListRelatedPlugin.js

which can be seen at work with RippleRap in a custom AgendaMenu
instead of the usual left hand MainMenu:

http://www.ripplerap.com/BlogTalk2008/blogtalk.html

> > If I understand your right, again TiddlersBarPlugin would allow to
> > edit tiddlers in tabs side by side to open tiddlers.
>
> This is close, but tabs open up on every click with the TiddlersBar
> plugin. Is there any way to add a command (ala right click option) to
> open the new tab to make it optional? If not, getting the Breadcrumbs
> plugin working like I want along with the single tiddler option it has
> may be good enough.

Would love such right click options with TiddlersBar, but the most I
can think of is enabling or hiding it completely with a toggle script
- since I don't know any programming.

> BreadcrumbsPlugin, which is highly adaptable, would fit this bill
> ...
> Looking at the code it almost seems it's supposed to work like I want,
> but something throws it off. I'll have to spend a while going through
> the code more...

Maybe it would be worthwhile looking at the code of TiddlersBar too?

W.

Eric Shulman

unread,
Oct 26, 2008, 4:47:09 PM10/26/08
to TiddlyWiki
> Further I believe ListRelatedPlugin could be really useful for
> creating side maps:
>
> http://svn.tiddlywiki.org/Trunk/contributors/JeremyRuston/plugins/Lis...

Try this:
http://www.TiddlyTools.com/#RelatedTiddlersPlugin

Recursively walks the 'links' information in each tiddler and
generates a "minimal spanning tree" from any given starting tiddler.

enjoy,
-e
Eric Shulman
TiddlyTools / ELS Design Studios

> > BreadcrumbsPlugin, which is highly adaptable, would fit this bill
> > Looking at the code it almost seems it's supposed to work like I want,
> > but something throws it off.  I'll have to spend a while going through
> > the code more...

Actually, BreadcrumbsPlugin doesn't operate on a 'hierarchy' of
tiddlers. Rather, it keeps track of which tiddlers have been viewed
using a single 'flat list'. Viewing a tiddler always adds it to the
*end* of this "trail of breadcrumbs", and any given title will only
appear once in the list regardless of how many times it has been
viewed or which tiddler links were used to access it. Thus, when you
re-visit a previously viewed tiddler, the corresponding breadcrumb is
*moved* to the end of the list.

HTH,
-e
Eric Shulman
TiddlyTools / ELS Design Studios

roguefeebo

unread,
Oct 26, 2008, 7:38:41 PM10/26/08
to TiddlyWiki
> Try this:
>    http://www.TiddlyTools.com/#RelatedTiddlersPlugin
>
> Recursively walks the 'links' information in each tiddler and
> generates a "minimal spanning tree" from any given starting tiddler.

The tree display on the main menu filter is EXACTLY what I was looking
for. Many thanks, :)


> Actually, BreadcrumbsPlugin doesn't operate on a 'hierarchy' of
> tiddlers.  Rather, it keeps track of which tiddlers have been viewed
> using a single 'flat list'.  Viewing a tiddler always adds it to the
> *end* of this "trail of breadcrumbs", and any given title will only
> appear once in the list regardless of how many times it has been
> viewed or which tiddler links were used to access it.  Thus, when you
> re-visit a previously viewed tiddler, the corresponding breadcrumb is
> *moved* to the end of the list.

Ah, curses. I had a feeling that might be it. I'm guessing it might
be possible to modify Breadcrumbs to display how I want using a single
iteration of the algorithm for the RelatedTiddlersPlugin on the
current tiddler. Any ideas on this before I spend too much time
looking into it?

wolfgang

unread,
Oct 27, 2008, 6:49:52 AM10/27/08
to TiddlyWiki
Hi Eric,

> > Further I believe ListRelatedPlugin could be really useful for
> > creating side maps:
>
> >http://svn.tiddlywiki.org/Trunk/contributors/JeremyRuston/plugins/Lis...
>
> Try this:
> http://www.TiddlyTools.com/#RelatedTiddlersPlugin
>
> Recursively walks the 'links' information in each tiddler and
> generates a "minimal spanning tree" from any given starting tiddler.
>

ListRelatedPlugin isn't really related to RelatedTiddlerPlugin, since
the former seems more sort of a light weight version of
ForEachTiddlerPlugin - with which one can style the display of a
relationship, which itself is customizable (though due to lack of
documentation and it's interwovenness with other RippleRap plugins
it's still difficult for me to think of a way to actually use it).

From RelatedTiddlersPlugin:
> ... can be helpful for identifying clusters of interdependent tiddlers
> or simply generating an on-the-fly site map for quick discovery
> and navigation through complex or unfamiliar document
> content.

Tried RelatedTiddlersPlugin once in 'Changing Themes' TW for
identifying dependencies to systemTheme tiddlers. But in this instance
it failed because it doesn't shows links within code blocks.

Tried it as a 'on-the-fly site map' menu with the same TW, but it
wouldn't be that automatic in that case, since I would be bogged down
adding many tiddlers to 'exclude Lists', where it would become much
straight forward to create a site map manually.

> The tree display on the main menu filter is EXACTLY what I was looking
> for. Many thanks, :)

I too, really would like to use its visual zooming tree structure for
menus, but for that it shows too many relations in big TW's (and
thereby becomes unresponsive on slower computer, like it behaves for
me if I use 'related' for exploring TiddlyTools from its 'Welcome'
tiddler).

That brings me to my question: If it wouldn't be possible and much
better to additionally add the ability to RelatedTiddlersPlugin to
work - beside links - also with tags? - or even make a new
'RelatedTagsPlugin'? with a similar zooming tree structure?

Since tags are the usual means in TiddlyWiki to build sort of site
maps - hierarchic or not - with such plugins as TagCloud,
TagglyTagging, TagTreePlugin, SiteMapMacro, TiddlyTagMindMap,
RelatedTags, TagGrid etc..

Regards,

W.
Reply all
Reply to author
Forward
0 new messages