[tw5] Re: Passing variable to link widget?

2018-10-18 Thread Ivan Aparicio
Thanks Tony,

Is the heads up for backwards compatibility? The reason I would like to use 
the link method, is because if the tiddler already exists, I would like to 
link to it, and if it doesn't yet, I would like to be able to create it.

Is that an option with the new tiddler button?

On Thursday, October 18, 2018 at 12:40:00 PM UTC+1, TonyM wrote:
>
> Ivan,
>
> It is nice we can create tiddlers from non existent tiddlers named in 
> links.
>
> You may however look to creating tiddlers in the future with custom new 
> tiddler buttons so you can set fields, choose to create but not navigate, 
> add fields and tags or use template tiddlers.
>
> Just a little heads up
>
> Tony
>
>

-- 
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 this group, send email to tiddlywiki@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/3293751c-7ffb-4fd2-b059-d6caec2bf479%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Re: Passing variable to link widget?

2018-10-18 Thread Ivan Aparicio
Hi Mario,

You're right, sorry it was a transcription typo. I've corrected it now. 
Thanks


On Thursday, October 18, 2018 at 9:32:38 AM UTC+1, PMario wrote:
>
> modified
>
> On Thursday, October 18, 2018 at 10:30:04 AM UTC+2, PMario wrote:
>>
>> hi 
>>
>> imo you missed the quotes and a space. see: 
>> https://tiddlywiki.com/#SetWidget
>>
>> <$set name="tiddler-title" value={!!title}}>
>>
>> -m
>>
>

-- 
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 this group, send email to tiddlywiki@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/bd9c6f54-1669-4bfe-95c1-1355ab72e033%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Passing variable to link widget?

2018-10-18 Thread Ivan Aparicio
I'm trying to get a tiddler to link to a different tiddler that is based on 
its name:

<$setname=tiddler-title value={!!title}}>

Tiddler content

!<$link><> Observations

The tiddler shows a link, but it doesn't work. I was hoping I would have a 
link that I could then use to create the 'Observations' tiddler.

Does anyone know how to do this?

-- 
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 this group, send email to tiddlywiki@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/3b0603eb-225f-4814-b99a-6680b132e87d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [tw5] setting up tiddlywiki with save working on Apache

2018-08-09 Thread Ivan Aparicio
I've attached the file

On Wednesday, August 8, 2018 at 3:23:07 PM UTC+1, Lost Admin wrote:
>
>
>
> On Tuesday, August 7, 2018 at 3:45:22 PM UTC-4, Ivan Aparicio wrote:
>>
>> ...
>>
>> I can post the PHP file working on PHP 7 if anyone is interested.
>>
>
> I am interested. I don't use the PHP saver anymore since I've got a 
> working Apache WebDAV server but I ran the PHP server for quite a while and 
> make a few improvements of my own. 
>

-- 
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 this group, send email to tiddlywiki@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/1fb42a32-be2c-4fda-a62e-191936414577%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
<>


[tw5] Nested filters for large report

2018-08-09 Thread Ivan Aparicio
Hi All,

I'm trying to write a filter that will put together a report with headings 
based on tags. As an example:

   - 2 types of tiddler: Fruit tiddlers and review tiddlers.
   - Review tiddlers are tagged with the name of the fruit (say Apple) and 
   the variety (say Fuji, Granny Smith)

I would like a report tiddler for each fruit that will list reviews under a 
heading for each variety.

So for example:

=Apple=
==Fuji==
Great! Loved the taste, and crunchiness!
Very good; nice peel.
==Granny Smith==
Only liked the colour, so will not be buying again
Good size for the price!
Good value, but do not use for juice!

Is this even possible? Has someone done something similar?

Thanks for reading!

-- 
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 this group, send email to tiddlywiki@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/5eb3dccb-ba70-48ae-a1c6-6442e49318ed%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [tw5] setting up tiddlywiki with save working on Apache

2018-08-07 Thread Ivan Aparicio
YES! Thanks Mark. I had a look at the log, and it was complaining about the 
'split()'. After reading a bit online I used preg_split instead. So here is 
the code I ended up with:

