wiki is not responsive on public domain

71 views
Skip to first unread message

Rika Sukenik

unread,
Oct 5, 2020, 2:14:55 PM10/5/20
to TiddlyWiki
hi! my wiki is working fine on my local server, but it's not interactive on my public domain, meaning I can't click on any menu items and I don't see the 2 tiddlers I created. 

I used nodeJS to build the static site & I added all of the files in the static folder to my github pages repo. I also added the static.html file, which I renamed to index.html. That file was created outside of the static folder (not sure if it matters).The files that I added are the 3 shown below, plus index.html. On my domain, I can see my theme but I can't click or search. Any help is greatly appreciated! Thank you!



Jed Carty

unread,
Oct 5, 2020, 2:55:18 PM10/5/20
to TiddlyWiki
I can't see any attached files, there has been trouble with this before but I don't know what caused it.

If you made the static wiki by rendering the page view template as static html then the result isn't interactive. I don't think it contains any javascript so none of the interactive components work.

That is what happens if you used the render command for the tiddler $:/core/ui/PageTemplate or something like that.

If that is the case you I think you want to use the build command instead of render. The details are on https://tiddlywiki.com/#tiddlywiki.info%20Files, ask if you need any further help with that.


If that isn't what you did, my first guess about your problem is that one of the settings for the story river width are set too wide and an invisible part of it is covering the sidebar.

This can also happen with page templates and anything that is set to display on top of everything else. I don't know of anything related to the host that would cause the trouble you are having. When something like that happens to me it is because I have some setting in my local version that I excluded from the exported site. Unfortunately the only way to figure out what the problem is in this case is to poke around until you find something out of place. If you have the wiki up somewhere publicly accessible we can try and look at it to help find a problem.

And because I have to promote my own things a little, if you use Bob (https://github.com/OokTech/TW5-BobEXE/releases) it can export single file wikis that can contain only the tiddlers you want.

Rika Sukenik

unread,
Oct 5, 2020, 3:37:39 PM10/5/20
to tiddl...@googlegroups.com
If you could take a look, that'd be great. I used the build flag in node to build the static site. Here it is https://www.rikasukenik.com/ Thank you!

Best,
Rika Sukenik 


--
You received this message because you are subscribed to a topic in the Google Groups "TiddlyWiki" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/tiddlywiki/yDUBevi6iC4/unsubscribe.
To unsubscribe from this group and all its topics, send an email to tiddlywiki+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/14b8b0fc-d1ff-4d08-921d-968248dee0e2n%40googlegroups.com.

Jed Carty

unread,
Oct 5, 2020, 4:38:22 PM10/5/20
to TiddlyWiki
It looks like it got built without any of the javascript components. If you want a site like tiddlywiki.com then look in your tiddlywiki.info file and under build put

"test": [ "--rendertiddler","$:/core/save/all","index.html","text/plain"]

then the command you run would be (assuming you have tiddlywiki installed globally and you put the correct path in)

tiddlywiki /path/to/wiki --build test

That should give an html file that works the way you want it.

It looks like the static build target you used was the one meant for creating a site that you navigate between separate pages via links instead of as a single page application.

Rika Sukenik

unread,
Oct 5, 2020, 5:39:11 PM10/5/20
to TiddlyWiki
Awesome, it worked! Thank you! But now I'm getting some xmlhttprequest errors pop up when the site loads www.rikasukenik.com

Rika Sukenik

unread,
Oct 5, 2020, 5:53:21 PM10/5/20
to tiddl...@googlegroups.com
Also, the css file is now not being generated. I tried adding the below code to the test command but am getting errors when starting node

      "test": [
             "--rendertiddler",
             "$:/core/save/all",
             "index.html",
             "text/plain"
             "--rendertiddler",
             "$:/core/templates/static.template.css",
             "index.html",
             "text/plain"

        ],

Best,
Rika Sukenik 


Reply all
Reply to author
Forward
0 new messages