[tw] Re: Official TiddlyWiki plugin library is "Empty?"

2016-10-15 Thread JWHoneycutt

So I learned something here. I tried to access the plugin library before I 
had acknowledged the Starbucks login screen on a browser. This loaded a 
system tiddler 

$:/temp/ServerConnection/http:*tiddlywiki.com/library/v5.1.13/index.html 
*
which blocked any further attempts to get to the library.

Deleting the system tiddler was all that was needed.


On Saturday, October 15, 2016 at 8:03:47 PM UTC-4, JWHoneycutt wrote:
>
>
> I am following directions for Standalone Configuration from tiddler:
> "Installing a plugin from the plugin library"on TiddlyWiki.com 
> I open my new Wiki from the Firefox browser (and also Google Chrome) and 
> hit a wall at step 4 - there is no double chevron to click on
>
> the Search box gives no results, and the tabs suggest there are zero 
> plugins, themes, or languages available.
>
> Did I find something the Core team may be able to tweak, or (more likely) 
> I am just missing something...
>
> Thanks in advance - 
>
>

-- 
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/53b357c1-7db4-4a34-88a2-00cb24b5f0b0%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: Official TiddlyWiki plugin library is "Empty?"

2016-10-15 Thread JWHoneycutt
Wow, you were exactly correct! 

I found the tiddler 

$:/temp/ServerConnection/http:*tiddlywiki.com/library/v5.1.13/index.html 
*


*in the system tiddlers, deleted it, and viola! *


*the chevrons on a green button appear, instead of an empty search box 
field.*


*Mark, Greg, Thank you very much.*



*And now, the plugin hunt begins...*


On Saturday, October 15, 2016 at 8:03:47 PM UTC-4, JWHoneycutt wrote:
>
>
> I am following directions for Standalone Configuration from tiddler:
> "Installing a plugin from the plugin library"on TiddlyWiki.com 
> I open my new Wiki from the Firefox browser (and also Google Chrome) and 
> hit a wall at step 4 - there is no double chevron to click on
>
> the Search box gives no results, and the tabs suggest there are zero 
> plugins, themes, or languages available.
>
> Did I find something the Core team may be able to tweak, or (more likely) 
> I am just missing something...
>
> Thanks in advance - 
>
>

-- 
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/008e3f8e-13ab-4f79-8da6-e74922193a99%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: Newbies only - GitHub? really?

2016-10-15 Thread JWHoneycutt
Mark - Thanks for asking.

I want complete control over my wiki. 
I want to make it accessible on the web, and not with a link to my Dropbox, 
or in a way that has my name all over it.
I want it securely encrypted.
I want to know who is logging in to access it, so that I can verify their 
identity. (Facebook login confirmation?)
I want to be able to control what portions of the wiki are available, and 
individually expand what is available over time.
I need to restrict/eliminate the viewer's ability to edit a tiddler.
I need the viewer to be able to provide comments/suggestions for me be able 
to incorporate into the wiki.
I need to create a separate wiki for each different viewer, if they chose 
to enter personal information into it.

This is all about medical records - so the controls have HIPAA and legal 
requirements.

JWHoneycutt


On Saturday, October 15, 2016 at 8:51:14 PM UTC-4, JWHoneycutt wrote:
>
> The contributors on this site (almost) all suffer from the curse of 
> expertise. 
>
> People talk about some characteristic I would like my Wiki to have, and 
> the thread authoritatively links to some GitHub repository. This confuses 
> me.
>
> I have followed instructions and setup my own GitHub repository (was I 
> supposed to independently install Git?). All the tutorials are designed to 
> teach forking, branching, committing, and merging. I don't want any of that.
>
> I just want to acquire the functionality, install the plugin, or whatever 
> it's called.
>
> There's a whole bunch of stuff there: Gitignores, Readmes, Dockers, Gems, 
> and even "instructions" with racing graphics.
>
> For the newbie like me (and you) - all this is useless. GitHub is not my 
> intended destination - I don't want to develop software or "version control 
> collaborate" with anybody (for now) - I just want to load the darned thing 
> and try it out on a new Starter Wiki.
>
> Have you figured this out or can you understand my confusion?
>