*// get options*

*foreach*($optionArr as $o) {

list($key, $value) = preg_split('~=~', $o);

$options[$key] = $value;

}


I put '~' characters around the '=' because I was getting an error that 
said that the '=' didn't have a delimiter, and I read on a stack overflow 
post 
<https://stackoverflow.com/questions/30321311/function-split-is-deprecated-preg-split-no-ending-delimiter-found>
 that 
it was the thing to do.

I can post the PHP file working on PHP 7 if anyone is interested.

On Sunday, August 5, 2018 at 10:38:31 PM UTC+1, Mark S. wrote:
>
> Are you getting messages about "split" ? Down in the code there's a set of 
> lines:
>
> / get options
> foreach($optionArr as $o) {
> list($key, $value) = split('=', $o);
> $options[$key] = $value;
> }
>
> My understanding is that "split" has been deprecated and might need to be 
> fixed with "explode". One report in the forum said that they were able to 
> simply remove the lines, which suggests that they might never get invoked 
> in some circumstances.
>
> -- Mark
>
> On Sunday, August 5, 2018 at 11:20:38 AM UTC-7, Ivan Aparicio wrote:
>>
>> Do you know what changes are needed? I had a great little setup with 
>> store.php on apache until I upgraded my PHP to update nextcloud :(. Now I 
>> don't have access to my tiddlywiki
>>
>> On Tuesday, June 12, 2018 at 5:50:40 PM UTC+1, Mark S. wrote:
>>>
>>> Re Store.php, you need to make a small code change to accommodate the 
>>> latest PHP You may also need to adjust max upload/download sizes in the 
>>> store.php file and perhaps in the php.ini file.
>>>
>>> -- Mark
>>>
>>>

-- 
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 this group, send email to tiddlywiki@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/f404ab12-4be3-4df0-869b-dfe4bcf24f34%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [tw5] setting up tiddlywiki with save working on Apache

2018-08-05 Thread Ivan Aparicio
Do you know what changes are needed? I had a great little setup with 
store.php on apache until I upgraded my PHP to update nextcloud :(. Now I 
don't have access to my tiddlywiki

On Tuesday, June 12, 2018 at 5:50:40 PM UTC+1, Mark S. wrote:
>
> Re Store.php, you need to make a small code change to accommodate the 
> latest PHP You may also need to adjust max upload/download sizes in the 
> store.php file and perhaps in the php.ini file.
>
> -- Mark
>
>

-- 
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 this group, send email to tiddlywiki@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/ba6a3624-4e7c-48c4-bb94-3d64e250222a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: store.php isn't saving over LAN after ISP change

2018-01-26 Thread Ivan Aparicio
Mark,

That worked! I added a line in /etc/hosts as below:

 

I can now access my TW by using the server public IP at home and save it 
with no problems.

Thanks!

On Friday, January 26, 2018 at 4:46:14 PM UTC, Mark S. wrote:
>
> Yes, that is the idea.
>
> On Friday, January 26, 2018 at 8:38:29 AM UTC-8, Ivan Aparicio wrote:
>>
>> Hi Mark,
>>
>> I tried connecting on both a macbook air and a thinkpad running Fedora 
>> 26. I'll try to change the hosts file once I get home. Is the idea to 
>> redirect the internet URL to my local IP address?
>>
>> Thanks
>>
>> On Friday, January 26, 2018 at 4:13:32 PM UTC, Mark S. wrote:
>>>
>>> You don't mention what machine you are using at home to connect to your 
>>> PI.
>>>
>>> I'm wondering if you could add an entry to the host file of your local 
>>> PC that would over-ride your named connection to no-ip with your PI local 
>>> address.
>>>
>>> Good luck,
>>>
>>> -- Mark
>>>
>>> On Friday, January 26, 2018 at 7:41:27 AM UTC-8, Ivan Aparicio wrote:
>>>>
>>>> Hi Tony,
>>>>
>>>> I hadn't heard of tiddlyserver. I am serving my TW from home using a 
>>>> raspberry pi and store.php which I got from here:
>>>>
>>>> https://code.google.com/archive/p/bidix/downloads
>>>>
>>>> I think that the reason I can't access it over LAN is that in the TW5 
>>>> control panel under the 'Saving' tab, there is only space for one 'Server 
>>>> URL', and I am trying to access it from two different server URLs (the LAN 
>>>> one, and the internet).
>>>>
>>>> Would tiddlyserver allow me to host my TW from home?
>>>>
>>>> Thanks!
>>>>
>>>> On Friday, January 26, 2018 at 1:24:16 PM UTC, TonyM wrote:
>>>>>
>>>>> At the same time you are serving it over php is there any reason you 
>>>>> can't also access it on local host or Lan IP address with TiddlyServer?
>>>>>
>>>>> Regards
>>>>> Tony
>>>>>
>>>>

-- 
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 this group, send email to tiddlywiki@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/813bc640-46e1-435a-aa2c-2758425ff319%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: store.php isn't saving over LAN after ISP change

2018-01-26 Thread Ivan Aparicio
Hi Mark,

I tried connecting on both a macbook air and a thinkpad running Fedora 26. 
I'll try to change the hosts file once I get home. Is the idea to redirect 
the internet URL to my local IP address?

Thanks

On Friday, January 26, 2018 at 4:13:32 PM UTC, Mark S. wrote:
>
> You don't mention what machine you are using at home to connect to your PI.
>
> I'm wondering if you could add an entry to the host file of your local PC 
> that would over-ride your named connection to no-ip with your PI local 
> address.
>
> Good luck,
>
> -- Mark
>
> On Friday, January 26, 2018 at 7:41:27 AM UTC-8, Ivan Aparicio wrote:
>>
>> Hi Tony,
>>
>> I hadn't heard of tiddlyserver. I am serving my TW from home using a 
>> raspberry pi and store.php which I got from here:
>>
>> https://code.google.com/archive/p/bidix/downloads
>>
>> I think that the reason I can't access it over LAN is that in the TW5 
>> control panel under the 'Saving' tab, there is only space for one 'Server 
>> URL', and I am trying to access it from two different server URLs (the LAN 
>> one, and the internet).
>>
>> Would tiddlyserver allow me to host my TW from home?
>>
>> Thanks!
>>
>> On Friday, January 26, 2018 at 1:24:16 PM UTC, TonyM wrote:
>>>
>>> At the same time you are serving it over php is there any reason you 
>>> can't also access it on local host or Lan IP address with TiddlyServer?
>>>
>>> Regards
>>> Tony
>>>
>>

