A couple of Newbie Questions

111 views
Skip to first unread message

Leo Staley

unread,
Apr 7, 2012, 7:05:44 AM4/7/12
to tiddl...@googlegroups.com
1) If I want to change the title of a tiddler, how do I get all the links to that tiddler to change accordingly? (especially so that the reference thing still works)
2) I have created several tiddlers, and would like to now create a tiddler in which i can categorize and link to them. Is there a way to create a link to another tiddler besides going over and copying the tiddler name, pasting it in the new tiddler, and placing it in double brackets?
 

Måns

unread,
Apr 7, 2012, 5:58:02 PM4/7/12
to TiddlyWiki
Hi Leo

> 1) If I want to change the title of a tiddler, how do I get all the links
> to that tiddler to change accordingly? (especially so that the reference
> thing still works)

RenameTagsPlugin will let you rename tags in all tiddlers tagged with
the title of the tiddler you are renaming.
http://mptw.tiddlyspot.com/#RenameTagsPlugin
TiddlerTweakerPlugin (tiddlytools.com) might be helpfull for finding
textlinks in tiddlers - you will still have to change them manually
though..
I guess you can always find missing links - open/create the
nonexisting tiddlertarget and check references to find tiddlers with
links in them?!!

> 2) I have created several tiddlers, and would like to now create a tiddler
> in which i can categorize and link to them. Is there a way to create a link
> to another tiddler besides going over and copying the tiddler name, pasting
> it in the new tiddler, and placing it in double brackets?

Tagging is the most commonly used way to categorize and organize your
tiddlers...
When you want to retrieve/autogenerate a list with links to tiddlers
tagged with a specific tag you can use the list macro:

<<list filter [tag[TagName]]>> [1]

If you want a button which popups with a list of tiddlers tagged with
"SomeTag" you'll write: <<tag TagName>> [2]

Cheers Måns Mårtensson

[1] http://tiddlywiki.org/#[[list%20macro]]
[2] http://tiddlywiki.org/#[[tag%20macro]]

HansBKK

unread,
Apr 8, 2012, 3:34:58 AM4/8/12
to tiddl...@googlegroups.com

On Saturday, April 7, 2012 6:05:44 PM UTC+7, Leo Staley wrote:
1) If I want to change the title of a tiddler, how do I get all the links to that tiddler to change accordingly? (especially so that the reference thing still works)
2) I have created several tiddlers, and would like to now create a tiddler in which i can categorize and link to them. Is there a way to create a link to another tiddler besides going over and copying the tiddler name, pasting it in the new tiddler, and placing it in double brackets?
 

As well as the plugins mentioned, sometimes I use search and replace opening the HTML in a coder's editor, assuming that your string isn't one used elsewhere. Obviously making a backup first and being careful.
 

Seba

unread,
Apr 8, 2012, 1:16:14 PM4/8/12
to TiddlyWiki
As mentioned above the best way is to have a proper tagging system.

Then you can benefit from that by using [1] ForEachTiddlerPlugin,
which offers extensive functionalities for sorting and categorizing of
tiddlers.

regards,
seba

[1] http://tiddlywiki.abego-software.de/

andrew.j.harrison84

unread,
Apr 8, 2012, 7:24:54 PM4/8/12
to tiddl...@googlegroups.com

It would be nice if we could use a transclusion in the title field unless it is possible and I jusr don't know how.

--
You received this message because you are subscribed to the Google Groups "TiddlyWiki" group.
To view this discussion on the web visit https://groups.google.com/d/msg/tiddlywiki/-/C4oCQuwooeoJ.
To post to this group, send email to tiddl...@googlegroups.com.
To unsubscribe from this group, send email to tiddlywiki+...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/tiddlywiki?hl=en.

andrew.j.harrison84

unread,
Apr 8, 2012, 7:28:52 PM4/8/12
to tiddl...@googlegroups.com

Sorry, texting from my phont.
*just

andrew.j.harrison84

unread,
Apr 8, 2012, 7:35:40 PM4/8/12
to tiddl...@googlegroups.com

I've been using serialized links which is basically putting the link in a slice and then using AliasPlugin and transcluding it everywhere. I still end up having to change it in 2 places. If I figure out how to get a title to show a slice I'll let ya know unless anyone else can help with that.

Måns

unread,
Apr 9, 2012, 12:37:33 PM4/9/12
to TiddlyWiki
Hi Andrew

> It would be nice if we could use a transclusion in the title field unless
> it is possible and I jusr don't know how.

The view macro [1] *can* wikify macro calls etc:

If you change the ViewTemplate from:
<div class='title' macro='view title'></div>
to:
<div class='title' macro='view ::Slice wikified'></div>

then it will wikify whatever is written in the slice "Slice" in the
current tiddler.

Cheers Måns Mårtensson


[1] http://tiddlywiki.org/#[[view%20macro%20types]]

andrew.j.harrison84

unread,
Apr 11, 2012, 11:56:35 PM4/11/12
to tiddl...@googlegroups.com

