Hi Kosmaton,

The problem isn't TiddlyWebConfig. It's in the MarkupPostBody [1],
where you activated the jQuery UI libs in a standard HTML way, which
causes this problem.

The TiddlyWiki way needs to use a systemConfig tag for the library and
the CSS file needs to be eg: jQUiStyleSheet activated in the theme
StyleSheet section.

<script type="text/javascript" src="jquery-ui-1.8.9.custom.min.js"></
script>
searches in a relativ path, to the html file. This works in online
mode, because anyname.tiddlyspace.com/jquery-ui-1.8.9.custom.min.js
returns the right online tiddler.

May be there are some more dependencies, which I've missed. Especially
plugin load order can be a problem, which may need to be checked.

-mario

[1] http://triptych-theme.tiddlyspace.com/#MarkupPostBody


On Apr 27, 2:41 pm, Kosmaton <[email protected]> wrote:
> Hello Wolfgang,
>
> Glad you like the theme, and thanks for reporting the issue. I just checked:
> I get the same error. I have a feeling it worked at some point, but I am not
> sure as I didn't focus on offline use.
>
> When I load the page offline, I get notified that the TiddlyWebConfig plugin
> is not working right. Do you get that too?
>
> Resizing functionality is based on 'jquery-ui-1.8.9.custom.min.js' which is
> included as a tiddler. From Chrome debugging output it seems that when
> offline, the browser looks for that file in the location of the .html file
> rather than fetch it from the tiddler. It does this for other files too,
> e.g. the images used in the centre of the page: these are also stored in
> tiddlers and also do not show offline. If I put a copy of the .js file as
> well as 'jquery-ui-1.8.9.custom.css' and 'ui-icons_222222_256x240.png' in
> the folder of the local file, resizing functionality is restored.
>
> So my first guess is that the error with TiddlyWebConfig is breaking
> loading-from-tiddlers.
>
> Could someone familiar with TiddlyWebConfig shed some light? The error log
> in the plugin manager reads:
>
> Error: [Exception... "Component returned failure code: 0x805e000a
> [nsIXMLHttpRequest.open]" nsresult: "0x805e000a (<unknown>)" location: "JS
> frame :: file:///home/xxxxxxusernamexxxxx/Desktop/triptych-theme.html ::
> anonymous :: line 25586" data: no]
>
> cheers,
>
> Kosmaton

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/tiddlywiki?hl=en.

Reply via email to