-- 
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 this group, send email to tiddlywiki@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/61b7d6dd-2e73-424a-a17b-af75d6d622e2%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: store.php isn't saving over LAN after ISP change

2018-01-26 Thread Ivan Aparicio
Hi Tony,

I hadn't heard of tiddlyserver. I am serving my TW from home using a 
raspberry pi and store.php which I got from here:

https://code.google.com/archive/p/bidix/downloads

I think that the reason I can't access it over LAN is that in the TW5 
control panel under the 'Saving' tab, there is only space for one 'Server 
URL', and I am trying to access it from two different server URLs (the LAN 
one, and the internet).

Would tiddlyserver allow me to host my TW from home?

Thanks!

On Friday, January 26, 2018 at 1:24:16 PM UTC, TonyM wrote:
>
> At the same time you are serving it over php is there any reason you can't 
> also access it on local host or Lan IP address with TiddlyServer?
>
> Regards
> Tony
>

-- 
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 this group, send email to tiddlywiki@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/081de650-11f8-4dd4-ba45-3135b75686b3%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] store.php isn't saving over LAN after ISP change

2018-01-26 Thread Ivan Aparicio
Hi All,

First, tl;dr - I'm serving a TW5 at home using store.php, and can't save to 
it over LAN (using the local IP address), however I can save to it from 
work outside of my LAN (using my public IP with port forwarding).

So I changed ISP again. Before everything was running great - I accessed my 
TW through a domain name provided by no-ip (a dynamic DNS).

