[tw5] Re: Don't call attention to TWC

2020-05-25 Thread Reto
> One reason: I have several TWC's that cannot be > upgraded/transferred/modified to, to TW5 (so far). These are highly > functional/highly customized with plugins that don't exist in TW5 (again, > so far). > Same here: I also do have a *heavily* customized TWC including more than 12'000 tid

[tw5] Re: How to pass a parameter to a list?

2018-08-20 Thread Reto
> > What are you trying to do here? > Just get the title of the tiddler within which I call the macro ... > A widget inside a widget will never work directly. But this should work: > > <$macrocall $name="test-macro" title={{!!title}}/> > Yes, that did the trick ... > So, there's no need fo

[tw5] Re: How to pass a parameter to a list?

2018-08-20 Thread Reto
> > You'd need to use https://tiddlywiki.com/#MacroCallWidget > Works: <$macrocall $name="test-macro" title=<>/> Still struggling with getting the value out of the field itself ... the following is not working: <$macrocall $name="test-macro" title={{<$view field="title"/>}}/> Also no clue how

[tw5] Re: How to pass a parameter to a list?

2018-08-20 Thread Reto
> > You are right. There's a problem. > > Easy fix would be to use the macro without a parameter. > Works when "$title$" is replaced at both place by "<>". Thanks. Still I would like to call the macro passing the tiddler like <>>>. How can I access the title field within the tiddler itself? T

[tw5] Re: How to pass a parameter to a list?

2018-08-20 Thread Reto
Hey Tony ;-) > It is quite different to TWC - my technical understanding has improved > since learning TW5 > It is not that easy to get into TW5 even with some knowledge about TWC ... > Here are a few tips I wish someone gave me when I started moving to TW5, > not all will make sense right

[tw5] Re: How to pass a parameter to a list?