I think the intent of this tread was to automatically change all the links in the wiki pointing back to a tiddler when you change the title. I have been using transclusion but to slices in another tiddler. Would it be possible to transclude or create a link to a tiddler using say it's created date which doesn't change but still have it display the title for that tiddler. I want a link that goes and gets what to display using existing core functions and not a plugin. Something like {{nobullets{<<list filter [tag[201203210105]]>>}}} but with created instead of tag. I guess you could put the created date in as a tag but this makes me wonder if there would be able to create an alias that you could then put something like <<a $>> where $ is the tag or something like <<alias a {{"\{\{nobullets\{\<\<tiddler [tag[%0]]\>\>\}\}\}"}}>>. Anybody?

--
You received this message because you are subscribed to the Google Groups "TiddlyWiki" group.

andrew.j.harrison84

unread,
Apr 13, 2012, 2:15:48 AM4/13/12
to tiddl...@googlegroups.com
ok so the following works but only if you put the tag in the tag field, I still want to create an alias that does the same thing but can't figure out how to apply css styling :

[[StyleSheet]]
.nobullets li {
list-style-type: none;
margin-left:-2em;
}

{{nobullets{<<list filter [tag[201203210105]]>>}}}

Where 201203210105 is the tag. If anyone knows a better way that doesn't require css styling, maybe something that can be put into an alias I would appreciate it. Anyone?

andrew.j.harrison84

unread,
Apr 15, 2012, 2:50:06 AM4/15/12
to tiddl...@googlegroups.com
This way I can change the tiddler title all I want and anywhere I had used the tag transclusion is automatically updated upon refresh. Requires AliasPlugin. If anyone finds a better way, let me know. I'm using it in included tiddlers so that if I change the tiddler title, it automatically is changed in the included tiddlers also. I used 0-9 and a-z and A-Z for the tags but they can be any tag as long as the tag is used only once in any of the tiddlers that is included. I would prefer to use something other than tags like the created field or something more automatic but haven't figured that one out yet.

[[[[StyleSheet]]
.nobullets li {
list-style-type: none;
margin-left:-2em;
}

[[MainMenu]]
<<alias a {{"\{\{nobullets\{\<\<list filter [tag[B]]\>\>\}\}\}"}}>>

[[MyTiddler]]
<<a B>>

andrew.j.harrison84

unread,
Apr 15, 2012, 11:57:45 AM4/15/12
to tiddl...@googlegroups.com
Sorry, missed a detail but I think if you are familiar with AliasPlugin it would have been evident:
[[MainMenu]]
<<alias a {{"\{\{nobullets\{\<\<list filter [tag[%0]]\>\>\}\}\}"}}>>

andrew.j.harrison84

unread,
Apr 15, 2012, 12:15:49 PM4/15/12
to tiddl...@googlegroups.com
OK, well I thought I had the answer but it appears as though I jumped the gun and no I realize there is an unwanted line break that I am trying to get rid of.

andrew.j.harrison84

unread,
Apr 15, 2012, 1:37:20 PM4/15/12
to tiddl...@googlegroups.com
OK, so I had to change StyleSheet and now it works. So here is the final transcluded inline links by tag where %0 is the tag passed to the alias. If anyone comes up with something easier or if there is already a plugin out there, please let be know. I feel like I am reinventing the wheel. The reason I created this is because i have included tiddlers which the titles sometimes change and break all my links so now the tiddler titles can change all they want and the tag keeps the links working. Id rather it use something like the created field but I couldn't figure out how to do that. This also helped me figure out how to transclude css styling which is also useful to me. Isn't Trasnclusion wonderful.

[[StyleSheet]]
.nobullets * {
display: inline;
}
.nobullets li {
list-style-type: none;
margin-left:-2em;
}

[[MainMenu]]
<<alias a {{"\{\{nobullets\{\<\<list filter [tag[%0]]\>\>\}\}\}"}}>>

[[MyTiddler]]
<<a tag>>

Måns

unread,
Apr 16, 2012, 7:34:01 AM4/16/12
to TiddlyWiki
Hi Andrew
> Isn't Trasnclusion wonderful.
>
> [[StyleSheet]]
> .nobullets * {
> display: inline;}
>
> .nobullets li {
> list-style-type: none;
> margin-left:-2em;
>
> }
>
> [[MainMenu]]
> <<alias a {{"\{\{nobullets\{\<\<list filter [tag[%0]]\>\>\}\}\}"}}>>
>
> [[MyTiddler]]
> <<a tag>>

Great idea - good example!!

Thanks for sharing it here :-)

Cheers Måns Mårtensson

Ps:

I've been using the AliasPlugin for smileys:

http://smileys.tiddlyspace.com/#Smile
http://manto.tiddlyspace.gir.dk/#Smil

animations and other stuff:

http://dias.tiddlyspace.gir.dk/Aliases.txt

AliasPlugin http://www.tiddlytools.com/#AliasPlugin is a great way to
personalize (and simplify) macro calls of all kinds...


...
Reply all
Reply to author
Forward
0 new messages