My new ISP has given me a router that doesn't allow loopback (for security 
they say). That means that when I'm at home, instead of using my domain 
name, I need to use my local IP address.

The TW opens fine, but I can't save to it on my LAN at home. I can save to 
it using my domain name at work (though it sometimes takes a while). In the 
TW settings, I had set up the domain name as my server URL, and I think 
this is where the problem lies.

Does anyone know of a way I can save the TW using more than one server URL 
(the local IP and the domain name)?

Thanks!


-- 
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 this group, send email to tiddlywiki@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/7da9f613-0108-4551-9dd7-3908fe532ee7%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [tw] Re: A little help for Saving on a PHP Server

2017-09-18 Thread Ivan Aparicio
I also found that changing permissions (of both the tiddlywiki and 
store.php files) to 777 fixed this issue

On Thursday, January 8, 2015 at 9:40:44 PM UTC, RichShumaker wrote:
>
> SOLUTION!!!
> and as I have said on the GitHub thread I owe Tobias a keg of beer(if he 
> drinks beer).
> This is a permissions issue if you get the error I received.
> I changed the permissions on my server folder to 777(probably overkill and 
> not wise should only need a change to the store.php file).
> Once I changed permissions it worked and boom goes the dynamite I am up 
> and running.
>
> Below is an image of my TW 5.1.7 configuration as the autofill confused me 
> at first.
>
> Thanks again Tobias.
>
> Rich Shumaker
>
>
> 
>

-- 
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 this group, send email to tiddlywiki@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/76cae3ea-87b3-4cec-ba82-4dcedf297e80%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: tm-new-tiddler isn't loading my template

2017-08-26 Thread Ivan Aparicio
Thanks Mark, that makes sense! It may be worth amending this 
tiddler: http://tiddlywiki.com/#WidgetMessage%3A%20tm-new-tiddler to 
reflect that it's $param and not just param.

On Saturday, August 26, 2017 at 7:26:34 PM UTC+1, Mark S. wrote:
>
> For what it's worth, the actual parameter turns out after testing to be 
>
> $param=
>
> Mark
>
> On Friday, August 25, 2017 at 3:46:16 AM UTC-7, Ivan Aparicio wrote:
>>
>> I'm trying to create a button that will create a book log tiddler:
>>
>> <$button>
>>   ''Book''
>>   <$action-sendmessage 
>>   $message="tm-new-tiddler" 
>>   $template="Template:Book" 
>>   title="Book title" tags="Scrap [[book]]"/>
>> 
>>
>> Everything works, except for the template. I'm 100% sure that I have a 
>> tiddler named Template:Book, but it isn't being transcluded. Am I doing 
>> something wrong?
>>
>

-- 
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 this group, send email to tiddlywiki@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/50be782e-3367-496b-87bd-fd189ca3c295%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: tm-new-tiddler isn't loading my template

2017-08-26 Thread Ivan Aparicio
Thanks Tony, that seems to have done it!

On Saturday, August 26, 2017 at 1:52:32 AM UTC+1, TonyM wrote:
>
> Ivan,
>
> Try adding text="text in new tiddler" as text is simply another field. 
> Other forms may produce more useful outcomes like text={{templatetiddler}}
>
> I don't have the time to give you a more robust answer and others are more 
> expert but that should help you move along.
>
> Tony 
>
>
> On Friday, August 25, 2017 at 8:46:16 PM UTC+10, Ivan Aparicio wrote:
>>
>> I'm trying to create a button that will create a book log tiddler:
>>
>> <$button>
>>   ''Book''
>>   <$action-sendmessage 
>>   $message="tm-new-tiddler" 
>>   $template="Template:Book" 
>>   title="Book title" tags="Scrap [[book]]"/>
>> 
>>
>> Everything works, except for the template. I'm 100% sure that I have a 
>> tiddler named Template:Book, but it isn't being transcluded. Am I doing 
>> something wrong?
>>
>

-- 
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 this group, send email to tiddlywiki@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/08c25c8c-85cc-4b92-a5f5-b0ac0de8abae%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: tm-new-tiddler isn't loading my template

