[tw] Re: [TW5] Transcluding(?)/Injecting Background Image Declaration into Stylesheet

2016-07-27 Thread Zaphod Beeblebrox
Oh, Thank You so much, Birthe! - It works beautifully :)

I just knew there had to be some simple mechanism for doing this.  I'd read 
a few posts about using _canonical_uri under TWC in other situations, but 
never thought about trying it for this...

I've now whipped up a SideBar tab using your method, some code from the Hello 
There tiddler  on the main TW site, and 
Tobias Beer's Link Images Plugin 
.  It still needs some 
tweaking to get it exactly like I want it, but thanks to you, I'm well on 
my way :)

So, do you have any ideas on how I could accomplish my other wish, of 
having the background change whenever a tiddler is opened?

I'm thinking that some form of the above method might just work.  Maybe 
with the LinkCatcherWidget.

Back to the laboratory for more experiments...

--Zaphod


On Tuesday, July 26, 2016 at 3:56:51 PM UTC-4, Birthe C wrote:
>
> Create a tiddler for the image. Give the type and create the field 
> _canonical_uri, put your external link in this field. Save the tiddler. Now 
> you are able to select your image in $:/ControlPanel/Theme Tweaks - Page 
> background image:
>
>
> Birthe
>

-- 
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/e79c1ce9-50fb-48a5-a9cf-4063947a4dc6%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: Options for server-based TiddlyWiki

2016-07-27 Thread RichardWilliamSmith
Hi Danielo,

Glad to see you around on the board again - did you ever get any further 
with your PouchDB adapter? Is is in a working state? I'd love to see if I 
can get it working inside a service worker.

Regards,
Richard

On Thursday, July 28, 2016 at 5:38:45 AM UTC+10, Danielo Rodríguez wrote:
>
> That is what a lazy loaded tiddler is, a tiddler without the text field. 
> Once you open it the text download starts. if you are getting an empty 
> tiddler after a while check the browser's console, maybe you are running 
> into CORS problems. 
>
> Regards 
>

-- 
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/90a36d0a-cd97-4e32-8b10-05a6b574cb78%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: Options for server-based TiddlyWiki

2016-07-27 Thread Guillermo Valle
The text doesn't download after I open it. It doesn't complain in the 
console either. It doesnt seem to send the right request to the server. The 
only request I see sent are the StoryList ones.

On Wednesday, July 27, 2016 at 9:38:45 PM UTC+2, Danielo Rodríguez wrote:
>
> That is what a lazy loaded tiddler is, a tiddler without the text field. 
> Once you open it the text download starts. if you are getting an empty 
> tiddler after a while check the browser's console, maybe you are running 
> into CORS problems. 
>
> Regards 
>

-- 
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/84429bdb-52f9-498d-a3be-28bd68363f80%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: TW5 multiple tag search using drop-down list

2016-07-27 Thread Jon
Hi Danielo,

I already had your plug-in installed but I couldn't manage to add another 
tag in the 2nd box...?

Regards
Jon

On Wednesday, 27 July 2016 20:42:36 UTC+1, Danielo Rodríguez wrote:
>
> There is a plugin that I have created for that purpose :
>
> http://braintest.tiddlyspot.com/#TagsSearch-Plugin
>
> Hope it still works. 
> Regards 
>
>

-- 
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/283270d1-a420-456e-93d6-d503fe8d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: TW5 multiple tag search using drop-down list

2016-07-27 Thread Jon
Perfect, thanks Eric.

Regards
Jon

On Wednesday, 27 July 2016 21:11:13 UTC+1, Eric Shulman wrote:
>
> On Monday, July 25, 2016 at 10:55:38 PM UTC-7, Jon wrote:
>>
>> That works Eric, thank you.
>>
>> I wonder if the behaviour could be changed a bit so that the first 
>> selection shows the tiddlers with that tag and then the second selection 
>> shows the match- at the moment it will only show tiddlers with a match for 
>> both tags.
>>
>
> change the filter in the second select list from
> <$select tiddler="$:/temp/tag2">
><$list filter="[all[]tags[]sort[]]">
> to
> <$select tiddler="$:/temp/tag2">
><$list filter="[tag{$:/temp/tag1}tags[]sort[]]">
>
> enjoy,
> -e
> Eric Shulman
> TiddlyTools / ELS Design Studios
> InsideTiddlyWiki: The Missing Manuals
>

-- 
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/5e05e40c-1f35-4397-a3b1-e359b5e55ac6%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: Options for server-based TiddlyWiki

2016-07-27 Thread 'Mark S.' via TiddlyWiki
I tried it as well. The text never seems to arrive.

Mark

On Wednesday, July 27, 2016 at 12:38:45 PM UTC-7, Danielo Rodríguez wrote:
>
> That is what a lazy loaded tiddler is, a tiddler without the text field. 
> Once you open it the text download starts. if you are getting an empty 
> tiddler after a while check the browser's console, maybe you are running 
> into CORS problems. 
>
> Regards 
>