2018-08-20 Thread Reto
> > \define test-macro(title:<>)... > > This should use currentTiddler variable as the default variable, if no > parameter is passed. > Must be doing something wrong ... now a new tiddler "<>" is added which contains the field "filter-field". This is my test-macro: \define test-macro(title:<>

[tw5] Re: How to pass a parameter to a list?

2018-08-20 Thread Reto
> > This is a "text substitution" ... So it's not a variable. > > Have a closer look at: > https://tiddlywiki.com/#Macro%20Definitions%20in%20WikiText > Ok, my understanding grows ... thanks for the hint. -- You received this message because you are subscribed to the Google Groups "TiddlyWi

[tw5] Re: How to pass a parameter to a list?

2018-08-17 Thread Reto
Thanks, Mark. > The macro is called like this: <>. > How would I have to call the macro when I would want to write the select value in the calling tiddler (tiddler A)? Content of tiddler A: <> {{$view field="title"}} is obviously not working. -- You received this message because you are s

[tw5] Re: How to pass a parameter to a list?

2018-08-17 Thread Reto
> > >- The select in the macro is this: <$select tiddler="""$title$""" >field="filter-field">. > - "$title$" is how the variable can be used? > - What is <$select tiddler="""$title$""" doing? According to the > SelectWidget reference attribute "tiddler" > *The title of

[tw5] Re: How to pass a parameter to a list?

2018-08-17 Thread Reto
" doing? According to the SelectWidget reference attribute "tiddler" > *The title of the tiddler containing the value to be displayed/modified by the select widget (defaults to the current tiddler).* What is tiddler B in your example intended for?

[tw5] Re: How to pass a parameter to a list?

2018-08-17 Thread Reto
Many thanks for the quick answer, Mario. I'm going to look at your example as soon as I can. Cheers Reto Am Freitag, 17. August 2018 13:12:17 UTC+2 schrieb PMario: > > Hi Reto, > > You are on a good way. > > You can split your code into 3 elements. > > - The ma

[tw5] How to pass a parameter to a list?

2018-08-17 Thread Reto
I am trying to understand how the concept I used in TWC could be migrated to TW5. That concept was: there is a tiddler A which contains a list (based on ForEachTiddlerPlugin). It needs a parameter for filtering. There is a tiddler B including a select list which is used for filtering the list. I

[tw5] Re: Migration from TWC to TW5

2018-06-21 Thread Reto
> > Maybe just make the "All" value equal to "ExtendedBrain", since all > results should match that. > Thanks, Mark, this works ... although I don't understand why. -- You received this message because you are subscribed to the Google Groups "TiddlyWiki" group. To unsubscribe from this group

[tw5] Re: Migration from TWC to TW5

2018-06-20 Thread Reto
I would like to filter for tiddlers tagged with "ExtendedBrain" AND my filter-filter: <$select field="filter-field"> All ExtendedBrainButton ExtendedBrainHeadTemplate ... <$list filter="[tag[ExtendedBrain]] +[tag{!!filter-field}]" emptyMessage="Nothing found"> ... Expected result for "All" wa

[tw5] Re: Migration from TWC to TW5

2018-06-20 Thread Reto
> ... filter="[tag{!!filter-field}]" ... > That did the trick, thanks, Eric. > use square brackets for literal values: tag[foo] > use curly brackets for tiddler field references: tag{foo} > use angle brackets for variable references: tag > I still struggle with navigating through the docume

[tw5] Re: Migration from TWC to TW5

2018-06-20 Thread Reto
First baby steps with the listWidget. Was unable to combine this with select: <$select field="filter-field"> All ExtendedBrain ExtendedBrainHeadTemplate Name Field "display_person_list" <$list filter="[tag[{{!!filter-field}}]]" emptyMessage="Nothing found"> {{!!title}} {{!!fieldname}} <$vi

[tw5] Re: Migration from TWC to TW5

2018-06-19 Thread Reto
olumn heading and what to display for each item in the list, in that > column is specified in the column tiddler. A nice side effect is using a > TagPill you can use drag and drop to reorder the columns. The columns > typically refer to fields however they can make buttons available to a

[tw5] Re: Migration from TWC to TW5

2018-06-14 Thread Reto
Made some progress: I have now marked all my tiddlers in TWC which have to be migrated. It's mostly lists (implemented with ForEachTiddlerPlugin in TWC, to be migrated to filters), dropdowns (using ListboxPlugin in TWC, to be migrated to SelectWidget?), buttons and then many java script pieces

[tw5] Re: Migration from TWC to TW5

2018-06-06 Thread Reto
> > This is what I plan to do: import my TWC function tiddlers into a TW5, > upgrade the tiddlers. Then check what TW5 does with my TWC functionality. I > guess it will be marked some way. This are the gaps then. Then try find a > way how I can include TW5 functions into TWC tiddlers in a way t

[tw5] Re: Migration from TWC to TW5

2018-06-06 Thread Reto
Hi Tony First of all: I appreciat that you picked up the topic and continue the conversation. As I am not able to spare a lot of time for the issue it may take a while until I reply. Not to metion do real work on my side ... Understood. As highlighted below not as manual as you think, yes much

[tw5] Re: Tiddler Titles vs unique IDs

2018-06-06 Thread Reto
That is TWC code ... I didn't migrate this to TW5. As far as I know in TW5 modules may used for JavaScript: https://tiddlywiki.com/#Modules Have no experience with TW5. Sorry. Am Mittwoch, 6. Juni 2018 03:18:05 UTC+2 schrieb TonyM: > > Reto, > > Thanks but I do not have en

[tw5] Re: Tiddler Titles vs unique IDs

2018-06-05 Thread Reto
n uniqueId; }; config.options.extendedBrainFormatUniqueId = "0MM0DD0hh0mm0ss"; Am Samstag, 2. Juni 2018 11:26:56 UTC+2 schrieb TonyM: > > Reto, > > Are you able to share the method you use to increment the date time. I > belive milliseconds MMM can now be added to date time stamps. > > Of course I

[tw5] Re: Migration from TWC to TW5

2018-06-05 Thread Reto
have TWC content which is ignored in TW5? Cheers Reto Am Sonntag, 3. Juni 2018 09:14:48 UTC+2 schrieb TonyM: > > Reto, > > I know where you are coming from because I have a large TWC myself, but > basically I am developing new TW5 solutions and retaining my TWC as an > archi

[tw5] Re: Tiddler Titles vs unique IDs

2018-05-31 Thread Reto
Just my 2 cents on the topic since I am working with unique ids since a few years. I developed my own functions within TWC but maybe the concept and experience might be interesting. What was my motivation to introduce unique ids? Mainly because I wanted to be able to change the title of tiddler

[tw5] Migration from TWC to TW5