2017-08-26 Thread Ivan Aparicio
Thanks Mark,

The code above, came from a question I had asked some time ago, and was 
answered here:

https://groups.google.com/forum/#!topic/tiddlywiki/YpbwT-LkH4k

I did see the page about the  tm-new-tiddler message, and had tried the 
following code:

<$button>
  ''Book''
  <$action-sendmessage 
  $message="tm-new-tiddler" 
  param="Template:Book" 
  title="Book title" tags="Scrap [[book]]"/>


However, I get the same result. Everything works but the template.

On Friday, August 25, 2017 at 5:01:35 PM UTC+1, Mark S. wrote:
>
> Looking at TiddlyWiki.com, I believe it should be param="Template:Book". 
> Is there a source somewhere else suggesting $template= ??
>
> Good luck,
> Mark
>
> On Friday, August 25, 2017 at 3:46:16 AM UTC-7, Ivan Aparicio wrote:
>>
>> I'm trying to create a button that will create a book log tiddler:
>>
>> <$button>
>>   ''Book''
>>   <$action-sendmessage 
>>   $message="tm-new-tiddler" 
>>   $template="Template:Book" 
>>   title="Book title" tags="Scrap [[book]]"/>
>> 
>>
>> Everything works, except for the template. I'm 100% sure that I have a 
>> tiddler named Template:Book, but it isn't being transcluded. Am I doing 
>> something wrong?
>>
>

-- 
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 this group, send email to tiddlywiki@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/61178281-b21b-43ad-a798-fdcf45d1ff06%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] tm-new-tiddler isn't loading my template

2017-08-25 Thread Ivan Aparicio
I'm trying to create a button that will create a book log tiddler:

<$button>
  ''Book''
  <$action-sendmessage 
  $message="tm-new-tiddler" 
  $template="Template:Book" 
  title="Book title" tags="Scrap [[book]]"/>


Everything works, except for the template. I'm 100% sure that I have a 
tiddler named Template:Book, but it isn't being transcluded. Am I doing 
something wrong?

-- 
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 this group, send email to tiddlywiki@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/f21a0ad4-d177-4288-8466-7d5a9d014dcd%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [tw] Strange effect when using tm-new-tiddler

2017-01-08 Thread Ivan Aparicio
Guys,

Really good stuff - Tobias' code fixed my problem! For a dream diary, this 
is more than adequate, as I don't need the timestamp to be accurate to the 
second. I normally only have one dream to record per day!

Thanks again.

Ivan

On Sunday, January 8, 2017 at 6:10:55 PM UTC, Jeremy Ruston wrote:
>
> Hi Tobias
>
> However, notice that the date being used is the date when the button was 
> rendered, not the date when it was clicked!
>
>
> You can fix this by using an `actions` attribute with the button widget, 
> rather than embedded action widgets.
>
> Best wishes
>
> Jeremy.
>
>

-- 
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 this group, send email to tiddlywiki@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/6af9dbce-8360-4714-aedd-bcd32cfa4d9e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Strange effect when using tm-new-tiddler

2017-01-08 Thread Ivan Aparicio
I've created a button that will allow me to make an entry in a dream diary. 
Here's the code:

<$button>
  ''Dream''
  <$action-sendmessage 
  $message="tm-new-tiddler" 
  $template="" 
  title=<> tags="Journal [[Dream]]"/>


The strange thing, is that when I click the button, the word 'Dream' in the 
title shows up as 'Drepm'!

I have no idea why - does anybody have any ideas?

-- 
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 this group, send email to tiddlywiki@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/efb6114c-b4be-465e-9759-10bc4d884a0c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: Nested lists using tiddler titles as tags

2016-11-29 Thread Ivan Aparicio
Thanks Jed, that does exactly what I wanted! I think I'm starting to get a 
hang of how to filter things in TW.