-- 
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/e851e67d-a8eb-4dec-92fe-3fe808ae19d4%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: TW5 multiple tag search using drop-down list

2016-07-27 Thread Eric Shulman
On Monday, July 25, 2016 at 10:55:38 PM UTC-7, Jon wrote:
>
> That works Eric, thank you.
>
> I wonder if the behaviour could be changed a bit so that the first 
> selection shows the tiddlers with that tag and then the second selection 
> shows the match- at the moment it will only show tiddlers with a match for 
> both tags.
>

change the filter in the second select list from
<$select tiddler="$:/temp/tag2">
   <$list filter="[all[]tags[]sort[]]">
to
<$select tiddler="$:/temp/tag2">
   <$list filter="[tag{$:/temp/tag1}tags[]sort[]]">

enjoy,
-e
Eric Shulman
TiddlyTools / ELS Design Studios
InsideTiddlyWiki: The Missing Manuals

-- 
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/d8acbef6-0266-4d55-bc98-aec657491e3e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: TW5 multiple tag search using drop-down list

2016-07-27 Thread Danielo Rodríguez
There is a plugin that I have created for that purpose :

http://braintest.tiddlyspot.com/#TagsSearch-Plugin

Hope it still works. 
Regards 

-- 
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/7121b5c8-8e18-44ad-9633-ce817c937024%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: Options for server-based TiddlyWiki

2016-07-27 Thread Danielo Rodríguez
That is what a lazy loaded tiddler is, a tiddler without the text field. Once 
you open it the text download starts. if you are getting an empty tiddler after 
a while check the browser's console, maybe you are running into CORS problems. 

Regards 

-- 
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/479b579b-bd7f-4f7d-921b-08af88d6cce3%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: Restrict master saving

2016-07-27 Thread RichardWilliamSmith
Just hide the save button somewhere noone will look - somewhere in the 
menus or in a hidden tiddler they have to know the name of - yoiu can bury 
a link to it somewhere that just renders as a single 'period', for example 
- those who don't know it's there will never even notice it.

Someone who knows how Tiddlywiki works will always be able to save it.

RR

-- 
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/8a528c9d-6ce4-4f53-a902-77337164b0a4%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: Restrict master saving

2016-07-27 Thread Matthew Lauber
If you can use the nodejs version, I've got a nginx config that can proxy 
the site and use auth_basic to limit write requests while allowing read 
requests.

location /wiki/ {
limit_except GET HEAD {
auth_basic 'Restricted';
auth_basic_user_file /etc/nginx/auth/tiddlywiki;
}
proxy_pass   http://127.0.0.1:/;
proxy_set_headerHost $host;
proxy_set_headerX-Real-IP$remote_addr;
proxy_set_headerX-Forwarded-For 
 $proxy_add_x_forwarded_for; 
}


This basically shows up as a standard browser username/password popup.  But 
it only works with the nodejs version, and doesn't hide the save button, 
just 403's the save requests.




On Wednesday, July 27, 2016 at 8:12:40 AM UTC-4, PMario wrote:
>
> Hi Jesper,
>
> If you activate the "ReadOnly" theme. ... RightSidebar: Tools: theme 
> button: select "ReadOnly" ... you get a slightly modified UI. ...
> The save button is also there. Just 4 buttons down. 
>
> That's not optimal but simple to achieve without any modifications.  
> But be aware, that the tiddler menue: more dropdown   still contains a 
> delete button, which works and probably causes an "autosave" ...
>
> So all in all ... as you found out... suboptimal :/
>
> There have been some discussions 
>  
> in the group, but imo there is no generic solution, which keeps a simple 
> editors UI and possibilities, but prevents the user from accidentally 
> changing something. .. At least I don't know it :)
>
> -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/dc468f94-b650-4159-9b80-ff47a15de54d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: Restrict master saving

2016-07-27 Thread PMario
Hi Jesper,

If you activate the "ReadOnly" theme. ... RightSidebar: Tools: theme 
button: select "ReadOnly" ... you get a slightly modified UI. ...
The save button is also there. Just 4 buttons down. 

That's not optimal but simple to achieve without any modifications.  
But be aware, that the tiddler menue: more dropdown   still contains a 
delete button, which works and probably causes an "autosave" ...

So all in all ... as you found out... suboptimal :/

There have been some discussions 
 
in the group, but imo there is no generic solution, which keeps a simple 
editors UI and possibilities, but prevents the user from accidentally 
changing something. .. At least I don't know it :)

-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/1beb45cc-26fc-46e4-85c3-f029f8e4f70b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


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

2016-07-27 Thread PMario
Try this: 

