Can you hide items in the main menu from web view?

95 views
Skip to first unread message

oleander

unread,
Jul 26, 2008, 7:11:07 PM7/26/08
to TiddlyWiki
Hi everyone!

I was wondering if anyone knows a possible solution to this. I have
created a Admin slider button in the main menu which then drops down
to reveal links to different tiddlers that are for editing
appearances, behavior, etc. The problem is, I really don't want this
to be visible when my wiki is being viewed over the web.

This is the entry I want to hide from web users (it's in the MainMenu
tiddler):
...
<<slider adminMenu AdminTools Admin "Admin tools.">>
...

If anyone has any ideas on how I can hide this from web users-- or
even any alternative ideas, they would be much appreciated. Thank you
for any suggestions ahead of time. :)

~Oleander

wolfgang

unread,
Jul 26, 2008, 10:26:25 PM7/26/08
to TiddlyWiki
Hi Oleander,

One option would be as simple as in this example:

http://espringer.web.wesleyan.edu/

- if you hover slowly from side to side the whole MainMenu width just
below the bottom line you'll mention a color change at one tiny spot
where the hidden slider is (below 'About ..').

Regards,

W.

FND

unread,
Jul 27, 2008, 2:55:47 AM7/27/08
to Tiddl...@googlegroups.com
> I really don't want this
> to be visible when my wiki is being viewed over the web.

You could create a separate theme for read-only mode:
http://www.tiddlywiki.org/wiki/Themes#Creating_Themes


-- F.

oleander

unread,
Jul 27, 2008, 4:03:13 AM7/27/08
to TiddlyWiki
Thank you both for your replies. I did check out the http://espringer.web.wesleyan.edu/
page, but, unfortunately, I'm not sure that the WebView Plugin is
usable in the newest version of TiddlyWiki -- I had a few issues when
trying to integrate the plugin with the newest version of TiddlyWiki.
Creating themes will be the next thing I take a look at. It does seem
like the themes idea has quite a bit of an introduction -- which is
also good because I'm a bit of a beginner with TiddlyWiki.

Thanks again for your replies. Have a good day!
~oleander

wolfgang

unread,
Jul 27, 2008, 5:22:48 AM7/27/08
to TiddlyWiki
> Thank you both for your replies. I did check out thehttp://espringer.web.wesleyan.edu/
> page, but, unfortunately, I'm not sure that the WebView Plugin is
> usable in the newest version of TiddlyWiki -- I had a few issues when
> trying to integrate the plugin with the newest version of TiddlyWiki.

Elise Springer's method of hiding the MainMenu in a slider doesn't
depend on WebView Plugin. I ported many themes to a showcase
TiddlyWiki and hadn't any difficulty adding that particular to a
latest version of TiddlyWiki.

However, since this showcase TiddlyWiki grew to 3.7 MB it's better to
download it first and open it from your local drive:

http://change.tiddlyspot.com/download

look in particular for the ElisesMainMenu tiddler. Its use of
NestedSlidersPlugin can easily be replaced with the core slider macro,
and it's use of the ForEachTiddlerPlugin wouldn't be needed in your
case. So it would work without any plugin at all!

Regards,

W.

wolfgang

unread,
Jul 27, 2008, 5:30:05 AM7/27/08
to TiddlyWiki
> case. So it would work without any plugin at all!
>

With which I didn't meant to say that the method via a 'systemTheme'
tiddler pointed out by FND would require one.

W.

oleander

unread,
Jul 27, 2008, 2:57:37 PM7/27/08
to TiddlyWiki
Thank you very much. I apologize for not misunderstanding your earlier
post -- though I have been using TiddlyWiki for some time now, I
haven't had any real experience with these features as, up until this
point, I only used it as a journal/personal wiki and not as the core
of a website. I have downloaded the file that you gave a link to and I
am checking it out now.

I appreciate your help. :)

~oleander

FND

unread,
Jul 27, 2008, 3:01:07 PM7/27/08
to Tiddl...@googlegroups.com
> I apologize for not misunderstanding your earlier post

That should be fine, I guess...


-- F.

wolfgang

unread,
Jul 27, 2008, 4:33:53 PM7/27/08
to TiddlyWiki
> > I apologize for not misunderstanding your earlier post
>
> That should be fine, I guess...
>

Either way it is :-)

W.

susanna

unread,
Oct 27, 2011, 10:53:34 PM10/27/11
to tiddl...@googlegroups.com, TiddlyWiki
Hi, Wolfgang and all -

Oh my goodness! This change.tiddlyspot.com/download is amazing! So many cool things in here.

I am getting ready to want the tiddly blog setup I've been working on to go live. However, I am wanting to hide any admin aspects. It looks like there are ways to do that with the stuff in the change.tiddlyspot.com/download TW, however I am kinda at a loss.

I'm looking at ElisesMainMenu tiddler, in edit mode, and it says this:

[img[Wesleyan University|weslogo130.gif]]


[img[path|path.jpg]]
----
<<tiddler MainMenu>>
----
+++[ ] <<tiddler AdminStuff>>
===[img[images/spacer.gif]][img[images/spacer.gif]][img[images/spacer.gif]][img[images/spacer.gif]]
/% <<forEachTiddler
 where '! tiddler.tags.contains(["excludeLists"])'
 write
 '"<<redirect \""+tiddler.title+"\" [["+tiddler.title+"]]$))\n"'>>