On Friday, November 25, 2016 at 2:25:12 PM UTC, Jed Carty wrote:
>
> The quick answer is that you put a list around it that returns one element 
> when your conditional is true and nothing when it isn't. So something like 
> this may work:
>
> <$set name=tiddler-title value={{!!title}}>
>
>
>
> <>
>
> <$list filter="[tag[Area]]">
> <$list filter="[tagtag
> limit[1]]"><$link>''{{!!title}}''
> <$list filter="[tagtag]">
>
>
> <$transclude mode="block"/>
> 
> 
>
> 
>
> That will only show the link to the quarter if there is something listed 
> under it.
>

-- 
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 this group, send email to tiddlywiki@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/c3e862fa-ad41-4224-9f83-657ce7dc2f6e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: Nested lists using tiddler titles as tags

2016-11-23 Thread Ivan Aparicio
I've been trying to make the an improvement; do you know how I could get 
the quarter tiddler to only display the areas for which there are tasks? 
I'm not sure how to put a conditional statement to trigger the line 
<$link>''{{!!title}}''.

On Thursday, November 10, 2016 at 9:52:10 AM UTC, Jed Carty wrote:
>
> Since it is inside a list widget the currentTiddler variable is set to the 
> title of the current item in the list in the same way that {{!!title}} 
> shows the title of the current list item, not the containing tiddler.
>

-- 
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 this group, send email to tiddlywiki@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/ec83f161-0ebb-4c60-baf2-c7495c3d7187%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: Nested lists using tiddler titles as tags

2016-11-10 Thread Ivan Aparicio
That makes perfect sense now. Thanks Jed!

On Thursday, November 10, 2016 at 9:52:10 AM UTC, Jed Carty wrote:
>
> Since it is inside a list widget the currentTiddler variable is set to the 
> title of the current item in the list in the same way that {{!!title}} 
> shows the title of the current list item, not the containing tiddler.
>

-- 
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 this group, send email to tiddlywiki@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/91a58110-3a55-469d-95a0-fbe7d4ef4a94%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: Nested lists using tiddler titles as tags

2016-11-08 Thread Ivan Aparicio
Thanks Jed, that works! I'm a bit confused though, should the value of 
currentTiddler and tiddler-title be the same?

On Tuesday, November 8, 2016 at 12:34:09 PM UTC, Jed Carty wrote:
>
> Your inner list isn't restricted to the results of the outer list, it is 
> getting everything tagged with the title of the containing tiddler. You 
> need to add tag to the inner list.
>
> <$set name=tiddler-title value={{!!title}}>
>
>
>
> <>
>
> <$list filter="[tag[Area]]">
> <$link>''{{!!title}}''
> <$list filter="[tagtag]">
>
> <$transclude mode="block"/>
> 
> 
>
> 
>
>
>
>

-- 
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 this group, send email to tiddlywiki@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/99e852cc-d0f1-4b3e-ae5c-eab75927edd3%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Nested lists using tiddler titles as tags

2016-11-08 Thread Ivan Aparicio
I've been grappling with a problem for two days that I hope someone could help 
me with.

I have an application in which I'm trying to allocate home improvement tasks to 
different areas of the house, and split the tasks over the four quarters of the 
year. Essentially the breakdown is:

Quarter  Area
Q1   Kitchen
Q2   Garden
Q3   Shed
Q4   Livingroom

Each task should have a tiddler and is laid out with tags for quarter and area 
as per the following example:

Title: Task1
Tags: Q1, Kitchen
Text:  Replace the tiles in the kitchen

My ultimate goal is to have a tiddler for each quarter that brings the tasks 
together by transcluding the content of each tiddler under its relevant area, 
ie:

Title:Q1
Tags:Quarter
Text:
Kitchen

Replace the tiles in the kitchen

Sand down the counter top

Garden

Mow the lawn

Shed

Set up trampoline

Livingroom

I've set up the following nested filter:

<$set name=tiddler-title value={{!!title}}>

<>

<$list filter="[tag[Area]]">
<$link>''{{!!title}}''
<$list filter="[tag]">

<$transclude mode="block"/>





But the result is that all of the tiddlers are brought in, regardless of how 
they are tagged by quarter. Does anybody know why?