-- 
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/4448cbcc-4dfc-4aef-aeb7-ac0e5dbe153f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] delay update of list of editable fields?

2016-10-15 Thread Dave
Hi,

I'm trying to generate a list of tiddlers and fields that have yet to be 
inputted.

This list:

<$list filter=[tag[demographics]val[]]>
<$link to={{!!title}}><$view field="title"/>

<$edit-text tag="input" field="val" placeholder="(empty)" 
minHeight="20px" />




generates a list of all the tiddlers tagged "demographics" that whose field 
"val" is empty.  The purpose is that in a new file it should list all the 
fields to input, but in an older file (some of who's values I've already 
inputted some fields) I only want to see what is yet unedited.

*** The problem is that as soon as I type the first character into the edit 
box for that field, the item disappears off the list.

Is there a way to tell the list to only render when the tiddler first 
"appears"?


Dave

-- 
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/b8e8304c-0574-4cc1-9a8a-0b34534e65b1%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: Official TiddlyWiki plugin library is "Empty?"

2016-10-15 Thread Greg Davis

>
> Hi,
>


I'm on Windows with Firefox but imagine should be similar to Mac.
When you click on *Get more plugins*,  do you get:











the chevrons are on the green button.

Clicking that would get you the Plugin Library:











-- 
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/f4dc0b99-192e-4d93-a064-8bf6cab27354%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: Official TiddlyWiki plugin library is "Empty?"

2016-10-15 Thread 'Mark S.' via TiddlyWiki
Coffee shop! You can blame the caffeine! No, really. What is the connection 
like there? Spotty sometimes?

It looks like if you attempt to load the plugins while the connection is 
down, and then save (at least with the standard save mechanism), that you 
will get zero plugins and themes AND after that you are not offered a 
second chance to pull the list. It's this second part that seems to be an 
oversight, since new plugins are always coming up.

The settings appear to be maintained in temp tiddlers that hang around and 
prevent the chevron button from giving you a second chance. 

Try deleting tiddler 

$:/temp/ServerConnection/http:*tiddlywiki.com/library/v5.1.13/index.html*

and seeing if you can now complete step #4.

Good luck!
Mark
On Saturday, October 15, 2016 at 6:07:31 PM UTC-7, JWHoneycutt wrote:
>
> Hi Mark, 
>
> Thanks for confirming it works (and the problem is on my end...)
>
> I am using TW5 version 5.1.13 on a MacBook Air at a Starbucks coffee shop. 
> Brand new Empty renamed Wiki. 
>
> I have created a handful of wikis and have managed to variably load 
> plugins to them from links I came across. The Wikis behave differently and 
> I am trying to remove the variables. Disabling plugins doesn't make them 
> act normal again, so there must be some system or shadow tiddlers or system 
> settings I've tripped.
>
> So I load a new Starter Wiki, and document EVERYTHING I do to it (1 - 
> rename it, 2 - create a Contents tab in SideBar, 3 - load a test plugin... 
> - NOPE!)
>
>
> On Saturday, October 15, 2016 at 8:03:47 PM UTC-4, JWHoneycutt wrote:
>>
>>
>> I am following directions for Standalone Configuration from tiddler:
>> "Installing a plugin from the plugin library"on TiddlyWiki.com 
>> I open my new Wiki from the Firefox browser (and also Google Chrome) and 
>> hit a wall at step 4 - there is no double chevron to click on
>>
>> the Search box gives no results, and the tabs suggest there are zero 
>> plugins, themes, or languages available.
>>
>> Did I find something the Core team may be able to tweak, or (more likely) 
>> I am just missing something...
>>
>> Thanks in advance - 
>>
>>

