Pretty links send me to another browser window

22 views
Skip to first unread message

blosscat

unread,
Jul 14, 2006, 5:15:30 PM7/14/06
to TiddlyWiki
I'm using pretty links in my TiddlyWiki (Gray's version
http://mkgray.com:8000/gray-tiddlywiki.html -- a very nice layout with
fold/unfold feature).

[[link text|TiddlerName]]

When I click the link, I'm sent to another browser window where I see
the message, "File not found"?

I was told that I could fix it by removing the following code from my
file, but it didn't work:

link.target = "_blank";

Chris Lawley

unread,
Jul 14, 2006, 5:47:18 PM7/14/06
to Tiddl...@googlegroups.com

On 14 Jul 2006, blosscat wrote:

>
> I'm using pretty links in my TiddlyWiki

<SNIP>


> When I click the link, I'm sent to another browser window where I see
> the message, "File not found"?

I may be talking out of turn, but when I get that it means that my
TW hasn't 'got' the link in the Pretty Link.

This might be because I've not yet defined the tiddler the link is
supposed to go to. Occasionally it seems to be that the browser
hasn't processed the file properly (or something like that) and
hasn't _found_ the linked tiddler. Re-editing the destination
tiddler seems to solve that, but saving and reloading does it too.

Now you might be expecting to link to an external HTML file, in
which case, it'd be a lot easier if you could either post the
relevant tiddler code snippet or provide a URL to go see the file


chris :-)

blosscat

unread,
Jul 14, 2006, 8:06:24 PM7/14/06
to TiddlyWiki

Hi Chris, Thanks for your input. The pretty links that I'm defining are
for internal links. Saving, reloading, redefining...none of these
actions changes the behavior of the link for me.

Chris Lawley

unread,
Jul 15, 2006, 10:27:51 AM7/15/06
to Tiddl...@googlegroups.com


Can you post (or email me directly) an example tiddler? I'm no TW
expert, but I'm willing to take a look.

chris :-)


Daniel Baird

unread,
Jul 15, 2006, 10:31:40 AM7/15/06
to Tiddl...@googlegroups.com

I'm curious too.. a URL would be great (dare I suggest making a tiddlyspot.com site if you don't have a web server of your own :)

And Chris, welcome back.  Haven't heard from you for ages..

;D

--
Daniel Baird
http://tiddlyspot.com (free, effortless TiddlyWiki hosting)
http://danielbaird.com (TiddlyW;nks! :: Whiteboard Koala :: Blog :: Things That Suck)

blosscat

unread,
Jul 15, 2006, 2:32:21 PM7/15/06
to TiddlyWiki
> ------=_Part_50746_20122463.1152973900437
> Content-Type: text/html; charset=ISO-8859-1
> X-Google-AttachSize: 1206
>
> <br><div><span class="gmail_quote">On 7/16/06, <b class="gmail_sendername">Chris Lawley</b> &lt;<a href="mailto:ch...@art-en-soul.cix.co.uk">ch...@art-en-soul.cix.co.uk</a>&gt; wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
> <br>On 14 Jul 2006, blosscat wrote:<br><br>&gt; The pretty links that I'm defining are<br>&gt; for internal links. Saving, reloading, redefining...none of these<br>&gt; actions changes the behavior of the link for me.<br>
> <br><br>Can you post (or email me directly) an example tiddler?&nbsp;&nbsp;I'm no TW<br>expert, but I'm willing to take a look.</blockquote><div><br>I'm curious too.. a URL would be great (dare I suggest making a <a href="http://tiddlyspot.com">
> tiddlyspot.com</a> site if you don't have a web server of your own :)<br><br>And Chris, welcome back.&nbsp; Haven't heard from you for ages..<br><br>;D<br></div></div><br>-- <br>Daniel Baird<br><a href="http://tiddlyspot.com">
> http://tiddlyspot.com</a> (free, effortless TiddlyWiki hosting)<br><a href="http://danielbaird.com">http://danielbaird.com</a> (TiddlyW;nks! :: Whiteboard Koala :: Blog :: Things That Suck)
>
> ------=_Part_50746_20122463.1152973900437--

Chris, you wrote,

> Can you post (or email me directly) an example tiddler?

By an example tiddler do you mean the markup that you see in edit mode?
If so, my test tiddler contains only a pretty link:

[[test link|TiddlerName]]

Daniel, pretty links work in my TW at www.tiddlyspot.com (and hence, in
the TW adaptation that my TW there is based on). I might decide to use
that TW adaptation (either locally or at tiddlyspot.com), but I was
hoping to use an adaptation with the feature that allows me to
fold/unfold tiddlers. (I tried to add that feature to my TW at
tiddlyspot, but I'm not much of a hacker :) Pretty links don't work in
any of the adaptations that have the fold/unfold (expand / collapse)
feature, except for one adaptation that I tried, but I didn't like the
layout).

Daniel Baird

unread,
Jul 15, 2006, 6:34:11 PM7/15/06
to Tiddl...@googlegroups.com
On 7/16/06, blosscat <scott...@gmail.com> wrote:

Chris, you wrote,

> Can you post (or email me directly) an example tiddler?