-- 
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 this group, send email to tiddlywiki@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/584bbbf0-71db-4dc7-939c-d62abd6ddfc6%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] [BETA] I need 3 or 4 "non techy" volunteers - who want to test TiddlySpace Backup Scripts

2016-11-05 Thread Ivan Aparicio
I've got access to a mac, and would be happy to help. Please feel free to send 
me more info!

-- 
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 this group, send email to tiddlywiki@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/f98c21fb-24d8-424a-84d0-7fcd0f1ac9a1%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: Use fields as filter argument

2016-09-04 Thread Ivan Aparicio
Thanks guys, that's really useful stuff! I'll keep experimenting, but I may 
just take Mario's advice, because it seems that a tagging approach is most 
in harmony with how TiddlyWiki is built.

On Saturday, September 3, 2016 at 11:29:16 PM UTC+1, PMario wrote:
>
> Hi Ivan,
>
> Is there a special reason, why you create your list based on names? IMO it 
> would be much easier to use tags. TW is highliy optimized to create tag 
> based lists. regexp filters are powerful, but can be extremely complicated 
> very fast.
>
> eg: I'd *name *my projects like this: 
>
>  - myProject-one
>  - myProject-two
>
> and *tag *them project. So to see all my projects in a list I just need: 
> < filter:"[tag[project]]">>
>
> my tasks ma be named: 
>
>  - task-1 ... tagged task and myProject-one
>  - task-2 ... tagged task and myProject-one
>
> - task-3 ... tagged task and myProject-two
>
> So listing all task is: <>
>
> Then I'd use the existing table-of-content macro like this: < project>> to give me an overview. See: 
> http://tiddlywiki.com/#Table-of-Contents%20Macros%20(Examples)  This 
> macro can do a lot of crazy things.
>
> <> and so on. 
>
> just some thoughts.
>
> have fun!
> mario
>
>
>
>

-- 
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 this group, send email to tiddlywiki@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/cd503efa-b3ad-425e-8568-12e966f2cc92%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: Use fields as filter argument

2016-09-03 Thread Ivan Aparicio
Do you know if it's possible to concatenate the field (or title) with the 
colon that follows it? I'm trying to distinguish between project tasks - 
Project1:Task1 and Project1~Log1. I've been reviewing the docs and it seems 
that it may be possible to do this with a macro, but I can't get a match 
with the regex. The macro that I'm using is:

\define projectRegex(regex:{{!!title}}:\w+)
$regex$
\end

I then use regexp[<>] in the code above, expecting to see a 
filtering, but both Project1:Task1 and Project1:Log1 are returned.



On Saturday, September 3, 2016 at 3:12:12 PM UTC+1, Mark S. wrote:
>
> I don't know if this is your only problem, but when used in a filter I 
> believe the syntax for transclusion is ...regex{!!title}...
>
> HTH
> Mark
>
>
> On Saturday, September 3, 2016 at 4:51:46 AM UTC-7, Ivan Aparicio wrote:
>>
>> Hi everybody,
>>
>> I'm new to TiddlyWiki and I'm trying to use it to create a 
>> project-specific to-do list. Please bear with me if this is a pretty simple 
>> question, but I think I may need to use a tiddler field (tiddler title) as 
>> a filter argument. Let me explain:
>>
>> Each project is a tiddler with a task list, let's say it's called 
>> Project1.
>>
>> Each task is named with the following convention Project1:Task1.
>>
>> The Project1 tiddler has the following wikitext, styled after the 
>> TaskManagementExample tiddler on tiddlywiki.com:
>>
>> ! Outstanding tasks
>>
>> <$list filter="[!has[draft.of]tag[task]!tag[done]sort[created]
>> regexp[{{!!title}}]]">
>>
>> <$checkbox tag="done"> <$link to={{!!title}}><$view 
>> field="title"/>
>>
>> 
>>
>> ! Completed tasks
>>
>> <$list filter="[!has[draft.of]tag[task]tag[done]sort[created]
>> regexp[{{!!title}}]]">
>>
>> <$checkbox tag="done"> ~~<$link to={{!!title}}><$view 
>> field="title"/>~~
>>
>> 
>>
>> Please note that I've added a regexp filter operator to only find the 
>> tasks relevant to Project1. I get this to work when I put the operator 
>> regexp[Project1], but I would like this wikitext to work on all of my 
>> project tiddlers.
>>
>> I hope that's clear. Does anybody know why this doesn't work?
>>
>> Thanks!
>>
>