-- 
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/ec6eee25-dacc-4caa-b245-72fcdb311d87%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: Newbies only - GitHub? really?

2016-10-15 Thread 'Mark S.' via TiddlyWiki
GitHub does seem to have a bit of a cult-like following these days.

What task is it that you are trying to accomplish?

Good luck,
Mark

On Saturday, October 15, 2016 at 5:51:14 PM UTC-7, JWHoneycutt wrote:
>
> The contributors on this site (almost) all suffer from the curse of 
> expertise. 
>
> People talk about some characteristic I would like my Wiki to have, and 
> the thread authoritatively links to some GitHub repository. This confuses 
> me.
>
> I have followed instructions and setup my own GitHub repository (was I 
> supposed to independently install Git?). All the tutorials are designed to 
> teach forking, branching, committing, and merging. I don't want any of that.
>
> I just want to acquire the functionality, install the plugin, or whatever 
> it's called.
>
> There's a whole bunch of stuff there: Gitignores, Readmes, Dockers, Gems, 
> and even "instructions" with racing graphics.
>
> For the newbie like me (and you) - all this is useless. GitHub is not my 
> intended destination - I don't want to develop software or "version control 
> collaborate" with anybody (for now) - I just want to load the darned thing 
> and try it out on a new Starter Wiki.
>
> Have you figured this out or can you understand my confusion?
>

-- 
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/3ad7517d-02a7-4392-aeaf-2b6d2d4fa31f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: How to apply styles styles based on the value of a field - 3 methods.

2016-10-15 Thread Riz


 I like the animation. ... But you should add, that it may make you 
> "sea-sick" :)
>

I know. Should have opted for a milder animation.

 IMO this method should be the "last resort" if 1 and 2 are not possible! 


You are right. I merely intended to show it for completion sake. :-) 

-- 
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/7ec3695c-ddad-4b62-99cf-c6e7634efd83%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: Official TiddlyWiki plugin library is "Empty?"

2016-10-15 Thread JWHoneycutt
Hi Mark, 

Thanks for confirming it works (and the problem is on my end...)

I am using TW5 version 5.1.13 on a MacBook Air at a Starbucks coffee shop. 
Brand new Empty renamed Wiki. 

I have created a handful of wikis and have managed to variably load plugins 
to them from links I came across. The Wikis behave differently and I am 
trying to remove the variables. Disabling plugins doesn't make them act 
normal again, so there must be some system or shadow tiddlers or system 
settings I've tripped.

So I load a new Starter Wiki, and document EVERYTHING I do to it (1 - 
rename it, 2 - create a Contents tab in SideBar, 3 - load a test plugin... 
- NOPE!)


On Saturday, October 15, 2016 at 8:03:47 PM UTC-4, JWHoneycutt wrote:
>
>
> I am following directions for Standalone Configuration from tiddler:
> "Installing a plugin from the plugin library"on TiddlyWiki.com 
> I open my new Wiki from the Firefox browser (and also Google Chrome) and 
> hit a wall at step 4 - there is no double chevron to click on
>
> the Search box gives no results, and the tabs suggest there are zero 
> plugins, themes, or languages available.
>
> Did I find something the Core team may be able to tweak, or (more likely) 
> I am just missing something...
>
> Thanks in advance - 
>
>

-- 
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/726d35d4-f2fc-4109-8417-4ae2fbd2fcaf%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Newbies only - GitHub? really?

2016-10-15 Thread JWHoneycutt
The contributors on this site (almost) all suffer from the curse of 
expertise. 

People talk about some characteristic I would like my Wiki to have, and the 
thread authoritatively links to some GitHub repository. This confuses me.

I have followed instructions and setup my own GitHub repository (was I 
supposed to independently install Git?). All the tutorials are designed to 
teach forking, branching, committing, and merging. I don't want any of that.

I just want to acquire the functionality, install the plugin, or whatever 
it's called.

