[tw] Multiple values in one variable (within a macro call)

2016-07-27 Thread jonathanhaug
Hi there again, I would like to call a macro with a set of tiddler titles (similar to an „array“ variable) <> And the macro has to output a list of links to these tiddlers. \myMacro(ttl) <$list filter="[[$ttl$]]" /> \end How would I do this? Thanks in advance!

[tw] Re: Transcluding the title of the current tiddler

2016-07-27 Thread jonathanhaug
Thank you, Mark! You are the guru here… This seems to work: \define mac2(ttl) <$list filter=" [[$ttl$]] +[removesuffix[ (Info)]]" /> \end \define mac1() --- The following contains details relating to <$macrocall $name=mac2 ttl={{!!title}}/> --- \end <> -- You received this

AW: [tw] Re: Transcluding the title of the current tiddler

2016-07-27 Thread jonathanhaug
Hi Matabele, indeed, your approach does work for pure listing, but if you want to link to this very tiddler, it does not work … \define myTitle(title) [[$title$ info]] <> leaves you with a link to „{{!!title}} info“. -- You received this message because you are subscribed to

AW: [tw] Re: Transcluding the title of the current tiddler

2016-07-26 Thread jonathanhaug
Thanks, your solution is working – great! One more question: How would I do it the other way round: Linking from „myTiddler (info)“ to „myTiddler“ ? I would have to shorten the title oft the current tiddler, i.e. cut off the last 6 or 7 characters. How would I do this? -- You

[tw] Transcluding the title of the current tiddler

2016-07-26 Thread jonathanhaug
Hi there, i want to transclude the title of the current tiddler within a macro. Firstly, here ist he macro: \define myMacro() --- look here for more informations: [[ {{!title}} (Info) ]] --- \end Secondly, here ist the macro call: <<>> Thirdly, this should be

AW: [tw] Re: [TW5] How to protect single tiddlers from editing by password

2015-11-18 Thread jonathanhaug
Hi Tobias, thanks for looking into my issue – your solution is working! And thank you for creating a bug report. Greetings Jonathan -- You received this message because you are subscribed to the Google Groups "TiddlyWiki" group. To unsubscribe from this group and stop

[tw] Re: [TW5] How to protect single tiddlers from editing by password

2015-11-14 Thread jonathanhaug
Sorry, this should be part of my last thread https://groups.google.com/forum/#!topic/tiddlywiki/07WVZmjsopE In short: How would I * allow a user to read a special tagged tiddler, but … * prevent him from editing this tiddler by … * asking

[tw] Re: [TW5] How to protect single tiddlers from editing by password

2015-11-11 Thread jonathanhaug
Hi there, I have to reactivate this. I’ve edited the shadow tiddler $:/core/ui/Buttons/edit and added a reveal widget: <$list filter="[all[current]tag[locked]]"> <$list filter="[all[current]!tag[locked]]"> <$reveal type="match" state="$:/_secret" text="my-secret">

Re: [tw] Re: [TW5] How to protect single tiddlers from editing by password

2015-09-29 Thread jonathanhaug
Tobias, thanks a lot, you’re great a help! Jonathan -- 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+unsubscr...@googlegroups.com. To post to

[tw] Re: [TW5] How to protect single tiddlers from editing by password

2015-09-28 Thread jonathanhaug
Hi Tobias, thanks for your detailed explanations. I do learn a lot in hacking tw5 by reading your comments. But… with your approach I would allow editing – but prevent saving. IMHO this is one step too late. Why would I allow editing a tiddler if i knew already that the user is not

AW: [tw] [TW5] How to protect single tiddlers from editing by password

2015-09-27 Thread jonathanhaug
Hi Danielo, sure, there is no real protection, but I a have small userbase and I'm just trying to prevent accidential editing. The wiki resides on a sharded folder in a windows network. Do you mean, " There are different levels of read only" in your single tiddler encryption plugin?

AW: [tw] [TW5] How to protect single tiddlers from editing by password

2015-09-27 Thread jonathanhaug
Hi, no, there isn’t any multi-user workflow. Users are just accessing the html-file on a shared space. I just want to have a pop-up saying „please enter password“ when someone tries to edit the tagged tiddlers. How would I achieve that? Matabele, putting them into a plugin sounds

[tw] WG: [TW5] Hide the edit button in tagged tiddlers

2015-09-26 Thread jonathanhaug
Hi Ton, thanks, this looks like the perfect solution. Cu Jonathan Von: Ton Gerner [mailto:ton.ger...@gmail.com] Gesendet: Samstag, 26. September 2015 16:25 An: TiddlyWiki < > Cc: jonathanh...@wolke7.net Betreff: Re: [TW5] Hide the edit button