-- 
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 this group, send email to tiddlywiki@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/8a53d49e-4aaa-4800-bda6-624206a49991%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: Use fields as filter argument

2016-09-03 Thread Ivan Aparicio
Thanks Mark! That worked

On Saturday, September 3, 2016 at 3:12:12 PM UTC+1, Mark S. wrote:
>
> I don't know if this is your only problem, but when used in a filter I 
> believe the syntax for transclusion is ...regex{!!title}...
>
> HTH
> Mark
>
>
> On Saturday, September 3, 2016 at 4:51:46 AM UTC-7, Ivan Aparicio wrote:
>>
>> Hi everybody,
>>
>> I'm new to TiddlyWiki and I'm trying to use it to create a 
>> project-specific to-do list. Please bear with me if this is a pretty simple 
>> question, but I think I may need to use a tiddler field (tiddler title) as 
>> a filter argument. Let me explain:
>>
>> Each project is a tiddler with a task list, let's say it's called 
>> Project1.
>>
>> Each task is named with the following convention Project1:Task1.
>>
>> The Project1 tiddler has the following wikitext, styled after the 
>> TaskManagementExample tiddler on tiddlywiki.com:
>>
>> ! Outstanding tasks
>>
>> <$list filter="[!has[draft.of]tag[task]!tag[done]sort[created]
>> regexp[{{!!title}}]]">
>>
>> <$checkbox tag="done"> <$link to={{!!title}}><$view 
>> field="title"/>
>>
>> 
>>
>> ! Completed tasks
>>
>> <$list filter="[!has[draft.of]tag[task]tag[done]sort[created]
>> regexp[{{!!title}}]]">
>>
>> <$checkbox tag="done"> ~~<$link to={{!!title}}><$view 
>> field="title"/>~~
>>
>> 
>>
>> Please note that I've added a regexp filter operator to only find the 
>> tasks relevant to Project1. I get this to work when I put the operator 
>> regexp[Project1], but I would like this wikitext to work on all of my 
>> project tiddlers.
>>
>> I hope that's clear. Does anybody know why this doesn't work?
>>
>> Thanks!
>>
>

-- 
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 this group, send email to tiddlywiki@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/27e6d0fd-2318-4977-b5ec-8a97de7bdfd5%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Use fields as filter argument

2016-09-03 Thread Ivan Aparicio
Hi everybody,

I'm new to TiddlyWiki and I'm trying to use it to create a project-specific 
to-do list. Please bear with me if this is a pretty simple question, but I 
think I may need to use a tiddler field (tiddler title) as a filter 
argument. Let me explain:

Each project is a tiddler with a task list, let's say it's called Project1.

Each task is named with the following convention Project1:Task1.

The Project1 tiddler has the following wikitext, styled after the 
TaskManagementExample tiddler on tiddlywiki.com:

! Outstanding tasks

<$list filter="[!has[draft.of]tag[task]!tag[done]sort[created]
regexp[{{!!title}}]]">

<$checkbox tag="done"> <$link to={{!!title}}><$view 
field="title"/>



! Completed tasks

<$list filter="[!has[draft.of]tag[task]tag[done]sort[created]
regexp[{{!!title}}]]">

<$checkbox tag="done"> ~~<$link to={{!!title}}><$view 
field="title"/>~~



Please note that I've added a regexp filter operator to only find the tasks 
relevant to Project1. I get this to work when I put the operator 
regexp[Project1], but I would like this wikitext to work on all of my 
project tiddlers.

I hope that's clear. Does anybody know why this doesn't work?

Thanks!

-- 
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 this group, send email to tiddlywiki@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/ce7bd725-1f24-454c-bef4-257e1bed323a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.