There's a whole bunch of stuff there: Gitignores, Readmes, Dockers, Gems, 
and even "instructions" with racing graphics.

For the newbie like me (and you) - all this is useless. GitHub is not my 
intended destination - I don't want to develop software or "version control 
collaborate" with anybody (for now) - I just want to load the darned thing 
and try it out on a new Starter Wiki.

Have you figured this out or can you understand my confusion?

-- 
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/fb308b1d-ee37-4c5d-a1bc-e7b91ed47982%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: Official TiddlyWiki plugin library is "Empty?"

2016-10-15 Thread 'Mark S.' via TiddlyWiki
Is  this a standard 5.1.13 full or empty TW?

I've just tried it with a full, empty and older (5.1.11) version and it 
works every time.

Maybe try downloading another experimentally and see if that works?

Good luck,
Mark

On Saturday, October 15, 2016 at 5:03:47 PM UTC-7, JWHoneycutt wrote:
>
>
> I am following directions for Standalone Configuration from tiddler:
> "Installing a plugin from the plugin library"on TiddlyWiki.com 
> I open my new Wiki from the Firefox browser (and also Google Chrome) and 
> hit a wall at step 4 - there is no double chevron to click on
>
> the Search box gives no results, and the tabs suggest there are zero 
> plugins, themes, or languages available.
>
> Did I find something the Core team may be able to tweak, or (more likely) 
> I am just missing something...
>
> Thanks in advance - 
>
>

-- 
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/7c4cd653-4748-47af-9ee0-e41fa2e62959%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Official TiddlyWiki plugin library is "Empty?"

2016-10-15 Thread JWHoneycutt

I am following directions for Standalone Configuration from tiddler:
"Installing a plugin from the plugin library"on TiddlyWiki.com 
I open my new Wiki from the Firefox browser (and also Google Chrome) and 
hit a wall at step 4 - there is no double chevron to click on

the Search box gives no results, and the tabs suggest there are zero 
plugins, themes, or languages available.

Did I find something the Core team may be able to tweak, or (more likely) I 
am just missing something...

Thanks in advance - 

-- 
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/e8071988-b50f-4af1-a390-3ba8a75dedcc%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: TW5 - Is there a "Create tiddlers from missing" plugin or script?

2016-10-15 Thread Entaro Adun
May I ask if you could tell me where would I enter these tags?

On Monday, October 26, 2015 at 7:18:12 PM UTC-4, Jed Carty wrote:
>
> This will create all missing tiddlers, but it isn't only tags. 
>
> <$button>Do it
> <$list filter='[all[missing]]'>
> <$action-setfield text=''/>
> 
> 
>

-- 
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/0bdf9703-a5ab-487f-9ecb-951ae5839f13%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [tw] Trouble with fields and templates

2016-10-15 Thread PMario
Great stuff,

Does it allow to include logos? like so: 

-- 
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/3e9d1e2b-95cb-47af-a589-c899958fb0ce%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: Using currentTiddler name in a filter

2016-10-15 Thread PMario
On Saturday, October 15, 2016 at 7:48:37 PM UTC+2, Fidel N wrote:
>
> Your words "tagged with the title of current tiddler" resonated in my 
> brain until I realized that the reason why it was not working properly is 
> because while I was editing (and checking the rendered tiddler at the same 
> time) the tiddler is named "Draft of ..." 
>

... ouch! ... But you are not alone :)) 

-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/13a17b50-73cb-4406-b2cc-d643c1a3ff1e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: How to apply styles styles based on the value of a field - 3 methods.

2016-10-15 Thread PMario
Hi Riz,

Nice writeup!

I like the animation. ... But you should add, that it may make you 
"sea-sick" :)

On Saturday, October 15, 2016 at 7:04:37 PM UTC+2, Riz wrote:
>
> 
>
 