2018-05-31 Thread Reto
I am using TWC since 10 years and it is heavily customized and contains a lot of tiddlers (> 12'000 in total, about 140 with some kind of functions). Nevertheless my aim is to migrate to TW5. One problem is to identify parts which needs to be rewritten. I wonder if there is a way how I could ma

[tw] [TWC] ImportTiddlersPlugin: Troubles with HTTPS?

2014-06-19 Thread Reto
Anyone using the ImportTiddlersPlugin with a HTTPS-URL? When I try to open [1] then I get this error: Opening https://tank.peermore.com/tanks/ExtendedBrain/extended_brain Could not open l:\[MY_LOCALPATH]\https:\\tank.peermore.com\tanks\ExtendedBrain\extended_brain - error=(filesystem error) I:

[tw] Re: [TWC] Bullet proof way to publish a TW based application

2014-04-30 Thread Reto
> > Wich version of TWC are you using? How good does this works? I'm really > interested on it. > I am using Version 2.8.1. Until now I made only a few tests and am not using it in a "productive" environment. -- You received this message because you are subscribed to the Google Groups "Tiddl

[tw] Re: [TWC] Bullet proof way to publish a TW based application

2014-04-30 Thread Reto
> I have to further investigate how TS might be used in a simple way for > users to keep their local TWC application up to date. > I am pretty near the required solution which looks like this: - The TW containing all the plugins, macros and other tiddlers which are part of the applicati

[tw] Re: [TWC] Bullet proof way to publish a TW based application

2014-03-27 Thread Reto
> > > I think you should use the TiddlySpace "include mechanism" not tiddler > import. > TS has the following behaviour out of the box. > > - A space consists of one or more other spaces. > - let's say my space is: asdf > > It also contains those system spaces. > >- system-plugins

Re: [tw] Re: [TWC] Bullet proof way to publish a TW based application

2014-03-27 Thread Reto
Thanks for the hint to Tank, didn't know this plattform. > Drawback is that if the user chooses a feed he can't see the version > > of the local installed tiddler compared to the version on the remote > > TW and in the list of importable tiddlers. > > I didn't quite understand what that meant a

[tw] [TWC] Bullet proof way to publish a TW based application

2014-03-25 Thread Reto
I am struggling to find a way to publish my TiddlyWiki based application (means: a TWC containing third party plugins, a self written plugin, macros und other necessary tiddlers > basically a bunch of tiddlers working together). The requirements and wishes: 1. Each application tiddler needs

[tw] Bullet-proof way of deplyoing customized TW releases

2013-08-16 Thread Reto
I am currently thinking about to share a heavily cusotmized TW. Unfortunately I couldn't come up with a bullet-proof to deploy new releases to users. New release means: new or modified plugins and other tiddlers. Let's say Customized TW (let's call it CTW) 1.0.0 was installed (downloaded from s

[tw] Tweak the list of importable tiddlers

2013-08-16 Thread Reto
On the quest of finding the best solution to publish a customized TW I am playing with TiddlySpace. It is CORS enabled so users may import new or updates tiddlers from there. I do not want to overwhelm users with a big list of importable tiddlers and it would be nice if it was indicated in the

[tw] Troubles with Java 7 Update 25

2013-06-28 Thread Reto
Just to let you know in case anyone has similar problems: I am using TW 2.7.1 in Chrome/Iron on Windows 7 (64-Bit). After upgrading to Java 7 Update 25 I couldn't save anymore. I uninstalled Update 25 and installed Java 7 Update 21. Result: I could save again in TW. -- You received this messag

[tw] Re: Syntax for nasty tiddler title?

2013-02-08 Thread Reto
Perfect, works! Thanks for the quick response, Eric. Cheers Reto On Friday, February 8, 2013 9:34:57 AM UTC+1, Eric Shulman wrote: > > > > On Feb 8, 12:29 am, Reto wrote: > > I try to use the edit macro of EditFieldPlugin to update a "remote" > > tiddler

[tw] [EditFieldPlugin] Syntax for nasty tiddler title?

2013-02-08 Thread Reto
I try to use the edit macro of EditFieldPlugin to update a "remote" tiddler. I have some nasty tiddler titles containing dashes, slashes and such. Unfortunately I was not able to figure out the correct "surroundig" or escaping. I had no luck with <> <> <> <> Any hints? -- You received this

[tw] How to restore unsaved browser entries

2012-11-30 Thread Reto
More than one time I experienced loss of data because I didn't follow my own best practises: 1. Make sure that you there is a temporary copy of larger texts which are written in a web form. 2. If you test Javascript in a browser (e.g. while developping in TiddlyWiki) make sure that you save befo

[tw] Re: editFieldPlugin(?) problem

2012-11-30 Thread Reto
help! I allowed myself to test your donation functionality ... works ;-). Cheers Reto -- You received this message because you are subscribed to the Google Groups "TiddlyWiki" group. To view this discussion on the web visit https://groups.google.com/d/msg/tiddlywiki/-/qJH1U7kjbtEJ. T

[tw] Re: editFieldPlugin(?) problem

2012-11-29 Thread Reto
> > You also need to declare the 'showWorkHeader' *object* before you > define the 'handler' method: > > config.macros.showWorkHeader={}; > config.macros.showWorkHeader.handler = function (...) { >... > }; > This is also done ... sorry, didn't pasted the whole code. Was finally able to

[tw] Re: editFieldPlugin(?) problem

2012-11-18 Thread Reto
> > Your function declaration is a bit odd. The name of the function is > 'handler' but you also declare 'showTitleOfField'. Try removing > that extra name: > > config.macros.showWorkHeader.handler=function(...) { Thanks, Eric. This is may first plugin, I did read tiddlywork.org, the

[tw] editFieldPlugin(?) problem

2012-11-18 Thread Reto
I have a template tiddler WorkHeader containing an <>. I get the text of this template tiddler in an other tiddler by script: *return store.getTiddlerText("WorkHeader");* Everything is fine: The macro is rendered, the field is found. Then I wrote a plugin which basically is doing the same: *c

[tw] Re: Matching tags with regular expressions

2012-01-08 Thread Reto
Yes, that's it. Thanks! Reto -- You received this message because you are subscribed to the Google Groups "TiddlyWiki" group. To view this discussion on the web visit https://groups.google.com/d/msg/tiddlywiki/-/T44omTSz6hIJ. To post to this group, send email to tiddlywiki@g

[tw] Re: Matching tags with regular expressions

2012-01-07 Thread Reto
Any idea how to avoid the NULL respectively replace it by an empty string if match doesn't get any result? tiddler.tags.join(" ").match(/[0-9]{4}-[0-9]{2}-[0-9]{2}/).replace(/\0/g,"") ends up with "TypeError: Cannot call method 'replace' of null". -- You received this message because you ar

[tw] Creating a date from a string representing week of year

2012-01-05 Thread Reto
I am using a tiddler per week-of-year with the title in the format -KW0MM (via calendar plugin). I would like to generate lists of tiddlers (with forEachTiddler) within this wee-of-year tiddler for each day of the week. Those tiddlers have a tag in the format -0MM-0DD. I guess some (javas

[tw] Re: Matching tags with regular expressions

2012-01-05 Thread Reto
Works like a charm, muchas gracias! And thanks for the helpfull coments. Cheers Reto On Jan 5, 11:23 am, Eric Shulman wrote: > > < > 'tiddler.tags.sort().join("]]").contains(new RegExp("\-.. > > \-..","gm"))' > > >

[tw] Matching tags with regular expressions

2012-01-05 Thread Reto
With forEachTidler I am trying to find tiddlers with tags matching certain patterns. I read carefully through the posts in this group related to this topic but wasn't able to figure out a solution. This is what I have: <> Date tags with format "-0MM-0DD" should be found. As far as I understo

[tw] Re: How to translate plugins or macros?

2011-03-10 Thread Reto
That's it! Thank you all! Cheers Reto -- You received this message because you are subscribed to the Google Groups "TiddlyWiki" group. To post to this group, send email to tiddlywiki@googlegroups.com. To unsubscribe from this group, send email to tiddlywiki+unsubscr...@google

[tw] Re: How to translate plugins or macros?

2011-03-10 Thread Reto
> When it comes to extending TW via plugins or macros... you will loose > all language customizations, ShadowStyleSheetDefaults or variable > configuration in general that you've made in the plugin tiddler when > you try to update from a non localized version. This is what I am trying to avoid ...

[tw] Re: How to translate plugins or macros?

2011-03-08 Thread Reto
myself... For instance the ReminderMacros (http:// remindermacros.tiddlyspot.com/). How do I translate buttons and labels separated from the installation? I do not want to loose the translation if the macro was updated ... Cheers Reto -- You received this message because you are subs

[tw] How to translate plugins or macros?

2011-03-07 Thread Reto
I was not able to find suitable information on how to translate plugins or macros in a propper way. Of course I found the translation project (http://trac.tiddlywiki.org/wiki/Translations) but nowhere a description of how to translate addons. Any hints? -- You received this message because you a