By an example tiddler do you mean the markup that you see in edit mode?
If so, my test tiddler contains only a pretty link:

    [[test link|TiddlerName]]

Daniel, pretty links work in my TW at www.tiddlyspot.com (and hence, in
the TW adaptation that my TW there is based on).

I think Chris was looking for a URL to the whole TiddlyWiki, so we can see the problem happen, and have a crack at fixing it.

It wasn't quite clear from your earlier posts -- when you pretty link like this: [[test link|TiddlerName]], does the tiddler "TiddlerName" already exist?

;Daniel

Chris Lawley

unread,
Jul 16, 2006, 9:45:12 AM7/16/06
to Tiddl...@googlegroups.com

On 15 Jul 2006, blosscat wrote:

> By an example tiddler do you mean the markup that you see in edit mode?
> If so, my test tiddler contains only a pretty link:
>
> [[test link|TiddlerName]]

Well, that kinda rules out some things, but really I need to see
exactly what the file contains.

I presume that you have _already_ defined a tiddler called
TiddlerName?

I have the folding mechanism installed and PrettyLinks works for me
:) You wanted to hear that didn't you ;)


Aside: When doing pc support years back, I had a user tell me that
the screen was completely blank, nothing showing at all. After
lugging a replacement screen across, I discovered that 'blank' to
this user included having a screen showing the status bar and
blinking cursor. Grrr.

Hence seeing the actual file/code is more important than a
description or example as _you_ may be unintentionally overlooking
something critical to the solution!


chris :-)


Chris Lawley

unread,
Jul 16, 2006, 9:47:32 AM7/16/06
to Tiddl...@googlegroups.com

On 16 Jul 2006, Daniel Baird wrote:

> It wasn't quite clear from your earlier posts -- when you pretty link
> like this: [[test link|TiddlerName]], does the tiddler "TiddlerName"
> already exist?


Stupid "email lag". We aren't ganging up on you, you understand
<grin>


Thanks for the welcome back, Daniel. I had a spate of 'actual
reality' interrupting me. Life is complicated in my tiddler of the
world.


chris :-)


Ken Girard

unread,
Jul 17, 2006, 10:43:48 AM7/17/06
to TiddlyWiki
Daniel,
Take a look at the source code of the site he says he copied from:
http://mkgray.com:8000/gray-tiddlywiki.html

Version 1.2.21 plus a couple of serverside adaptions and a lot of
customization.

Ken Girard

Daniel Baird

unread,
Jul 17, 2006, 9:08:34 PM7/17/06
to Tiddl...@googlegroups.com
On 7/16/06, blosscat <scott...@gmail.com> wrote:
By an example tiddler do you mean the markup that you see in edit mode?
If so, my test tiddler contains only a pretty link:

    [[test link|TiddlerName]]

Daniel, pretty links work in my TW at www.tiddlyspot.com (and hence, in
the TW adaptation that my TW there is based on).


Ahh, thanks to Ken's tip I finally went to look at your adaptation.  It's broken, pretty links seem to not work right in the Grey TiddlyWiki page.

I guess the best solution is to stop using that adaptation (which seems to be based on a really old version of TiddlyWiki) and change over to the latest TW.  Then just find a plugin that does tiddler folding.  Anyone know of such a thing?

;D

Chris Lawley

unread,
Jul 17, 2006, 9:56:25 PM7/17/06
to Tiddl...@googlegroups.com

On 18 Jul 2006, Daniel Baird wrote:

> > I guess the best solution is to stop using that adaptation (which seems
> to be based on a really old version of TiddlyWiki) and change over to
> the latest TW. Then just find a plugin that does tiddler folding.
> Anyone know of such a thing?


That'd be TiddlyTools then.
http://www.TiddlyTools.com/

It's annoyingly called 'CollapsePlugin' but you can rename it "Fold"
/ "Unfold" within the View and Collapse templates


I was going to give a direct link, but I can't connect to the site
at the moment :(
A guess suggests you'll find it all at :
http://www.TiddlyTools.com/#CollapsePlugin
http://www.TiddlyTools.com/#CollapsedPluginNotes
http://www.TiddlyTools.com/#CollapsedTemplate

BUt I might be wrong. Nevertheless you do need the three tiddlers
that those links are intended to get.


And whilst there, I'd recommend Eric's ImportTiddlersPlugin. It has
the great facility of providing a tiddler with details of where you
aquire (tho' watch out for the Discard Report button - although
there's one attached to _each_ import record, it zaps the entire
report and not, as you might think, the record the button seems to
be related too.
http://www.TiddlyTools.com/#ImportTiddlersPlugin

Did I mention it also makes grabbing tiddlers a doddle?


HTH

chris :-)

blosscat

unread,
Jul 18, 2006, 12:32:25 AM7/18/06
to TiddlyWiki

Chris wrote,

> Stupid "email lag". We aren't ganging up on you,
> you understand <grin>

No problem, Chris. Thanks much for the help. I'll get the Collapse
plugins and install them.

Ken, thanks for providing the URL to Gray TiddlyWiki. I didn't think of
that.

Reply all
Reply to author
Forward
0 new messages