> *Method 3*
>
> > style=<>><$list 
> filter="[all[shadows+tiddlers]tag[$:/tags/ViewTemplate]!has[draft.of]]" 
> variable="listItem"><$transclude tiddler=<>/>
>
> 
>
> 
>
>
IMO this method should be the "last resort" if 1 and 2 are not possible! 

It's hardcoding a style for the div, which is basically unchangeable. So it 
has the potential to break themes / CSS rules and the problem will be very 
hard to find. 

-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/53807754-b467-433f-b7be-915a3fbc3a24%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: Using currentTiddler name in a filter

2016-10-15 Thread Fidel N
Your words "tagged with the title of current tiddler" resonated in my brain 
until I realized that the reason why it was not working properly is because 
while I was editing (and checking the rendered tiddler at the same time) 
the tiddler is named "Draft of ..." and not same as the tag. I probably 
had it properly coded like 100 times today but it would never show because 
of the tiddler name

Thank you BJ and Riz for helping me realize this, what a noobs mistake!!!

On Saturday, October 15, 2016 at 1:49:42 PM UTC+2, Riz wrote:
>
>
> Assuming what you want is a list of tiddlers tagged with the title of 
> current tiddler, this code will work.
>
> <$set name="myVar" value=<>>
>
> <$list filter="[tag]"/>
>
> 
>
>
>

-- 
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/01c0ae40-4f9b-450d-afcc-b4f39bb138bc%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [tw] Trouble with fields and templates

2016-10-15 Thread Jeremy Ruston
Hi Greg

On the subject of QR Codes, I found a very good pure JavaScript QR Code 
generator library:

https://github.com/zenozeng/node-yaqrcode 


I’ve completed the initial work of making it into a TW5 plugin (very 
straightforward as the library is clean and simple), and will publish it 
shortly. Playing with it prompted me to download a QR Code reader app for my 
smartphone, and I’ve found that QR Codes are indeed quite powerful.

The plugin lets you encode any text as a QR Code: not just a URL, but even the 
content of tiddlers can be made into a QR code. So you could transfer a 
shopping list from your laptop to your phone just by snapping it.

http://tiddlywiki.com;>>/>

results in the image below.

Best wishes

Jeremy.


> On 14 Oct 2016, at 19:21, Greg Davis  wrote:
> 
> Neat! I've been thinking about creating a TW for bookmarks that included QR 
> codes so could transfer links to my phone or tablet. Previously had to use an 
> extension to create png image and embed in TW thus increasing size.
> 
> Also like the Firefox extension QR Secret Decoder Ring 
> https://addons.mozilla.org/en-US/firefox/addon/qr-secret-decoder-ring/  
> , 
> suppose there is something similar for Chrome.
> 
> "Right click an image (including a background image), SVG element, or canvas 
> containing a QR code to decode.
> Allows internal decoding (using the QR-Logo library) or the choice of the 
> ZXing and MiniQR websites for decoding."
> 
> Can be set to go to a link, if a link, or display a textbox with contents.
> 
> 
> -- 
> 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/3ca7f622-988f-407a-96c4-d73455fcb22d%40googlegroups.com
>  
> .
> For more options, visit https://groups.google.com/d/optout 
> .

-- 
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/DE348E00-EF29-40C5-A5BE-ED20009270F7%40gmail.com.
For more options, visit https://groups.google.com/d/optout.


[tw] How to apply styles styles based on the value of a field - 3 methods.

2016-10-15 Thread Riz
*Warning: Potential "We knew this already, newbie" post. Tread carefully, 
tiwians.*

Some time back PMario showed a classy way to apply styles based on title of 
tiddler here 
.
 
Mat took a bit further and attempted to apply styles based value of a 
particular field. The code he furnished in the thread, according to him, 
did not work . Whether or not he achieved it later is not clear. So here is 
a few ways to achieve the same based on PMario's work and Mat's near miss, 
each with its own advantages.