\define test(asdf:"hello!" ttl )
$asdf$

<$list filter="""$ttl$""" ><$link to=<> tooltip=<<
currentTiddler>> ><>



<$list filter="""$ttl$""" ><$view field=title>

\end

<>


macros can use named parameters. See my <> call. In normal 
cases we use *single* "double quotes" to cover the parameter array. ... but 
if a tiddler title contains a single double quote eg: [[test "asdf"]] the 
TW parser is confused. 

<>  .. won't work but  <> works.


hope that helps!

also see: 
http://tiddlywiki.com/#Macros%20in%20WikiText:%5B%5BMacros%20in%20WikiText%5D%5D%20%5B%5BMacro%20Calls%20in%20WikiText%5D%5D%20%5B%5BMacro%20Calls%20in%20WikiText%20(Examples)%5D%5D%20%5B%5BMacro%20Definitions%20in%20WikiText%5D%5D%20Macros

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/328b5bfc-5206-4429-8241-6ed10ac2e18f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: TW5 for the historical process

2016-07-27 Thread 'Sergey Shishkin' via TiddlyWiki
Hi Birthe

Brilliant! It is a pity that we can not in Russian. We will do a color tag! 
"notEvent"

Can I ask for such a thing? If you do everything right with examples and 
efficiently. That is called the journal I called the chronology. And 
tiddlers - dates have this tag. How to make a tiddler - Chronology, where 
the table with dates and tiddlers that have that date?

Thousands of thanks in advance!

P.S. I decided to use the solution by Richard and my template I have is as 
follows:

<$reveal type="nomatch" state=<> text="hide" tag="div" 
retain="yes" animate="yes">

Historic date:<$link to={{!!historic}}>
<$view field="historic" format="date MMDD" 
template={{$:/language/Tiddler/DateFormat}}/>
 
<$list filter="[is[current]!has[info]]">
Place:<$link to={{!!place}}>
<$view field="place"/>

 
<$list filter="[is[current]has[info]]">
Place: {{!!info}}
 
Type of event:<$link to={{!!eventtype}}>
<$view field="eventtype"/>
 



понедельник, 25 июля 2016 г., 20:52:00 UTC+2 пользователь Birthe C написал:
>
> If you would not mind using a tag in tiddlers that you do not want to show 
> subtitle you could create a tiddler tagged $:/tags/Stylesheet and content
>
> .tc-tagged-nondates .tc-subtitle { visibility: hidden;}
>
> nondates is just an example, use what you like.
>
> Subtitles are not removed just not visible.
>
>
> Birthe
>

-- 
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/a918b728-75a1-4b17-ad99-629abd586a50%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


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

2016-07-27 Thread jonathanhaug
 

Hi there again,

 

I would like to call a macro with a set of tiddler titles (similar to an 
„array“ variable)

 

<>

 

And the macro has to output a list of links to these tiddlers.

 

\myMacro(ttl)

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

\end

 

How would I do this?

 

Thanks in advance!

 

 

 

 

 

-- 
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/009701d1e7f1%2431e857a0%2495b906e0%24%40wolke7.net.
For more options, visit https://groups.google.com/d/optout.


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

2016-07-27 Thread jonathanhaug
Thank you, Mark!



You are the guru here…

 

 

 

This seems to work:

\define mac2(ttl)
<$list filter=" [[$ttl$]]  +[removesuffix[ (Info)]]" />
\end
\define mac1()
---
The following contains details relating to <$macrocall $name=mac2 
ttl={{!!title}}/>

---
\end

<>

-- 
You received this 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/008a01d1e7f1%2423acd940%246b068bc0%24%40wolke7.net.
For more options, visit https://groups.google.com/d/optout.


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

2016-07-27 Thread jonathanhaug
Hi Matabele,

 

indeed, your approach does work for pure listing, but if you want to link to 
this very tiddler, it does not work … 

 

\define myTitle(title) [[$title$ info]]

<>

 

leaves you with a link to „{{!!title}} info“.

 

-- 
You received this message because you are subscribed to 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/005101d1e7e1%2418bfb5d0%244a3f2170%24%40wolke7.net.
For more options, visit https://groups.google.com/d/optout.


[tw] Restrict master saving

2016-07-27 Thread Jesper Hansen
Hi!

I've been messing with tiddlywiki 5 for a while, and first off i'd like to 
say thanks - it really is a great and powerful tool when you figure out how 
to work with it :)

I'm working with a local html wiki that I renamed to the .hta file 
extension to enable direct saving -  what I would like to do is restrict 
the ability to master save the wiki (preferably with a password) as only 
certain people should be able to save the wiki.

I did some searching, and it looks like it is possible to remove the save 
button alltogether, but this will complicate saving for the people who 
should actually be able to do it.

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/2e15fa9b-d815-49cf-8176-fdb4d5f8f78a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.