<<redirect "dialogical" [[dialogue]]>>
----
%/

I do not understand how it is hiding the AdminStuff tiddler. Can someone please clarify?

Feel free to assume that I don't know much about all this. I'm beyond a beginner at TW, but not by very far. :)

Thanks!!!

Susanna

Eric Shulman

unread,
Oct 27, 2011, 11:14:41 PM10/27/11
to TiddlyWiki
> I am wanting to hide any admin aspects

> +++[ ] <<tiddler AdminStuff>>
> ===

> I do not understand how it is hiding the AdminStuff tiddler. Can someone
> please clarify?

Elise's menu uses a little trick to "hide" the admin stuff behind an
invisible 'hotspot'. She uses my NestedSlidersPlugin syntax to create
a slider that uses a single space character as the label to open/close
the slider:
+++[ ]<<tiddler AdminStuff>>===

Because the link just a single space, you have to know where it is to
find it and click it. Of course, this doesn't prevent others from
opening the admin stuff, but it makes it unlikely that they will
randomly click on it.

Alternatively, if you install my CoreTweaks
http://www.TiddlyTools.com/#CoreTweaks

Then you can use an "evaluated parameter" to perform *conditional*
transclusion, like this:
<<tiddler AdminStuff if:
{{config.options.txtUserName="SomeAdminName"}}>>

Support for the if:{{...}} syntax is added by CoreTweaks. In the
above example, the AdminStuff tiddler will only be embedded in the
output if the current username is "SomeAdminName". For all other
usernames, the admin content is *not rendered at all*.

enjoy,
-e
Eric Shulman
TiddlyTools / ELS Design Studios

----
TiddlyTools needs YOUR financial support...
Help ME to continue to help YOU...
make a generous donation today:
http://www.TiddlyTools.com/#Donations

Professional TiddlyWiki Consulting Services...
Analysis, Design, and Custom Solutions:
http://www.TiddlyTools.com/#Contact



susanna

unread,
Oct 28, 2011, 1:32:05 AM10/28/11
to tiddl...@googlegroups.com
Hi, Eric -

Thanks so much for explaining that! I am pretty sure I follow.

And thanks for your syntax and tweaks!

So, could I use both the NestedSlidersPlugin syntax and the CoreTweaks to make it even more doubly likely that it would be almost impossible for someone to happen across the admin stuff?

Yaay for this forum and helpful people! I've learned so much since I started here, and my TWs are making me happier than ever and solving more of my computer needs. :)

Susanna

Måns

unread,
Oct 28, 2011, 12:54:20 PM10/28/11
to TiddlyWiki
Hi

Tobias has made SimpleRolesPlugin http://tobibeer.tiddlyspace.com/#SimpleRolesPlugin
about SimpleRoles; http://tobibeer.tiddlyspace.com/#SimpleRoles
I'm using it and TiddlerEncryptionPlugin
http://remotely-helpful.com/TiddlyWiki/TiddlerEncryptionPlugin.html

It would be great if those two plugins could be merged - so anything a
user shouldn't see would be encrypted with a password as well....

Cheers Måns Mårtensson

wolfgang

unread,
Oct 29, 2011, 5:27:59 AM10/29/11
to TiddlyWiki
How do you guys answer to older threads?

For me all older posts only have a 'reply to author' - but not the
'reply' to the thread button. As I found out when I mistakingly used
this in an older thread, and the reply didn't showed here

Eric Shulman

unread,
Oct 29, 2011, 6:48:16 AM10/29/11
to TiddlyWiki
I select "sort by date" instead of "sort by reply" in the left-hand
column (where the posts are listed). Then, I can see all the posts
(including the recent ones). Otherwise, I only see the old posts.

The *older* posts don't have 'reply' (just 'reply to author'), but the
newer ones (that show up only with "sort by date") *do* have the
'reply' command.

-e

wolfgang

unread,
Oct 29, 2011, 7:25:07 AM10/29/11
to TiddlyWiki
Thanks for the reply. But then, how was susanna able to reply to this
old threat of 2008?

susanna

unread,
Oct 31, 2011, 7:10:39 PM10/31/11
to tiddl...@googlegroups.com
Hi, all -

I have my google groups set to be on their new layout format, so maybe that is making the difference? With the new format, next to every single post is a drop down menu, with both "post reply" and "reply to author" options.

Hope that helps?

When you first log in to google groups, you should see an option on the right for switching over to the new look. Or at least, that's where I found it. For awhile, every time I logged in to google groups, I had to switch over to the new look (which I think is much more intuitive and easy to use and find things on, and looks better)... now google seems to have recognized my preference for the new look, and just automatically loads that upon log in.

Måns, thanks for your reply about those two plugins. I'll check them out! I appreciate your taking a minute to respond. :)

Happy Halloween, all!

Susanna


wolfgang

unread,
Nov 1, 2011, 6:20:02 AM11/1/11
to tiddl...@googlegroups.com

Thanks Susanna. Indeed, the new layout allows to post new posts too!

So I just goof a bid around with the now available formatting options..
Reply all
Reply to author
Forward
0 new messages