*Method 1*


   - Back up
   - Open $:/core/ui/ViewTemplate
   - Add the highlighted code to the default.
   
\define frame-classes()

tc-tiddler-frame tc-tiddler-view-frame $(missingTiddlerClass)$ 
$(shadowTiddlerClass)$ $(systemTiddlerClass)$ $(tiddlerTagClasses)$

\end

\define folded-state()

$:/state/folded/$(currentTiddler)$

\end

<$set name="storyTiddler" value=<>><$set 
name="tiddlerInfoState" value=<>>

<$tiddler tiddler=<>>

<$set name="customstylevar" value={{!!customstylefield}}>

 

> class=<>><$list 
filter="[all[shadows+tiddlers]tag[$:/tags/ViewTemplate]!has[draft.of]]" 
variable="listItem"><$transclude tiddler=<>/>




   - Create a tiddler. Make a field named ‘customstylefield’ and give it 
   the value ‘Give me some blue’ (without the single quotes)
   - Create a stylesheet tiddler. Add the following to it
   
[data-style="Give me some blue"] { 

background: blue; 

}


   - There you have it. To test further, create a second tiddler with the 
   field ‘customstylefield’ and give it the value ‘redbg!?§$%&/()=@€~#yo’. Now 
   to the stylesheet tiddler, define styles as 
   [data-style="redbg!?§$%&/()=@€~#yo"] { background: red; fontweight:bold;}
   

Advantage: Well, tags can be hard to declare in the stylesheet if they have 
spaces or special characters. Plus, tags form a part of interface. So if 
you are developing an app or ebook based on TW5 platform, having a special 
tag just to apply styles is less than gracious. Fields by the virtue of 
being hidden from user's view, is an ideal place to dump the variables that 
drive the process. 

*Method2*

*Here we are taking it further. In a field, we are declaring multiple 
classes(Not attributes) that will affect that particular tiddler. *

   - Back up
   - Open $:/core/ui/ViewTemplate
   - Add the highlighted code to the default.
   
\define frame-classes()

tc-tiddler-frame tc-tiddler-view-frame $(missingTiddlerClass)$ 
$(shadowTiddlerClass)$ $(systemTiddlerClass)$ $(tiddlerTagClasses)$ 
$(classfield)$

\end

\define folded-state()

$:/state/folded/$(currentTiddler)$

\end

<$set name="storyTiddler" value=<>><$set 
name="tiddlerInfoState" value=<>><$tiddler tiddler=<>>

<$set name="classfield" value={{!!customstylefield2}}>

>><$list 
filter="[all[shadows+tiddlers]tag[$:/tags/ViewTemplate]!has[draft.of]]" 
variable="listItem"><$transclude tiddler=<>/>







   - Create a tiddler. Make a field named ‘customstylefield2’ and give it 
   the following value: *apple mango orange*. Add some text to the text 
   field. 
   - Create a stylesheet tiddler. Add the following to it 
   
.apple {

background-color:Blue;

}

.mango{

color:red;

}

.orange{

font-weight:bold;

text-align:center;

text-transform:uppercase;

}

.orange .tc-title {

display:none;

}

.mango .tc-subtitle {

display:none;

}


   - There you have it. 
   
REMEMBER: In case two of your classes have contradictory values, the one 
declared further down in the stylesheet will take effect. ie, in the above 
example if .orange had an attribute 'background-color:white;' it will 
override the background declaration in apple by virtue of being further 
down. This property can be used to apply styles based on presence on tags 
that get added only temporarily, without having to remove permanent tags. 

*Method 3*

Now we are declaring the styles that affect the tiddler directly in the 
field, removing the stylesheet as the intermediary. 
While this cannot be used to hide elements like title and tags, it can be 
useful in areas where you want to override a single property from the 
classes you declared using method 1 or 2.  



   - Back up
   - Open $:/core/ui/ViewTemplate
   - Add the highlighted code to the default.
   
\define frame-classes()

