TW5 for blog

209 views
Skip to first unread message

Seba

unread,
Jan 16, 2017, 7:37:37 AM1/16/17
to TiddlyWiki

Hi all,

I'm a happy user of TW classic even though it's been a few years since I've actively used it. Now I've decided to use TW5 for my blog. Combining the power of TW5 with github pages it was literally a few minutes to have the blog up and running.

My question is, can I limit the editing options when tiddly is viewed over https? I mean I wouldn't mind using it as it is, since it's a blog and changes anyone would make in my online version wouldn't be stored anyway, but still it would be a nice feature to limit the edit stuff for online viewing.

kind regards,
seba




SylvainComte

unread,
Jan 16, 2017, 9:47:07 AM1/16/17
to TiddlyWiki
Hello Seba,

you may uncheck the "edit" button in control panel ?
$:/ControlPanel > Appearance > Toolbar

But users still can reactivate it if they want...

cheers,

Sylvain

Alex Hough

unread,
Jan 16, 2017, 9:51:12 AM1/16/17
to TiddlyWiki
Dear Seba,

You could use my ReadOnlySave theme (find attached). I wrote something about on the group [1]
You could hide the save button from the user


best wishes

Alex


--
You received this message because you are subscribed to the Google Groups "TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email to tiddlywiki+unsubscribe@googlegroups.com.
To post to this group, send email to tiddl...@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/9a06974e-c08b-4fcc-b6a7-f20a413e9c16%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

$--themes-tiddlywiki-readonly-save.tid

Riz

unread,
Jan 16, 2017, 1:44:08 PM1/16/17
to TiddlyWiki

I am using TW5 for blog too!! Can you tell how you tackled the user comments?

Seba

unread,
Jan 16, 2017, 1:48:43 PM1/16/17
to TiddlyWiki
I'm not that far along yet, and I don't think it will be possible on the github-pages.

I've tried creating a tiddler online and it's not stored properly. The way I currently work is edit offline, push to my git repo and my github-page reloads it.

Here is the link: https://sebastjan-hribar.github.io/

I've only one post so far. This one is important and the platform I used to have it on is down for some time now and I needed a quick solution.

regards,
seba

Dne ponedeljek, 16. januar 2017 19.44.08 UTC+1 je oseba Riz napisala:

Seba

unread,
Jan 16, 2017, 1:51:04 PM1/16/17
to TiddlyWiki
Excuse this question, but how can I install this? Tiddly offers only official library of themes and plugins.

regards,
seba

Dne ponedeljek, 16. januar 2017 15.51.12 UTC+1 je oseba AlexHough napisala:
Dear Seba,

You could use my ReadOnlySave theme (find attached). I wrote something about on the group [1]
You could hide the save button from the user


best wishes

Alex

On 16 January 2017 at 12:37, Seba <sebastja...@gmail.com> wrote:

Hi all,

I'm a happy user of TW classic even though it's been a few years since I've actively used it. Now I've decided to use TW5 for my blog. Combining the power of TW5 with github pages it was literally a few minutes to have the blog up and running.

My question is, can I limit the editing options when tiddly is viewed over https? I mean I wouldn't mind using it as it is, since it's a blog and changes anyone would make in my online version wouldn't be stored anyway, but still it would be a nice feature to limit the edit stuff for online viewing.

kind regards,
seba




--
You received this message because you are subscribed to the Google Groups "TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email to tiddlywiki+...@googlegroups.com.

Josiah

unread,
Jan 16, 2017, 2:03:04 PM1/16/17
to TiddlyWiki
Riz

Mat's Google Forms method works: http://gcomments.tiddlyspot.com/

If you have access to an email server you can enable it like Tobias does: http://tobibeer.github.io/tb5/#Contact

Josiah

Jed Carty

unread,
Jan 16, 2017, 3:05:32 PM1/16/17
to TiddlyWiki
I made my blog using tiddlywiki 5 here http://ooktech.com/jed/externalbrain/ I have comments using hashover, which is written in php.

Riz

unread,
Jan 16, 2017, 9:32:45 PM1/16/17
to TiddlyWiki
Hi,
@Jed; Is there a "How to" somewhere as to how you integrated that to TW5?
@Josiah: Yeah I wanted something diff, little more integrated kind.

@Seba.
Here is a simpler method.

Create a stylesheet, and post the CSS code below.

<$reveal type="nomatch" state="$:/Key"  text="open sesame">
button[aria-label="edit"] {display:none}
</$reveal>




This will hide the edit button using CSS (which is essentially what almost all other methods are doing here.) To unhide it, you simply create a new tiddler, title it "$:/Key" and add the text as "open sesame"



Of course you can extend this to hide anything with appropriate CSS rules and unhide it upon creating the key.

for eg; you want to hide the entire control buttons and the sidebar

<$reveal type="nomatch" state="$:/Key"  text="open sesame">
.tc-tiddler-controls, .tc-sidebar-scrollable, .tc-topbar-right {display:none}
.tc-story-river {padding-right: 3em; margin-right: 0;}
</$reveal>



Note: In this condition you can deprived of the ability to create new tiddlers, which means you have to create "$:/Key" tiddler in a separate wiki and drag and drop it to your Wiki.


For an extra layer of fun, do it like this. Tag the stylesheet tiddler as "Lock" in addition to "$:/tags/Stylesheet". Now the CSS rules should be specified as

<$reveal type="nomatch" state="$:/Key"  text="open sesame">
button[aria-label="edit"] {display:none}
.tc-tagged-Lock {display:none;}
</$reveal>




This will obscure the Lock tiddler, as in -it will not appear on the story-river unless there is $:/Key tiddler. Which means unless the viewer is versatile with TW5 and CSS, it will be little harder to undo something you cannot see.

PS: You can obviously use a more complex password than "open sesame."

Seba

unread,
Jan 20, 2017, 1:50:49 AM1/20/17
to TiddlyWiki
Thank you all for the information and help. I'll see which way to go. The lack of viewer comments might make me drop the github pages alltogether as online saving is not possible.

regards,
seba

Dne ponedeljek, 16. januar 2017 13.37.37 UTC+1 je oseba Seba napisala:
Reply all
Reply to author
Forward
0 new messages