tc-tiddler-frame tc-tiddler-view-frame $(missingTiddlerClass)$ 
$(shadowTiddlerClass)$ $(systemTiddlerClass)$ $(tiddlerTagClasses)$

\end

\define folded-state()

$:/state/folded/$(currentTiddler)$

\end

<$set name="storyTiddler" value=<>><$set 
name="tiddlerInfoState" value=<>><$tiddler tiddler=<>>

<$set name="custominlinestylevar" value={{!!custominlinestylefield3}}>

> style=<>><$list 
filter="[all[shadows+tiddlers]tag[$:/tags/ViewTemplate]!has[draft.of]]" 
variable="listItem"><$transclude tiddler=<>/>





 

   - Create a tiddler. Make a field named ‘custominlinestylefield3’ and 
   give it the following value:
  

[tw] Re: Using currentTiddler name in a filter

2016-10-15 Thread Riz

Assuming what you want is a list of tiddlers tagged with the title of 
current tiddler, this code will work.

<$set name="myVar" value=<>>

<$list filter="[tag]"/>




-- 
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/6fe02ab4-6633-41d9-993e-a1053f56f684%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: Using currentTiddler name in a filter

2016-10-15 Thread BJ
Hi Fidel,

the syntax is like

<$set name="myVariable" value=<>>
<$list filter="[search]">
<$text text={{!!title}}/>



hope this helps
BJ

I see that your 'list' widgets do not have a closing '/' so it would be 
On Saturday, October 15, 2016 at 11:37:49 AM UTC+1, Fidel N wrote:
>
> Hi:
> I have read and tried many solutions, most of them were reportedly 
> working, but I cant manage to make this work for me :(
>
> My current code is this one:
>
> Macro definition for testing:
>
> \define current_title()
> Miscelaneous
> \end
>
>
>
> Defining the variable value also for testing:
>
> <$set name="myVariable" value=<> >
> <$text text=<>/>
> 
>
>
> Test the variable, renders OK (currentTiddler title):
> <>
>
>
>
> And now, doesnt matter how I try, I cant manage to filter with the 
> variable value:
> <$list filter="[tag{{!!myVariable}}]">
> <$list filter="[tag]">
> <$list filter="[tag<>]">
> <$list filter="[tag{!!myVariable}]">
>
>
> The only thing I managed to work is:
>
> <$list filter="[tag]">
>
>
> But for this I had to manually insert the tiddler name within the macro...
>
> What got me to ask here is that I can use the macro but no variable seems 
> to work even though they render OK outside the list
>
> What do you guys think is happening??
>
>

-- 
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/2a733600-dca6-416f-9418-da7f95caf7c6%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: Using currentTiddler name in a filter

2016-10-15 Thread Riz
Just clarifying. Your list filters are declared before the closing of the 
set widget, right?

-- 
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/304d29fd-22eb-4f82-b088-2554cd1c1a2f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Using currentTiddler name in a filter

2016-10-15 Thread Fidel N
Hi:
I have read and tried many solutions, most of them were reportedly working, 
but I cant manage to make this work for me :(

My current code is this one:

Macro definition for testing:

\define current_title()
Miscelaneous
\end



Defining the variable value also for testing:

<$set name="myVariable" value=<> >
<$text text=<>/>



Test the variable, renders OK (currentTiddler title):
<>



And now, doesnt matter how I try, I cant manage to filter with the variable 
value:
<$list filter="[tag{{!!myVariable}}]">
<$list filter="[tag]">
<$list filter="[tag<>]">
<$list filter="[tag{!!myVariable}]">


The only thing I managed to work is:

<$list filter="[tag]">


But for this I had to manually insert the tiddler name within the macro...

What got me to ask here is that I can use the macro but no variable seems 
to work even though they render OK outside the list

What do you guys think is happening??

-- 
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/2f02ea2b-0be5-418f-8cbf-15720fee7860%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.