Re: [tw5] tiddlymap fonts question

2020-02-09 Thread A Sklpns
Alex, friends, 


indeed, I replaced all instances of 'Arial' with 'Courier' in the 
'$:/plugins/felixhayashi/vis/vis.js'
tiddler and it seems to do the trick
Thanks again
sklpns


Τη Τετάρτη, 5 Φεβρουαρίου 2020 - 12:37:12 μ.μ. UTC+2, ο χρήστης A Sklpns 
έγραψε:
>
> Hi Alex, thanks for getting back to me!
> I think I've found something, I' ll be posting back when I've checked it 
> in case
> someone else is interested.
> Thank you,
> sklpns
>
> Τη Τετάρτη, 5 Φεβρουαρίου 2020 - 12:31:29 μ.μ. UTC+2, ο χρήστης AlexHough 
> έγραψε:
>>
>> Ah!  I see!
>>
>>
>> I think the formatting CSS is buried in the Viz.js plugin
>>
>> I'm stumped!
>>
>>
>>
>> Alex
>>
>> On Fri, 31 Jan 2020 at 13:41, A Sklpns  wrote:
>>
>>> Hello Alex, thank you. This seems to change the font family of the edge 
>>> labels but not the nodes (which I am after)-unless of course I am missing 
>>> something.
>>> Thanks again.
>>> sklpns
>>>
>>> -- 
>>> 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 tiddl...@googlegroups.com.
>>> To view this discussion on the web visit 
>>> https://groups.google.com/d/msgid/tiddlywiki/63ea61e5-173e-4379-88a2-ef9466f6c566%40googlegroups.com
>>> .
>>>
>>

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/a8677ca4-3ab4-4bcb-8dad-49e412d94db4%40googlegroups.com.


Re: [tw5] tiddlymap fonts question

2020-02-05 Thread A Sklpns
Hi Alex, thanks for getting back to me!
I think I've found something, I' ll be posting back when I've checked it in 
case
someone else is interested.
Thank you,
sklpns

Τη Τετάρτη, 5 Φεβρουαρίου 2020 - 12:31:29 μ.μ. UTC+2, ο χρήστης AlexHough 
έγραψε:
>
> Ah!  I see!
>
>
> I think the formatting CSS is buried in the Viz.js plugin
>
> I'm stumped!
>
>
>
> Alex
>
> On Fri, 31 Jan 2020 at 13:41, A Sklpns > 
> wrote:
>
>> Hello Alex, thank you. This seems to change the font family of the edge 
>> labels but not the nodes (which I am after)-unless of course I am missing 
>> something.
>> Thanks again.
>> sklpns
>>
>> -- 
>> 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 tiddl...@googlegroups.com .
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/tiddlywiki/63ea61e5-173e-4379-88a2-ef9466f6c566%40googlegroups.com
>> .
>>
>

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/4070b845-fda4-4a9a-8d2e-676494aa0dc4%40googlegroups.com.


Re: [tw5] tiddlymap fonts question

2020-01-31 Thread A Sklpns
Hello Alex, thank you. This seems to change the font family of the edge labels 
but not the nodes (which I am after)-unless of course I am missing something.
Thanks again.
sklpns

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/63ea61e5-173e-4379-88a2-ef9466f6c566%40googlegroups.com.


[tw5] tiddlymap fonts question

2020-01-30 Thread A Sklpns
Dear friends,
how would I change the font family of tiddlymap nodes?
Thank you
sklpns

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/f29c622a-e170-4e52-ab46-114305ae00cc%40googlegroups.com.


Re: [tw5] Re: How can I make TiddlyMap look more like a 'traditional' mind-map?

2019-12-11 Thread A Sklpns

Τη Τρίτη, 1 Οκτωβρίου 2019 - 9:17:48 π.μ. UTC+3, ο χρήστης HC Haase έγραψε:
>
> I would like to know this to.. tiddlymap is powerful, but also hard to 
> make structured. I would wish that there was a way to auto align nodes. 
>
> I don know how to do it with tiddlymap but, you could use tidgraph 
> <https://www.google.com/url?q=https%3A%2F%2Fihm4u.github.io%2Ftw5plugs%2F=D=1=AFQjCNF4DlmeREdlAURVIlXzx2FybB68Ag>.
>  
> If you have a tree hierarchy it produce very nice tree mind maps and is 
> lightweight (but still configurable). but it can't handle many to many 
> relations like tiddlymap.
>
>
>> Dear friends,
I'd like to second both of the above, if I may: wish that there was a way 
to auto align nodes in tiddlymap. Also, handling many to many relations 
with tidgraph. 
Thank you
sklpns 

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/021531e7-03a7-40bd-9f14-83d0a6720bc2%40googlegroups.com.


[tw5] Re: Saving in chrome

2019-09-17 Thread A Sklpns
PMario, BJ, friends,


(PMario) @ BJ have a closer look at this post: 
>> https://groups.google.com/d/msg/tiddlywikidev/lWlZk9qKUH4/Id66zZhABQAJ of 
>> mine. ... It may contain a links to a fix for your problem.
>>
>
Have you done something? The SaveTiddlers extension seems to be saving TWC 
v. 2.9.2 files in Chrome!
Thank you,
sklpns

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/4593de3f-e29a-4f70-90ae-3c7b2371aee8%40googlegroups.com.


[tw5] Re: Saving in chrome

2019-08-31 Thread A Sklpns
PMario,
copy that, looking forward to the chrome version.
Thank you!
sklpns

Τη Πέμπτη, 29 Αυγούστου 2019 - 11:00:27 π.μ. UTC+3, ο χρήστης PMario έγραψε:
>
> On Friday, May 10, 2019 at 9:28:45 AM UTC+2, A Sklpns wrote:
> ...
>
>> Any ideas? Is there possibly as simple a solution for Chrome as Firefox's 
>> File Backups addon?
>>
>
> There is a new beta on the way. 
> https://github.com/pmario/file-backups/releases ... 
>
> It also contains some changes that should get me closer to a chrome 
> version. I had to remove the URL icon, since Chrome only allows 1 icon 
> active at a time. I decided to go with the diamond ;)
>
> Since MS Edge is on the way, I also want to support this one with a future 
> file-backups version. 
>
> 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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/973dcf3c-a974-448c-8df1-d1cb20a1d7a0%40googlegroups.com.


[tw5] Re: Saving in chrome

2019-07-18 Thread A Sklpns
BJ, friends,

thank you-and sorry for not responding for so long, got caught up with 
exams etc 
Haven't tried the savetiddlers extension as I use both TWC and TW5 

With firefox the "file-backups" Extension for Firefox by pmario
(https://pmario.github.io/file-backups/) saves both with no problem at 
all!  

Maybe some of our friends over at the TWC group will take on the TWC 
bug-sadly I am not a 
programmer, so...

Thank you
sklpns


-- 
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/2d0910ca-793e-4896-942f-9e1d68883347%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Re: Saving in chrome

2019-06-23 Thread A Sklpns
Friends,

Mark S., 
thank you for continuing the conversation over at the TWC group,
(https://groups.google.com/forum/#!topic/tiddlywikiclassic/cfef6YhGGuc)

BJ,
here is a "matrix" of the problem so to speak

Windows 10 / Google Chrome Version 75.0.3770.100 (Official Build) (64-bit)

1. TW5 version 5.1.15 saves as expected: it downloads the file in the 
Downloads folder 
2. ''Empty'' TWC file version 2.9.2 from https://classic.tiddlywiki.com/ 
saves as expected: Chrome downloads the file in the Downloads folder 
3. My own TWC file version 2.9.2 (size: 4.96 MB) doesn't save as expected: 
instead of downloading the file Chrome fails with a ''download failed - 
Network error'' message   
4. My own TWC file version 2.6.0 (size: 4.60 MB) doesn't save as expected: 
instead of downloading the file Chrome fails with the following pop up 
 "It's not possible to save changes. Possible reasons include:- your 
browser doesn't support saving (Firefox, Internet Explorer, Safari and 
Opera all work if properly configured)- the pathname to your TiddlyWiki 
file contains illegal characters\n- the TiddlyWiki HTML file has been moved 
or renamed".

All of the above files save correctly under Firefox 67.0.4 (64-bit) in 
Windows 10 using the File Backups firefox addon (
https://pmario.github.io/file-backups/, 
https://addons.mozilla.org/de/firefox/addon/file-backups/) 

Thank you!
sklpns

-- 
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/723e10ea-cf42-4944-9fed-4f6a73046e7a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Re: Saving in chrome

2019-06-15 Thread A Sklpns
Mark S., friends
I'm trying to test the script but I got stuck at step 0:
Chrome in Windows 10 will act as expected when pressing the save changes 
button 
in TW5 as well as an empty TWC 2.9.2 (most recent version), ie it will 
download 
the file in the downloads folder.

It wont however do the same with my own files (TWC 2.9.2 and 2.6.0):
it fails with something like ''download failed: network error''.
I've tested after disabling all the plugins and still get the same error.
Any ideas?
Thanks in advance
sklpns

-- 
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/351f34a1-4a36-4ab7-8f71-afc92e1213c8%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Re: Saving in chrome

2019-06-14 Thread A Sklpns


Dear friends,
thanks fro the input!
Got some exams coming up, will test right after 
and get back to you
Thank you!

-- 
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/24e898e5-34d1-41da-b29f-6e3c4d5fdc26%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Re: Saving in chrome

2019-06-09 Thread A Sklpns
Windows (7 and 10, work and home respectively).
Thank you!

Τη Κυριακή, 9 Ιουνίου 2019 - 3:56:36 μ.μ. UTC+3, ο χρήστης Mark S. έγραψε:
>
> Windows or Mac or ?
>
> On Sunday, June 9, 2019 at 1:52:40 AM UTC-7, A Sklpns wrote:
>>
>> Thank you very much Tom. Had tried that but while this works for TW5 it 
>> doesn't seem to work for TWC files.
>> Thanks again
>>
>> Τη Πέμπτη, 30 Μαΐου 2019 - 12:15:01 π.μ. UTC+3, ο χρήστης Tom Adams 
>> έγραψε:
>>>
>>> On Friday, May 10, 2019 at 12:28:45 AM UTC-7, A Sklpns wrote:
>>>>
>>>> Hello TW friends.
>>>> I am looking for a simple way to save both TW5 and TWC files under 
>>>> Google Chrome.
>>>>
>>>
>>> I use several Chromebooks running ChromeOS.  I wanted to access the same 
>>> tiddlywiki from any of them, so I needed to put them on my Google Drive.  
>>> After a few tries, I figured it out.
>>>
>>>- Create a Drive Downloads folder in Google Drive > My Drive.
>>>- In Chrome settings, search for Downloads and change the location 
>>>of the Downloads folder to the one you just created in Google Drive
>>>- Create a tiddlywikilocations folder in Drive Downloads
>>>- Download tiddlywiki empty.html and savetiddlers-0.8.zip into 
>>>tiddlywikilocations
>>>- Unzip savetiddlers-0.8 folder into tiddlywikilocations 
>>>- In Chrome > More tools > Extensions, turn on Developer mode, then 
>>>- Click load unpacked and navigate to Google Drive > My Drive > 
>>>Drive Downloads > tiddlywikilocations > savetiddlers-0.8 
>>>- Select the Extension folder and click Open.  You will get an error 
>>>message, but ignore it. It has no affect on Chrome
>>>
>>> Now when you make changes in tiddlywiki and click the save checkmark, it 
>>> should save the new version of empty.html, and the previous version into a 
>>> backupdir in the tiddlywikilocations folder.
>>>
>>>
>>>

-- 
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/ca5f7b75-1916-49c7-803a-263d09577b98%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Re: Saving in chrome

2019-06-09 Thread A Sklpns
Thank you very much Tom. Had tried that but while this works for TW5 it 
doesn't seem to work for TWC files.
Thanks again

Τη Πέμπτη, 30 Μαΐου 2019 - 12:15:01 π.μ. UTC+3, ο χρήστης Tom Adams έγραψε:
>
> On Friday, May 10, 2019 at 12:28:45 AM UTC-7, A Sklpns wrote:
>>
>> Hello TW friends.
>> I am looking for a simple way to save both TW5 and TWC files under Google 
>> Chrome.
>>
>
> I use several Chromebooks running ChromeOS.  I wanted to access the same 
> tiddlywiki from any of them, so I needed to put them on my Google Drive.  
> After a few tries, I figured it out.
>
>- Create a Drive Downloads folder in Google Drive > My Drive.
>- In Chrome settings, search for Downloads and change the location of 
>the Downloads folder to the one you just created in Google Drive
>- Create a tiddlywikilocations folder in Drive Downloads
>- Download tiddlywiki empty.html and savetiddlers-0.8.zip into 
>tiddlywikilocations
>- Unzip savetiddlers-0.8 folder into tiddlywikilocations 
>- In Chrome > More tools > Extensions, turn on Developer mode, then 
>- Click load unpacked and navigate to Google Drive > My Drive > Drive 
>Downloads > tiddlywikilocations > savetiddlers-0.8 
>- Select the Extension folder and click Open.  You will get an error 
>message, but ignore it. It has no affect on Chrome
>
> Now when you make changes in tiddlywiki and click the save checkmark, it 
> should save the new version of empty.html, and the previous version into a 
> backupdir in the tiddlywikilocations folder.
>
>
>

-- 
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/a383b57b-1470-4225-ad82-6d42e6cd299e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Re: Saving in chrome

2019-05-11 Thread A Sklpns
Everyone: thank you!
Will try tiddlyserver as soon as I get home. Also: will the batch script idea 
work with TWC's? Thanks again!

-- 
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/bd8503ae-8124-42fc-8e56-0740c911e76f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Saving in chrome

2019-05-10 Thread A Sklpns
Hello TW friends.
I am looking for a simple way to save both TW5 and TWC files under Google 
Chrome.
Something like the File Backups addon I use with Firefox (works great!).
Tried the savetiddlers Chrome extension 
(https://github.com/buggyj/savetiddlers) 
<https://github.com/buggyj/savetiddlers>
but most of the time it doesn't save TW5's in a Google Drive folder 
(insufficients permissions error)
and it never saves TWC.
Any ideas? Is there possibly as simple a solution for Chrome as Firefox's 
File Backups addon?

Thanks in advance
sklpns

-- 
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/d7805a81-02e3-4b88-82c7-6922f56b6d8b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: TW5 beginner: sidebar, css etc

2018-02-13 Thread sklpns
Dear friends,
thank you very much, testing as we speak.

Thanks,
sklpns

-- 
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/5c977553-f0ad-4dc8-aef7-f3d299b76d7b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] TW5 beginner: sidebar, css etc

2018-02-11 Thread sklpns
Hello Tiddlywiki friends.
I am a long time TWC user just getting my feet wet in the TW5 world.
Hence a couple of absolute beginner's questions, if I may:

1. I can't figure out how to get the recent tab in the sidebar show every 
tiddler edited chronologically.
It obviously only shows only ''regular'' and not system tiddlers?

(context: I need everything to be there, otherwise 
I'm lost as far as getting back from mistakes is concerned.

2. I managed to create a button like this
<$button set="ViewerSource" 
setTo='file://C:/Google%20Drive/Documents/test.pdf'>test
How can I add an action to the button so the first thing it does is to 
switch the sidebar to a specific tab?

Also: how do I get the above to be a text link instead of a button?

(context: I've added a tab called viewer at the sidebar. It transcludes the 
ViewerSource tiddler which loads an iframe of 
file://C:/Google%20Drive/Documents/test.pdf. So it's a viewer. But if 
there's another tab open I need to switch to Viewer 
prior to loading the iframe per the button)

3. I need to get a third state for the topbar button: fullscreen sidebar

(context: currently it toggles between story river fullscreen and story 
river+sidebar. 
I need a third state, fullscreen sidebar to be toggled in order to show the 
aforementioned Viewer fullscreen for beter reading)

4. (This is not nagging. I absolutely love TW for the past 10+ years in its 
various incarnations and I can only suspect and respect the amount of 
effort that took place behind the scenes and also by the community). Any 
idea how to speed TW5 up? True, I am using an old laptop, which however has 
an i5-2450@2.5 GH and 6GB of RAM. Seems sluggish to me, maybe because of 
using FF portable ESR (for saving reasons)?. Also: any intermediate guide 
out there for newbies minus?. I mean beyond the basic operations but not 
necessarily as deep as developer level (also welcome). Something like 
''what you used to do with PageTemplate now you do with 
...'' or ''the equivalent of inline scripts using 
InlineJavascriptPlugin is .. and works thus''  
or ''widget/filters/whatever does this or that for you with this or that 
syntax''. 

5. Any chance whatsoever to port TW5 plugins to TWC? (http://tiddlymap.org/ 
in mind). Are the two completely incompatible? 


Hope this all makes sense and apologies for n.4, if one needs to study a 
bit  then one needs to study and TWC is always there, no worries.

Thanks in advance
sklpns   

 

-- 
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/61a688e0-b4de-4f78-8223-415f49b4410c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: TWC - Help with script needed-Tobias, friends

2017-05-05 Thread sklpns
t; ? null : parseInt("$1"),
y,years=[];

window.YearlyIncomeReport = function(){
var
m, out,
$sel = $(this),
$table = $sel.next(),
year = get ? get : $sel.val(),
totals = {
expenses:[0,0,0,0,0,0,0,0,0,0,0,0],
revenues:[0,0,0,0,0,0,0,0,0,0,0,0]
},
sum = function(arr,num){
var m, result = 0;
for(m=0; m<=num; m++){
result += arr[m];
}
return result;
};

if(get){
$table = $("<div>");
$(place).append($table);
}

store.forEachTiddler( function(title, tiddler) {
   if (tiddler.tags.containsAny([tag1,tag2])) {

var
y = tiddler.data(data.year),
m = tiddler.data(data.month);

m = m ? months.indexOf(m) : 0;

if(0 <= m && y && y == year){
totals.expenses[m] += 
tiddler.data(data.expenses)*1 || 0;
totals.revenues[m] += 
tiddler.data(data.revenues)*1 || 0;
}
}
});

out = header;
for(m = 0; m< months.length; m++){
var
e = totals.expenses[m],
r = totals.revenues[m],
te = sum(totals.expenses,m),
tr = sum(totals.revenues,m);
out +=
"|" + months[m] +
"|" + e + 
"|" + r + 
"|" + (r - e) + 
"|" + te + 
"|" + tr + 
"|" + (tr - te) + 
"|\n";
};

$table.empty();
wikify(out,$table[0]);
}

if(get){
window.YearlyIncomeReport();
} else {
$sel = $("<select/>").change(window.YearlyIncomeReport);
$(place).append($sel);

store.forEachTiddler( function(title, tiddler) {


   if (tiddler.tags.containsAny([tag1,tag2])){
y = tiddler.data(data.year);
if(y){
years.pushUnique(y);
}
}
});
years.sort();

for(y=0;y<years.length;y++){

$sel.prepend($('<option></option>').val(years[y]).html(years[y]));
}

$(place).append("<div/>");
$sel.trigger("change");
}
})(jQuery);


I'm on my phone right now but please let me know if more info or even an MTC is 
required.

Thanks again,
sklpns

-- 
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/4819891d-d669-4e24-8285-cdeb077812a7%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] TWC - Help with script needed-Tobias, friends

2017-05-05 Thread sklpns
Hallo TW friends

a couple of years ago Tobias Beer kindly provided a TWC script 
that creates a yearly income report table by months
(see the thread: 
https://groups.google.com/forum/#!searchin/tiddlywiki/sklpns$20tobias%7Csort:relevance/tiddlywiki/FB00JfzzY5w/xSoTnGdL5eIJ
 
and the script at 
http://web.archive.org/web/20150129060432/http://scripts.tiddlyspace.com:80/#%5B%5BS%3A%20yearly%20income%20report%5D%5D)

What it does is collect data from tagged "expense" tiddlers and outcomes a 
budget table with budget information 
per year/month.

I'm looking for a way to modify the script so that it outputs the same 
information but for all the years (not one at a time-
something like












Year Month Expenses Revenues Balance Expense Total Revenue Total Balance 
Total 
2014 Jan 0 0 0 0 0 0 
2014 Feb 0 0 0 0 0 0 
2014 Mar 0 0 0 0 0 0 
2014 Apr 0 0 0 0 0 0 
2014 May 0 0 0 0 0 0 
2014 Jun 0 0 0 0 0 0 
2014 Jul 0 0 0 0 0 0 
2014 Aug 0 0 0 0 0 0 
2014 Sep 0 0 0 0 0 0 
2014 Okt 0 0 0 0 0 0 
2014 Nov 200 500 300 200 500 300 
2014 Dec 0 0 0 200 500 300 
2015 Jan 





2015 Feb 





2015 Mar 





2015 Apr 





2015 May 





2015 Jun 





2015 Jul 





2015 Aug 





2015 Sep 





2015 Okt 





2015 Nov 





2015 Dec 













and so on

Thanks in advance

sklpns














































































































































































































































































  






-- 
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/4d710026-ddd2-4f3e-b566-ab7719e06c71%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: [TWC] problem embedding html5 audio player

2015-10-03 Thread sklpns
Hey Tobias,

every time I have a question  you come up with a plugin!

Seems to work great, even with my real case TW which has a rather peculiar 
set up.

Let me tell you, If I may, the kind of trouble this gets me out from:

Not knowing javascript or any kind of coding, in order to show an
html5 audio player (android compatible is the goal)
in my tw, in an audio player div, I basically have to:

1. Create an xml playlist with mp3 files
2. Create an html page with the player and host it somewhere
3. Iframe the aforementioned page in a tiddler in a separate TW
4. Iframe the aformentioned tiddler in my mainTW.

Same with flash, host the swf and xml files elsewhere and use them via
a separate, audio player repository TW.

Granted, coding knowledge would have reduced the red tape anyway.
The above set up is far from clever, it just works.

But if this plugin works like I think it will in my actual TW I can have 
playlists and players all in my main TW, which for me is awesome, albeit 
with the help of a pseudostory set up (opening player tiddlers in a 
separate pseudostory column).

Thank you very much Tobias, I really appreciate your help.

sklpns

PS. Also great, people still getting involved with TWC.
Not having jumped the TW5 train yet, this is encouraging!


-- 
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 http://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/0dc0d54f-d8a3-47b1-b0c4-24d9f02b28b9%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: [TWC] problem embedding html5 audio player

2015-10-03 Thread sklpns

Hi Tobias,

so far my android devices (both a new smartphone and an older, low spec, 
tablet)
seem to respond well to the plugin with UC browser (apart from a zoom 
in-out problem but that's
irrelevant), so I would urge you
not to spend any more time on audiojs, so far your plugin does the job a ok.

Just my two cents here: you might however wanna have a look at 
http://www.wimpyplayer.com/, especially
if you're thinking about a twc/tw5 implementation: in my html5 audio player 
quest
I found it to be the simplest in implementation with nice skins etc. Tried 
it last night in twc
per their instructions but couldn't get it to work (surprise).

Thanks again for your time

sklpns


 


-- 
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 http://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/9eb7f564-ede4-411c-ac8e-3e2a621d0d8a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: [TWC] problem embedding html5 audio player

2015-10-02 Thread sklpns
Hey Tobias,

confirm, the above code works ok in my TW in all my browsers.

Thanks again,

sklpns


-- 
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 http://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/ae2abe52-fbc1-4717-b9d2-66bd15484bf1%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: [TWC] Date plugin and todays reminder link

2015-06-19 Thread sklpns
Hello everyone,

sorry to bump this but, not being a coder, I'm confused with the code 
of DatePlugin,  http://www.tiddlytools.com/#DatePluginReminderMacros 
http://remindermacros.tiddlyspot.com/ and CalendarPlugin,
where I guess lies the answer to my problem.

I guess what I'm looking for is some sort of inline script like

script
   
(if there is at least one reminder
set for today)

  return

 @@color:#F00;date popup today 'DDD, MMM DDth ' 'DD MMM ' 
(number of reminders set for today)@@;
  
 else
  return (current date in the above format-no link;
/script

something like what the Calendar plugin does as far as reminders go 
but only for the current date.

Does this make sense?

thanks again

sklpns




 

On Monday, June 8, 2015 at 5:04:39 PM UTC+3, sklpns wrote:

 Hello TW friends

 using DatePlugin http://www.tiddlytools.com/#DatePluginand 
 ReminderMacros http://remindermacros.tiddlyspot.com/
 (also got CalendarPlugin installed)
 in a TW classic version 2.6.0
 you can write this

 date popup today DDD, MMM DDth  DD MMM 

 which will give you the current date as link.
 When clicked a popup will appear showing all reminders
 set per the rules specified at the DatePlugin Tiddler 
 (omit 'created' section from date popups etc)

 My questions:
 1. Is there a way to have the above link formatted conditionally (ie red)
 if a reminder is set for the current date (today)?
 2. Where would I look in order to change the appearance of the displaying 
 popup?
 3. Would it be possible to have the same information (todays reminders) 
 appear as a popup window
 (like the Main TiddlyWiki file saved popup) upon startup and/or at certain 
 intervals?

 thanks in advance
 sklpns


 http://www.tiddlytools.com/#DatePlugin


-- 
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 http://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/073a7471-f097-45cc-a7e9-87e2cdc3a25f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] [TWC] Date plugin and todays reminder link

2015-06-08 Thread sklpns
Hello TW friends

using DatePlugin http://www.tiddlytools.com/#DatePluginand ReminderMacros 
http://remindermacros.tiddlyspot.com/
(also got CalendarPlugin installed)
in a TW classic version 2.6.0
you can write this

date popup today DDD, MMM DDth  DD MMM 

which will give you the current date as link.
When clicked a popup will appear showing all reminders
set per the rules specified at the DatePlugin Tiddler 
(omit 'created' section from date popups etc)

My questions:
1. Is there a way to have the above link formatted conditionally (ie red)
if a reminder is set for the current date (today)?
2. Where would I look in order to change the appearance of the displaying 
popup?
3. Would it be possible to have the same information (todays reminders) 
appear as a popup window
(like the Main TiddlyWiki file saved popup) upon startup and/or at certain 
intervals?

thanks in advance
sklpns


http://www.tiddlytools.com/#DatePlugin

-- 
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 http://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/836890cf-d42b-45f1-a68f-1836112e782b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: [TWC] d3.js graphs ans DataSet tiddler

2015-03-15 Thread sklpns
Hello okido,

Thank you very much for your help!
Testing in my real world use case as we speak,
and for the next few days probably, but
so far it integrates beautifully.

Thanks again.

sklpns



-- 
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 http://groups.google.com/group/tiddlywiki.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: [TWC] Fet script question

2015-01-26 Thread sklpns
Works like a charm. Thank you very much sir.
sklpns

-- 
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 http://groups.google.com/group/tiddlywiki.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: [TWC] Fet script question

2015-01-25 Thread sklpns

Hi Tobias and, again, thank you very much for your input.

Indeed, using fields would be cleaner but in my actual case I'm using
form tiddler plugin http://tiddlywiki.abego-software.de/#FormTiddlerPlugin 
(along with data tiddler plugin) 
http://tiddlywiki.abego-software.de/#DataTiddlerPlugin as a means of an 
interface
to input values and I wouldn't know how to make that store data in generic 
fields.

Also, in my actual wiki, years are taken into consideration, ie there are
separate data fields for days, months and years for each expense tiddler,
so the fet you provided does brilliantly what its asked to do: create a 
table row for
each expense with the relevant fields. In my case they are sorted by date.

The thought was to create a table with a different perspective:
show me only twelve rows per year. Each represents a month.
Show me total month expenses, income, and their difference.
And show me the expenses and income sums in the course
of a year. Something like

   
expenses expense line income income line monthly result  JAN 2014 379  379  
374  374  -5   FEB 2014 231  610  374  748  143   MAR 2014 264  874  374  
1.122  110   APRIL 2014 207  1.081  913  2.035  706   MAY 2014 491  1.572  
368  2.403  -123   JUNE 2014 430  2.002  374  2.777  -56   JULY 2014 861  
2.863  374  3.151  -487   AUG 2014 221  3.084  317  3.468  96   SEP 2014 945  
4.029  929  4.397  -16   TOTAL

which in turn would be used to create a meaningful graph like this 



which represents both monthly and total budget progression 

In essence, the same fet you provided, but focusing on monthly sums.

Found this inline script

script 
   var out=[]; 
   var sum=0; 
   var tids=store.getTaggedTiddlers('
timesheet'); 
  for (var i=0; itids.length; i++){ 
  var hr=tids[i].data(hours)*1; 
  if (isNaN(hr)) {sum = sum;} 
  else {sum=sum+hr;} 
   } 
   out.push(sum+' hours completed.'); 
   return out.join('\n'); 
/script

from this 
https://groups.google.com/forum/#!searchin/TiddlyWiki/script$20hours$20completed/tiddlywiki/xEuTGiw6xe8/yTRigFZrz_0J
 
thread which will return the result for each tiddler tagged expense BUT I 
don't know how to fliter in the appropriate tiddlers. In my case all 
tiddlers are tagged with expense (and nothing else). If we write something 
like
  
var tids=store.getTaggedTiddlers('
expense')  tiddler.data(month) == Dec;
the script wont work.

A solution would be to make script check for specific words in the tiddler 
text but I haven't found a way to do that.

I can define the appropriate tiddlers using a fet (fetch all the tiddlers 
needed by writing 
forEachTiddler
 where
 'tiddler.tags.contains(
expense)  tiddler.data(month) == Dec'

but I can't figure out how to get it to provide monthly totals. 

Finally, if a table like the one above could be created,  the tiddler which 
contains the graph data would, ideally, be automatically updated (upon 
opening? clicking a button?)
4.029 €


4.397 € 


368 €





















  
Hope this makes some sense; my current wiki is in Greek, so an mtc will 
probably make even less sense
but I will try to get an mtc in english...

again, Tobias, thank you very much for your help.

sklpns

PS. I am no expert but I do realize that TW is not supposed to replace 
spreadsheet functionality.
But as far as, in this case, basic budget tracking is concerned, I feel it 
definitely can and it would be awesome
to do it with my TW, alongside my other notes and combining it with them, 
instead of a separate spreadsheet application.
   
   



 



 



 



 



 



 



 



 



 



 



 

-- 
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 http://groups.google.com/group/tiddlywiki.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: [TWC] Fet script question

2015-01-25 Thread sklpns
Tobias, I'm at a loss for words, thank you very much indeed.
I'm testing the script for the last couple of hours, finding
a minor glitch, as it doesn't show January expenses (first row).
 Could be I mistyped something, as my data fields have different
names (01 instead of Jan), though the other month rows work.
Again, Tobias, thank you very much.
sklpns

On Sunday, January 25, 2015 at 7:38:27 PM UTC+2, Tobias Beer wrote:

 Hi sklpns,

 Here's that inline script...
 S: yearly income report @ scripts 
 http://scripts.tiddlyspace.com/#%5B%5BS%3A%20yearly%20income%20report%5D%5D

 Best wishes, Tobias.


-- 
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 http://groups.google.com/group/tiddlywiki.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: [TWC] Fet script question

2015-01-21 Thread sklpns

Tobias, friends, a couple of follow up questions, If I may:
1. how would we go about to produce the same kind of report but on a 
monthly basis?

something like

 |TOTAL EXPENSES | TOTAL INCOME | RESULT | TOTAL 
EXPENSES SUM | TOTAL INCOME SUM|
JAN 2015   
FEB 2015
MAR 2015
APRIL 2015

2. TiddlyChartsPlugin (http://charts.tiddlyspace.com/) allows the creation 
of graphs 
based on data of the following format

|Month|1|2|3|4|5|
|Jon's Money|100|200|700|800|300|
|Colm's Money|50|500|300|900|700|
|Matt's Money|250|550|330|400|2700|

stored on tiddlers.

Would it be remotely possible, using FET or, maybe, inline javascript 
plugin, to somehow automate the process?
Something like 
*gather the monthly data with fet
*click a button to update the content of the tiddler which holds the graph 
data
*automatically update the tiddler that holds the graph and view it?

Just wishing here, manually editing the relevant tiddlers is of course no 
biggie,
just thinking out loud.

Again, Tobias, thank you very much indeed.

sklpns  





-- 
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 http://groups.google.com/group/tiddlywiki.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: [TWC] Fet script question

2015-01-13 Thread sklpns
This is brilliant Tobias, thank you very much indeed.

sklpns

-- 
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 http://groups.google.com/group/tiddlywiki.
For more options, visit https://groups.google.com/d/optout.


[tw] [TWC] Fet script question

2015-01-12 Thread sklpns
Hello everyone

I'm using this fet 

forEachTiddler
 where
 'tiddler.tags.contains(expense)  tiddler.data(month) == Dec'
 script
 'function writeExpenseRow(index, tiddler, context) { var result = ; if 
(index == 0) {context.sum = 0; result = 
|!Description|!Amount|!Sum|!Receipt|\n;} 
context.sum=context.sum+tiddler.data(amount); result += | + 
tiddler.data(descr) + | + tiddler.data(amount) + | + context.sum + 
|[[+tiddler.title+]]|\n; return result;}'
 write
 'writeExpenseRow(index, tiddler, context)'


to produce a table with expenses and sum - see
http://tiddlywiki.abego-software.de/#[[December%20Expenses%20%28with%20sum%29]] 


I'm trying to modify the script so it also presents an income column and 
it's sum as well as a final column with totals
-something like Date|Expense|Expense Sum|Income|Income Sum|Total, but it's 
way above my skills,
could someone please help?

thanks in advance
sklpns



-- 
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 http://groups.google.com/group/tiddlywiki.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: [TWC] Andtidwiki and forms/javascript problem

2014-12-02 Thread sklpns
hello Tobias
let me start with the questions


Some questions:

1. The expense data are stored in data sections that always have the 
same name?
2. Car Brands always tag to Countries?
3. Would the ideal approach be to select a country and then a Brand 
(rather than the other way around?


1. Yes. Each tiddler represents one expense and all the data sections have 
the same name.
2. Ideally when Car Brands are chosen the relevant country is written in 
the data section.
Country as a  tag is an extra thing that presents with problems: if you 
select Audi the tiddler is tagged with Germany
but if you subsequently select Volvo, Sweden is written as a tag but 
Germany is not removed.   
3. Ideally you'd only choose Brand and the other information (Country) 
would be automatically written to the tiddler.

I think it would be A LOT easier to write a little script with 
 InlineJavascriptPlugin or even plain transclusion scripts that...

1. creates the select boxes automatically
2. creates the subcategory upon selecting the main category
3. outputs your desired values upon chosing a subcategory

 I am somewhat familiar with form tiddler plugin/fet but not at all with 
 InlineJavascriptPlugin 
or transclusions.
I wouldn't know where to start honestly.

I feel like you are approaching this from the wrong end and that you should 
 first start playing with the right fet reports and then see to it on how 
 you can best constrain to what you want to see only.


Indeed, I will have to think about that, as far as designing goes I'd take 
your word for it anyday. But, regardless of design flaws/improvements isn't 
there still an underlying problem?  

Dropdown menus options can't seem to perform javascript functions in 
Android browsers, AndTidWiki included.

For now the quick and dirty solution I came up with is this: use the radio 
form (which works persistently well) hidden inside a slider 
(using nested sliders plugin). So my new dropdown_template tiddler has this 
code
+++[[select|tooltip]]
formTiddler radio_template
===

It replicates the interface of a dropdown (options are not all shown at 
once but only after clicking), all data and tags seem to be written ok and 
as an added bonus the slider closes automatically after the selection. So 
now the next question would be: can you manipulate specific tags? Replace 
Germany with Sweden, then Sweden with Italy and so on?

Thank you very much Tobias
sklpns



-- 
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 http://groups.google.com/group/tiddlywiki.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: [TWC] Andtidwiki and forms/javascript problem

2014-11-30 Thread sklpns
Hey Tobias

thank you very much for your reply
Unfortunately I still can't get it to work.
Tried putting the code above in dropdown_template tiddler as is
and then with various combinations (onchange/onclick, removing lines, 
shooting blind really 
as I don't know javascript) and it's not working.

I noticed at some point that Andtidwiki behaves better in this situation 
when 
a function is predefined; is putting code like this in system config 
tiddler 
as a function an option?

I'm trying to put together a simple expenses monitoring tw; being able to 
use 
it both on the pc and on the android tablet would be great 
so any further help would be greatly appreciated.

Thank you very much

sklpns  




-- 
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 http://groups.google.com/group/tiddlywiki.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: [TWC] Andtidwiki and forms/javascript problem

2014-11-30 Thread sklpns

Hey Tobias

I can see how I might have pointed you to the wrong direction
with my MTC. My real world project doesn't use 
1:1 relationships but many:1 relationships.

The thought is to be able to produce (fet) reports based on broader 
categories.
In that sense one doesn't necessarily need a second select box (though it 
be nice visually),
but still needs the relevant data to be written in the data section of the 
tiddler.

Instead of car makers think of the following expense subcategories

Gasoline
Service
Insurance
Parking Fee
Parking Tickets
Tax
Bus Card (Yearly)
Airplane Tickets

Most but not all of them are about owning and driving a car.
But all of them need to be tied to a broader category (Transportation - 
Country in the MTC)

Thus you can produce a fet report showing, for instance, your general 
transportation costs of the last six months,
without the specific contribution of each subcategory.
At the same time you are free to go into specifics: show me how much I've 
spent on gasoline per month over the last year.

Of course I haven't reached the fet designing part yet, so this could all 
be wishful thinking.
I do have a sense though that fet reports like the aforementioned are 
doable.

Hope this makes sense and again thank you very much for your time

sklpns

PS. One would argue it can still be done: write a fet including each and 
every subcategory, yet it'd be considerably easier 
to write a fet including only the broader category instead of pinpointing 
each and every sub every time.
PS2. Besides there is a number of cases where you'd need forms filled/data 
written based on a single piece of
information: a user fills a user name and his phone number and email 
address appear on subsequent forms/get written in the data
section.
PS3. My two cents here as I'm clueless about javascript: isn't it strange 
that the original code works when applied to radio buttons
but not with dropdown menus?

thanks again 






 

-- 
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 http://groups.google.com/group/tiddlywiki.
For more options, visit https://groups.google.com/d/optout.


[tw] change field value onclick - TiddlerGraphPlugin

2014-09-29 Thread sklpns
Hello everyone

wondering how to change a field value with an onclick function

Imagine a tiddler created thus

newTiddler
 label:NewPT
title:NewPT
text:{{getTiddlerPassword+}}
tag:personal
fields:'graph.fillstyle:black'


it has a custom field embedded into it (graph.fillstyle) to be used with
TiddlerGraphPlugin (http://ideia.tiddlyspot.com/ )

I'm looking for a way, using FormTiddlerPlugin 
http://tiddlywiki.abego-software.de/#FormTiddlerPlugin, to change that 
fields value according to 
changes in an input form- something like when you select 'completed' from a 
drop down 
set the graph.fillstyle's value to 'white'

thanks in advance

sklpns

  


-- 
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 http://groups.google.com/group/tiddlywiki.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: [TWC] autosave and function problem

2014-08-27 Thread sklpns

hey mario, thank you very much for your response

taking from your input I've ended up


   - using the uncompressed 
   
http://tiddlywiki.abego-software.de/archive/DataTiddlerPlugin/1.0.7/DataTiddlerPlugin-1.0.7-src.js
 
   version of the DataTiddlerPlugin
   - finding the lines

Tiddler.prototype.data = function(field, defaultValue) {
return (field) 
 ? DataTiddler.getTiddlerDataValue(this, field, defaultValue)
 : DataTiddler.getTiddlerDataObject(this);
};


   - and replacing with

Tiddler.prototype.data = function(field, defaultValue) {
return (field) 
 ? DataTiddler.getTiddlerDataValue(this, field, -)
 : DataTiddler.getTiddlerDataObject(this);
 };

this seems to give me what I need, ie:

   - when a fet runs and a field and value are defined the value is 
   returned in the fet resulting table
   - when a fet runs and a field/data are undefined a dash is returned in 
   the fet resulting table (instead of the word 'undefined')
   
(see before 
https://www.dropbox.com/s/hwx3zvzwkg1z64e/Screenshot%202014-08-27%2017.01.37.png?dl=0
 
and after 
https://www.dropbox.com/s/vifh8iv78cvbg1n/Screenshot%202014-08-27%2017.06.45.png?dl=0
 
screenshots of the relevant fet table columns)

this seems to be working for now, yet I'm wondering if the aforementioned 
code change brakes something

crucial in the way the plugin works I'm not seeing at the moment.

Any thoughts are extremely welcome and again thank you very much for your 
input

sklpns



-- 
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 http://groups.google.com/group/tiddlywiki.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: [TWC] autosave and function problem

2014-08-14 Thread sklpns

An addition, if I may:

The code above, I'm realizing, presents with an even bigger problem:

If you double click a random tiddlerA and then navigate to a tiddler with 
the input form in it
(for example test1 ) and select a radio button, the data do not get written 
in the tiddler test1 but in  TiddlerA.

Seems that the code above sends the data not in the tiddler where the form 
was clicked (as desired) but in the tiddler that was last edited? Major 
problem. Is there a way to fix that?

thanks again and apologies for my possibly silly questions, what I lack in  
javascript knowledge (amounts to zero) I try to make up with TW enthusiasm, 
but...

thank you

sklpns

 

-- 
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 http://groups.google.com/group/tiddlywiki.
For more options, visit https://groups.google.com/d/optout.


[tw] [TWC] Execute script with radio button

2014-08-10 Thread sklpns
Hey all

InlineJavascriptPlugin http://www.tiddlytools.com/#InlineJavascriptPlugin 
lets us run scripts within tiddlers
using the following syntax

script label=Reset
(some code)
/script

by clicking on the reset button.


Can the same thing be accomplished by selecting a radio button
(created with FormTiddlerPlugin 
http://tiddlywiki.abego-software.de/#FormTiddlerPlugin)?

I'm trying something like 

htmlinput name=test type=radio onclick =(some code) value=test 
value //html

which doesn't work.

Thanks in advance

sklpns

-- 
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 http://groups.google.com/group/tiddlywiki.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: TWC: TeamTasks and checkbox interface for forEachTiddler plugin

2014-02-18 Thread sklpns
Hey Leo 

thanks for your reply

dGSD I had seen a long time ago but I was persuaded by TeamTasks' 
simplicity so a  ''more elegant and user friendly'' version 
will be very welcome (and will at the same time pose the question of 
migrating the existing TeamTasks', well, tasks)

Other than that I've abandoned the check-boxes idea (never should have 
taken them for granted!) and came up with a 
very crude, very unsophisticated, very trial and error approach which, 
nonetheless, seems to work but, get this, only under firefox 3.6.24, which 
I'm using for my TeamTasks file for other reasons, and not the current 
Firefox.

bear with me with me   

https://dl.dropboxusercontent.com/u/67129323/teamtasks%20v03-fet-test.html

It is an adaptation of a preexisting TeamTasks plugin called 
NewUserWizardPlugin and 
the problem seems to be with a tiddler called UserDetailsTemplate where the 
form template 
is stored.

I don't know any coding so this seems to me as genuine apostrophe mayhem! 

thanks again

sklpns


 







On Wednesday, February 12, 2014 3:21:13 AM UTC+2, Leo Staley wrote:

  Have you considered 
 dGSDhttp://thinkcreatesolve.biz/dGSD.html#[[Next%20and%20Waiting%20Actions%20by%20Priority]]?
  

 It's a pretty powerful tool. I'm in the process of trying to create 
 basically a TW5 version which is more elegant and user friendly. 

 On Monday, February 10, 2014 7:31:36 AM UTC-7, sklpns wrote:

 Hey whatever

 thank you very much for your reply.
 Been struggling with Checkbox Plugin with no luck.
 Writing a script, let alone a plugin, is out of the question, I'm afraid, 
 as I have no coding knowledge.

 The closest I could find is this page

 http://zrenard.com/tiddlywiki/cal.php

 where tiddlywiki code (a calendar table) is produced based on options
 via checkboxes, drop down lists etc, but I couldn't decipher that either.

 should any more ideas come up I'd be grateful.

 thanks again

 sklpns 

  

 On Tuesday, February 4, 2014 9:58:51 AM UTC+2, whatever wrote:

 Hi!

 You can indeed, but you'll need a couple of additional plugins for that. 
 First, you'll need either CheckboxPlugin (1) or CheckboxToggleTag (2). 
 Their syntax differs, but they offer similar options. Read their info 
 tiddlers for more information. Once you decide which one you'll use, add 
 the appropriate syntax to your fET. Using one of these plugins will involve 
 adding tags to tiddlers. I suggest you include the TW markup syntax first, 
 just to see how it would look. It should also help you decide which of the 
 plugins to use as well as how to go about tagging. You'll also need to add 
 the appropriate conditions for these tags to fET. Once you have this set 
 up, you'll also need the RefreshTiddler (3), to force the refresh of the 
 tiddler containing your fET. Also, you need a button to reset all the 
 checkbox-added tags. You'll need to write a script which fetches all the 
 appropriate tiddlers and removes the tags. For that, you'll need 
 InlineJavascriptPlugin (4). Alternatively, you could just make a plugin for 
 the whole thing, it would be much more flexible, I think.

 hth
 w

 (1) http://www.TiddlyTools.com/#CheckboxPlugin
 (2) http://www.TiddlyTools.com/#CheckboxToggleTag
 (3) http://www.TiddlyTools.com/#RefreshTiddler
 (4) http://www.TiddlyTools.com/#InlineJavascriptPlugin

 On Monday, February 3, 2014 10:05:14 PM UTC+1, sklpns wrote:

 hey all

 I'm using a TeamTasks v0.3 file to organize tasks (some 1300 of them by 
 the way).
 Having installed ForEachTiddlerPlugin I'm using the following code

 forEachTiddler
   where
  
 'store.getValue(tiddler,UserDefinitions) 
  
 store.getValue(tiddler,UserDefinitions).readBracketedList().containsAny([

 PhilHawksworth,
 AnneOther

 ]) 


   

 store.getValue(tiddler,ScopeDefinitions) 
  
 store.getValue(tiddler,ScopeDefinitions).readBracketedList().containsAny([

 Work,
 Play

 ])

   

 store.getValue(tiddler,StatusDefinitions) 
  
 store.getValue(tiddler,StatusDefinitions).readBracketedList().containsAny([

 Pending,
 InProgress,
 OnHold,
 Complete

 ])
 '
  write
  '|+(index+1)++
 |[[+tiddler.title+]]+
 |+store.getValue(tiddler,UserDefinitions)+
 |+store.getValue(tiddler,ScopeDefinitions)+

   |+store.getValue(tiddler,StatusDefinitions)+
 |\n '
   

  begin '|sortable|k\n|A|!Tiddler|!~User|!~Scope|Status|h\n''

  

 to generate a table report of tasks, ie a table containing tiddler 
 name, user, scope and status columns

 Please see a minimal test case here


 https://dl.dropboxusercontent.com/u/67129323/teamtasks%20v03-fet-test.html

 My question is: is there a way to add some sort of checkbox interface 
 for the fet code?

 Something like a number of checkboxes, one for each definition, so, for 
 instance, when you check AnneOther, PhilHawksworth and Work 
 you get a table report containing only the tasks assigned to AnneOther 
 and PhilHawksworth that are categorized
 as Work

[tw] Re: TWC: TeamTasks and checkbox interface for forEachTiddler plugin

2014-02-18 Thread sklpns


Hey Leo 

thanks for your reply

dGSD I had seen a long time ago but I was persuaded by TeamTasks' 
simplicity so a  ''more elegant and user friendly'' version 
will be very welcome (and will at the same time pose the question of 
migrating the existing TeamTasks', well, tasks)

Other than that I've abandoned the check-boxes idea (never should have 
taken them for granted!) and came up with a 
very crude, very unsophisticated, very trial and error approach which, 
nonetheless, seems to work but, get this, only under firefox 3.6.24, which 
I'm using for my TeamTasks file for other reasons, and not the current 
Firefox.

bear with me with me   

https://dl.dropboxusercontent.com/u/67129323/teamtasks%20v03-fet-test.html

It is an adaptation of a preexisting TeamTasks plugin called 
NewUserWizardPlugin and 
the problem seems to be with a tiddler called UserDetailsTemplate where the 
form template 
is stored.

I don't know any coding so this seems to me as genuine apostrophe mayhem! 

thanks again

sklpns

-- 
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 http://groups.google.com/group/tiddlywiki.
For more options, visit https://groups.google.com/groups/opt_out.


[tw] Re: TWC: TeamTasks and checkbox interface for forEachTiddler plugin

2014-02-10 Thread sklpns
Hey whatever

thank you very much for your reply.
Been struggling with Checkbox Plugin with no luck.
Writing a script, let alone a plugin, is out of the question, I'm afraid, 
as I have no coding knowledge.

The closest I could find is this page

http://zrenard.com/tiddlywiki/cal.php

where tiddlywiki code (a calendar table) is produced based on options
via checkboxes, drop down lists etc, but I couldn't decipher that either.

should any more ideas come up I'd be grateful.

thanks again

sklpns 

 

On Tuesday, February 4, 2014 9:58:51 AM UTC+2, whatever wrote:

 Hi!

 You can indeed, but you'll need a couple of additional plugins for that. 
 First, you'll need either CheckboxPlugin (1) or CheckboxToggleTag (2). 
 Their syntax differs, but they offer similar options. Read their info 
 tiddlers for more information. Once you decide which one you'll use, add 
 the appropriate syntax to your fET. Using one of these plugins will involve 
 adding tags to tiddlers. I suggest you include the TW markup syntax first, 
 just to see how it would look. It should also help you decide which of the 
 plugins to use as well as how to go about tagging. You'll also need to add 
 the appropriate conditions for these tags to fET. Once you have this set 
 up, you'll also need the RefreshTiddler (3), to force the refresh of the 
 tiddler containing your fET. Also, you need a button to reset all the 
 checkbox-added tags. You'll need to write a script which fetches all the 
 appropriate tiddlers and removes the tags. For that, you'll need 
 InlineJavascriptPlugin (4). Alternatively, you could just make a plugin for 
 the whole thing, it would be much more flexible, I think.

 hth
 w

 (1) http://www.TiddlyTools.com/#CheckboxPlugin
 (2) http://www.TiddlyTools.com/#CheckboxToggleTag
 (3) http://www.TiddlyTools.com/#RefreshTiddler
 (4) http://www.TiddlyTools.com/#InlineJavascriptPlugin

 On Monday, February 3, 2014 10:05:14 PM UTC+1, sklpns wrote:

 hey all

 I'm using a TeamTasks v0.3 file to organize tasks (some 1300 of them by 
 the way).
 Having installed ForEachTiddlerPlugin I'm using the following code

 forEachTiddler
   where
  
 'store.getValue(tiddler,UserDefinitions) 
  
 store.getValue(tiddler,UserDefinitions).readBracketedList().containsAny([

 PhilHawksworth,
 AnneOther

 ]) 


   

 store.getValue(tiddler,ScopeDefinitions) 
  
 store.getValue(tiddler,ScopeDefinitions).readBracketedList().containsAny([

 Work,
 Play

 ])

   

 store.getValue(tiddler,StatusDefinitions) 
  
 store.getValue(tiddler,StatusDefinitions).readBracketedList().containsAny([

 Pending,
 InProgress,
 OnHold,
 Complete

 ])
 '
  write
  '|+(index+1)++
 |[[+tiddler.title+]]+
 |+store.getValue(tiddler,UserDefinitions)+
 |+store.getValue(tiddler,ScopeDefinitions)+

   |+store.getValue(tiddler,StatusDefinitions)+
 |\n '
   

  begin '|sortable|k\n|A|!Tiddler|!~User|!~Scope|Status|h\n''

  

 to generate a table report of tasks, ie a table containing tiddler name, 
 user, scope and status columns

 Please see a minimal test case here

 https://dl.dropboxusercontent.com/u/67129323/teamtasks%20v03-fet-test.html

 My question is: is there a way to add some sort of checkbox interface for 
 the fet code?

 Something like a number of checkboxes, one for each definition, so, for 
 instance, when you check AnneOther, PhilHawksworth and Work 
 you get a table report containing only the tasks assigned to AnneOther 
 and PhilHawksworth that are categorized
 as Work?

 hope this makes sense and thanks in advance

 sklpns





   



-- 
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 http://groups.google.com/group/tiddlywiki.
For more options, visit https://groups.google.com/groups/opt_out.


[tw] TWC: TeamTasks and checkbox interface for forEachTiddler plugin

2014-02-03 Thread sklpns
hey all

I'm using a TeamTasks v0.3 file to organize tasks (some 1300 of them by the 
way).
Having installed ForEachTiddlerPlugin I'm using the following code

forEachTiddler
  where
 
'store.getValue(tiddler,UserDefinitions) 
 
store.getValue(tiddler,UserDefinitions).readBracketedList().containsAny([

PhilHawksworth,
AnneOther

]) 


  

store.getValue(tiddler,ScopeDefinitions) 
 
store.getValue(tiddler,ScopeDefinitions).readBracketedList().containsAny([

Work,
Play

])

  

store.getValue(tiddler,StatusDefinitions) 
 
store.getValue(tiddler,StatusDefinitions).readBracketedList().containsAny([

Pending,
InProgress,
OnHold,
Complete

])
'
 write
 '|+(index+1)++
|[[+tiddler.title+]]+
|+store.getValue(tiddler,UserDefinitions)+
|+store.getValue(tiddler,ScopeDefinitions)+
   
  |+store.getValue(tiddler,StatusDefinitions)+
|\n '
  

 begin '|sortable|k\n|A|!Tiddler|!~User|!~Scope|Status|h\n''

 

to generate a table report of tasks, ie a table containing tiddler name, 
user, scope and status columns

Please see a minimal test case here

https://dl.dropboxusercontent.com/u/67129323/teamtasks%20v03-fet-test.html

My question is: is there a way to add some sort of checkbox interface for 
the fet code?

Something like a number of checkboxes, one for each definition, so, for 
instance, when you check AnneOther, PhilHawksworth and Work 
you get a table report containing only the tasks assigned to AnneOther and 
PhilHawksworth that are categorized
as Work?

hope this makes sense and thanks in advance

sklpns





  

-- 
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 http://groups.google.com/group/tiddlywiki.
For more options, visit https://groups.google.com/groups/opt_out.


[tw] Re: Best way to switch a small swatch of CSS in TW

2013-12-20 Thread sklpns

Thank you very much Eric

a follow up question, If I may 

I'm using the TiddlyLightBoxPlugin

modified a bit in the following line

div id=lightBoxClosea href:# 
onclick=cancelFullscreen();TiddlyLightBox.hideBox();return 
false;Exit/a/div/div',

cancelFullscreen(); is added so when an element opens in the lightbox in 
fullscreen (based on a script in the MarkupPreHead),
when you press Exit link the lightbox closes and the fullscreen returns to 
normal view

using the html code you provided I'm getting a tiddler to open in the 
lightbox, in fullscreen and with body's overflow set to hidden

something like 

htmla href=javascript:; 
onclick=launchFullscreen(document.documentElement);document.body.style.overflow='hidden';
tiddlerbox Enter some_tiddlerscrolling=yes 1250 
950/a/html

I'm trying to get the Exit link to exit the lighbox, cancel the fullscreen 
and set the body's overflow to visible again with this

a href=# 
onclick=document.body.style.overflow='visible';cancelFullscreen();TiddlyLightBox.hideBox();return
 
false;Exit/a/div/div',

which gives me a syntax error on the TiddlyLightboxPlugin on start up.

How can this be accomplished?

Hope this make sense and thanks again.

sklpns





 




-- 
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 http://groups.google.com/group/tiddlywiki.
For more options, visit https://groups.google.com/groups/opt_out.


[tw] Re: Best way to switch a small swatch of CSS in TW

2013-12-19 Thread sklpns
Hey guys

I'm using this variation

htmla href=javascript:; onclick= 
da=document.getElementById('displayArea');da.style.width='20em';change 
display/html

which successfully changes the width of the display area by clicking on the 
change display link.

But what do we need to write in order to change an attribute of the body 
(specifically overflow to hidden) as something like
 
htmla href=javascript:; onclick= 
da=document.getElementById('body');da.style.overflow='hidden';change body 
/html

doesn't seem to work?

thanks in advance

sklpns

-- 
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 http://groups.google.com/group/tiddlywiki.
For more options, visit https://groups.google.com/groups/opt_out.


[tw] Re: PageTemplate depending browser and screen resolution

2013-08-23 Thread sklpns


hey Tobias
Indeed I've tried and I'm still trying to figure out just that, eg how to 
hide the sidebar and the mainmenu (forgot to mention the mainmenu before) 
under some sort of a small hover button on the left.

Problem is that, in order for the page to work universally, I keep bumping 
into a hidden sidebar on the left that has to contain two iframes with the 
same id (where the media players load). One of them has to be hidden but, 
when in that setup the media links don't work (I suspect because two 
targets with the same id exist so the link doesn't know where to load)

The above don't make much sense I'm afraid but I'll try to set up a test 
page to demonstrate the problem.

In the meantime I'm thinking of this as a bypass: is it possible to 
conditionally disable a plugin?

Something like disabling the ChangeModePlugin when in low resolutions and 
letting the low resolutions specific 

pagetemplate do it's job?

thanks again

sklpns



  


On Thursday, August 22, 2013 2:19:37 PM UTC+3, Tobias Beer wrote:

 Hi sklpns,

 May I ask why you're not using pure css, e.g. the @media directive?

 This would responsively change the layout even when resizing the window 
 and not just determine the environment on global refresh.

 Cheers, Tobias. 


-- 
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 http://groups.google.com/group/tiddlywiki.
For more options, visit https://groups.google.com/groups/opt_out.


[tw] Re: PageTemplate depending browser and screen resolution

2013-08-22 Thread sklpns


On Monday, August 19, 2013 4:54:41 PM UTC+3, sklpns wrote:

 Thank you very much Eric

 On Sunday, August 18, 2013 10:16:02 PM UTC+3, Eric Shulman wrote:

 On Sunday, August 18, 2013 11:38:04 AM UTC-7, sklpns wrote:

 https://groups.google.com/forum/#!topic/tiddlywiki/GDoMxzof644
 is a way to load different stylesheets depending on users browser.
 Is there a way to do the same thing with different PageTemplate tiddlers?
 Load different PageTemplates for different browsers/screen resolutions?


 yes.  The same technique can be used to conditionally apply different 
 PageTemplates.

 For example, if you have two different layouts, called 
 [[BigPageTemplate]] and [[SmallPageTemplate]], you can create a 
 systemConfig with logic like this:

 if (...detect big page conditions ...)
config.shadowTiddlers.PageTemplate=[[BigPageTemplate]];
 else
config.shadowTiddlers.PageTemplate=[[SmallPageTemplate]];

 enjoy,
 -e
 Eric Shulman
 TiddlyTools / ELS Design Studios

 HELP ME TO HELP YOU - MAKE A CONTRIBUTION TO MY TIP JAR...
http://www.TiddlyTools.com/#Donations

 Professional TiddlyWiki Consulting Services...
 Analysis, Design, and Custom Solutions:
http://www.TiddlyTools.com/#Contact



Eric, everybody

a followup question, if I may

the above solution works great, except when ChangeModePlugin is installed.

Here's my situation:
I have ChangeModePlugin running.
When in admin mode the page layout is defined by a tiddler called PageTemplate. 
It shows a right sidebar with editing options.
When in reader mode (initial mode) the page layout is defined by a tiddler 
called ReaderPageTemplate. The right sidebar contains a blank iframe, where 
external pages with media players are sent to.

In order to try to target smaller mobile devices I'm thinking of a third 
layout (lets call it HoverPageTemplate) where the media player sidebar will 
go to the left and the media players, whilst playing, will only show up 
when user hovers upon an icon.  

test page:
https://dl.dropboxusercontent.com/u/67129323/thetwilightkid-cpt.html

so I think the question is: can we use a browser/resolution specific 
template while maintaining the current 
ChangeModePlugin configuration for all the other resolutions/browsers?

hope this makes sense
thanks again

sklpns 


 

-- 
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 http://groups.google.com/group/tiddlywiki.
For more options, visit https://groups.google.com/groups/opt_out.


[tw] Re: PageTemplate depending browser and screen resolution

2013-08-19 Thread sklpns
Thank you very much Eric

On Sunday, August 18, 2013 10:16:02 PM UTC+3, Eric Shulman wrote:

 On Sunday, August 18, 2013 11:38:04 AM UTC-7, sklpns wrote:

 https://groups.google.com/forum/#!topic/tiddlywiki/GDoMxzof644
 is a way to load different stylesheets depending on users browser.
 Is there a way to do the same thing with different PageTemplate tiddlers?
 Load different PageTemplates for different browsers/screen resolutions?


 yes.  The same technique can be used to conditionally apply different 
 PageTemplates.

 For example, if you have two different layouts, called [[BigPageTemplate]] 
 and [[SmallPageTemplate]], you can create a systemConfig with logic like 
 this:

 if (...detect big page conditions ...)
config.shadowTiddlers.PageTemplate=[[BigPageTemplate]];
 else
config.shadowTiddlers.PageTemplate=[[SmallPageTemplate]];

 enjoy,
 -e
 Eric Shulman
 TiddlyTools / ELS Design Studios

 HELP ME TO HELP YOU - MAKE A CONTRIBUTION TO MY TIP JAR...
http://www.TiddlyTools.com/#Donations

 Professional TiddlyWiki Consulting Services...
 Analysis, Design, and Custom Solutions:
http://www.TiddlyTools.com/#Contact


-- 
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 http://groups.google.com/group/tiddlywiki.
For more options, visit https://groups.google.com/groups/opt_out.


[tw] Re: Date Picker question

2013-03-28 Thread sklpns

Thanks to FrD the answer to my own question is something like

forEachTiddler
 write
 'tiddler.getHData(date)+\n'


(where date is the name of the slot used)

This will get the date as a string : MMDD
But how do I get FET to present the date in a -sortable- format like 
DD/MM/ or 16 February 2011 and so on?

thanks in advance

sklpns




-- 
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 http://groups.google.com/group/tiddlywiki?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.




[tw] Re: Date Picker question

2013-03-11 Thread sklpns

Hey all

I've set up a datepicker using the plugins from 
http://dl.dropbox.com/u/9385804/FrDPlugins.html

how do I get FET to fetch the date data?

thanks in advance

sklpns

-- 
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 http://groups.google.com/group/tiddlywiki?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.




[tw] Re: printing with teamtasks template?

2013-03-01 Thread sklpns

hey guys

I think recent firefox versions don't present that problem with tasks 
printing.

Under FF 3.6.24 which I'm forced to use (for other reasons) for my 
TeamTasks file (v0.3)
adding the following lines

div.tiddler div.task { border:solid 1px #aaa; background-color:#f2f2f2; 
position:relative; overflow:visible; clear:both; zoom:1;}
div.tiddler div.task div.taskBody {float:none; display:block; padding:1em 
1em 1em 1em;width: 94%;white-space:wrap;} 

to the StyleSheetPrint tiddler seems to work

hope this helps

sklpns

-- 
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 http://groups.google.com/group/tiddlywiki?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.




[tw] SectionLinksPlugin and smooth scroll

2012-10-01 Thread sklpns
hello everyone

please consider this tiddler (admin button on the left)

https://dl.dropbox.com/u/67129323/test.html#WORDS

a table of links pointing to anchors in the same tiddler 
using SectionLinksPlugin

my question is:
is it possible to get these links to smooth scroll to their respective 
anchors?

thanks in advance

sklpns

-- 
You received this message because you are subscribed to the Google Groups 
TiddlyWiki group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/tiddlywiki/-/tCUlYBmrWc4J.
To post to this group, send email to tiddlywiki@googlegroups.com.
To unsubscribe from this group, send email to 
tiddlywiki+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/tiddlywiki?hl=en.



[tw] Re: Opening Word file directly from local folder in TiddlyWiki?

2012-04-17 Thread sklpns
hey all

this might be of some use as far as linking to files / folders within
a tw goes (at least under win xp)

http://blog.verg.es/2007/08/sendto-clipboard-coolness-tiddlywiki.html

it creates two new items in the Send To menu (accessible with right
click on the desired file in windows explorer). The first (clipboard -
file url) copies the file (or folder) url  to the clipboard so it can
then be pasted to tiddler as a link to the selected file/folder.

it can also be customized to one's liking: in my case I've set a
target attribute in the .hta file code, so that all the linked files
open within an i-frame embedded in the tw.

@skye

maybe exporting open office files to pdf just for the shake of making
them browser readable could be avoided. For me the following seem to
work:  in the open office options menu (think you can find that in any
of the oo applications) there's a tab called network or internet
(can't say for sure as mine's not an english installation). Under that
you should see the option to use the open office plugin for firefox by
checking the relevant checkbox.

Having done that, in the firefox options menu and in the applications
tab make sure that all the open office related entries (or the ones
you want i suppose) are set to open with the open office plugin (if
they aren't try setting them manually using the scroll menu on the
right).

This should result in open office files being viewed within firefox.
If the relevant links are set to open in an iframe embedded in the tw
one doesn't even have to exit the tw environment at all. Only problem
is that recent firefox versions have some visibility problems with
open office files, especially within an i-frame, but nothing too
dreary I suppose. In any case and until this gets somehow resolved I;m
using ff portable version 3.6.24 for a project that relies heavily on
showing oo files within an i-frame. I'm suspecting that showing the
files in a new tab would not present major visibility issues.

Furthermore: these guys here

http://ubuntuforums.org/showthread.php?s=d5644fc05b95a88eea5d17e70d694d87t=94384

explain how to use the open office firefox plugin to also view
Microsoft office files within firefox! (see both pages of the thread)

hope this makes sense and is somewhat useful

cheers
sklpns





-- 
You received this message because you are subscribed to the Google Groups 
TiddlyWiki group.
To post to this group, send email to tiddlywiki@googlegroups.com.
To unsubscribe from this group, send email to 
tiddlywiki+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/tiddlywiki?hl=en.



[tw] Re: Problem uploading

2012-04-16 Thread sklpns


hey springcat

could be wrong but I think that in order to upload a local file
you need to use an earlier version of firefox

in my case a  portable firefox version 3.6.24

(
http://sourceforge.net/projects/portableapps/files/Mozilla%20Firefox%2C%20Portable%20Ed./Mozilla%20Firefox%2C%20Portable%20Edition%203.6.24/
)

seems to work ok with tiddlyspot.

see info on installing ff portable here

http://portableapps.com/apps/internet/firefox_portable

and info on using portable and normal firefox at the same time here

( 
http://allthingsmarked.com/2011/05/13/run-multiple-versions-of-firefox-at-the-same-time/
)

sklpns

ps. 1.  On my downloaded version of stories4thaaza I see an upload
button both on the backstage and the right panel
2. In my portable firefox I set all update options to off (not being
sure if the next version would work equally well with tiddlyspot
upload).
Of course this poses some security issues so one should use the
portable version cautiously

-- 
You received this message because you are subscribed to the Google Groups 
TiddlyWiki group.
To post to this group, send email to tiddlywiki@googlegroups.com.
To unsubscribe from this group, send email to 
tiddlywiki+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/tiddlywiki?hl=en.



[tw] Re: Embedding custom fonts

2011-02-12 Thread sklpns
Again, Måns, Bauwe Bijl, thank you both very much for your input which
has led to a solution that I think actually works (or I'm seeing
things, also possible!).

1. Bauwe Bijl was right on the money thinking  this might be a firefox
related issue.
Indeed, it seems to be just that. Amazingly, and this must be a first,
most, if not all, of the examples described above
must have been working fine in IE all along; it turns out you can’t
use @font-face in Firefox with a font hosted on a different domain.

I was fooled by the fact that fonts were loaded ok from both the
external sources
http://fonts.tiddlyspace.com/ (with the standard @font-face syntax
discussed in this post)
and http://code.google.com/webfonts (using a tip described at this
tiddlyweb groups post
http://groups.google.com/group/tiddlyweb/browse_thread/thread/e90ea288e76beb00/e6cf1abad1d6d87f?lnk=gstq=fonts#e6cf1abad1d6d87f
where I was pointed to by Måns.

Do the above sources use some kind of server side mechanism to by-pass
the @font-face cross domain issue in firefox?
I wouldn't know but it seems that if they do it's indeed a by-pass and
not a generally applicable rule.

see
https://developer.mozilla.org/En/HTTP_access_control
and
http://forums.shopify.com/categories/1/posts/36160
for more info on the @font-face cross domain issue in firefox

(btw: I've deleted the aforementioned examples posted at
http://fontfaceexample1.tiddlyspot.com/ in the hope of putting
together one final example here)

2. The workaround is described in this post

http://geoff.evason.name/2010/05/03/cross-domain-workaround-for-font-face-and-firefox/

This guy talks about a solution that actually embeds the TTF font file
(which, apparently, can't be read by firefox cross-domain) within the
CSS file (which, apparently, can) so it can be served up directly from
an external server and still work on Firefox.

(btw, isn’t there a native tw capabilitie to do just that, embed files
within tiddlers? Any idea where to look?)

3. Using this workaround I've reset the example page at

http://fontfaceexample1.tiddlyspot.com/

using both the @fontf-face method and the linked stylesheet method of
the tiddlyweb thread

Had to do that because, after all that, I couldn't (and still can't)
implement the @font-face example with my mocha theme stylesheet which
looks something like this
http://fontfaceexample1.tiddlyspot.com/#MochaStyleSheet

Ridiculously enough I can’t figure out where to put the
[[StyleSheetFonts]] entry in the stylesheet without the entire thing
going down in smoke and flames.

Please see the examples / how to’s at http://fontfaceexample1.tiddlyspot.com/
and
http://fontfaceexample2.tiddlyspot.com/

This should result to cross browser and, hopefully, cross platform
rendering of the
Trajan Regular font (free / http://www.jabroo.com/index/search?q=trajan)
hosted at http://jd.heliohost.org/Novelty2/webfont/ within  tiddlywiki
documents hosted at tiddlyspot.com

And please confirm, would you? If it turns out I've scratched my head
too deep into my brain and I'm seeing local or cache or whatever fonts
all along, well, Bauwe Bijl said it:  ''grrrthe world of
fonts...''

Cheers, sklpns





-- 
You received this message because you are subscribed to the Google Groups 
TiddlyWiki group.
To post to this group, send email to tiddlywiki@googlegroups.com.
To unsubscribe from this group, send email to 
tiddlywiki+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/tiddlywiki?hl=en.



[tw] Re: Embedding custom fonts

2011-02-09 Thread sklpns
Hey Måns, thank you very much for your reply.
It worked, just needed a little styesheet tweaking.
So, to sum it up: embedding the special font Josefin Sans Std Light
example:

1. Create a stylesheet tiddler for the font as described above.
( http://fontfaceexample1.tiddlyspot.com/#StyleSheetJosefin )

2. Create a tiddler called [[StyleSheetFonts]]. In it include a link
to the font stylesheet tiddler created in step 1
( http://fontfaceexample1.tiddlyspot.com/#StyleSheetFonts )

3. Put [[StyleSheetFonts]] at the top of the [[StyleSheet]] tiddler
( http://fontfaceexample1.tiddlyspot.com/#StyleSheet )

4. Use the font in a tiddler like this:
@@font-family:'Josefin Sans Std Light';font-size:3em;Josefin Sans Std
Light@@
( http://fontfaceexample1.tiddlyspot.com/#font_test%3AJosefin )

example: http://fontfaceexample1.tiddlyspot.com/

So far so good, this has succesfully rendered the font Josefin Sans
Std Light
from the external url http://fonts.tiddlyspace.com/JosefinSansStd-Light.ttf

This works equally well with all the special fonts used at
http://fonts.tiddlyspace.com/

However, for some reason, I still can't get it to work with the font
Jd-clsr.ttf
from the external url http://jd.heliohost.org/Jd-clsr.ttf .
Could this be a font - specific issue, like the font-type (if you open
the font it says
'(HeliosSSi)(TrueType)' or the font family name (J.D.- Closer/LWTUA)
being different
than the font file name: Jd-clsr.ttf ? Yet J.D.- Closer/LWTUA.ttf is
not even a valid filename because of the special characters in it. Any
ideas? If I continue head scratching I'll start misspelling
my own name (he-he).

again, thank you very much Måns






-- 
You received this message because you are subscribed to the Google Groups 
TiddlyWiki group.
To post to this group, send email to tiddlywiki@googlegroups.com.
To unsubscribe from this group, send email to 
tiddlywiki+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/tiddlywiki?hl=en.



[tw] stylesheet depending screen resolution?

2010-11-28 Thread sklpns
Hello everyone

is there a way for a tw to load different stylesheets depending on the
users screen resolution?

thank you

-- 
You received this message because you are subscribed to the Google Groups 
TiddlyWiki group.
To post to this group, send email to tiddlyw...@googlegroups.com.
To unsubscribe from this group, send email to 
tiddlywiki+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/tiddlywiki?hl=en.



[tw] is tiddlyspot down?

2009-11-21 Thread sklpns
Please help!
I get an Error! 404 Not Found message when trying to access my sites
hosted over at tiddlyspot.com

Is tiddlyspot down at the moment?

--

You received this message because you are subscribed to the Google Groups 
TiddlyWiki group.
To post to this group, send email to tiddlyw...@googlegroups.com.
To unsubscribe from this group, send email to 
tiddlywiki+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/tiddlywiki?hl=.




[tw] Re: is tiddlyspot down?

2009-11-21 Thread sklpns


On 21 Νοέ, 20:34, Tobias Beer tobib...@web.de wrote:
 Thanks Måns,

 Always one step ahead. Do you actually have tiddlycerials for
 breakfast?  ;-)

 Tobias.

Indeed! Thanks for the good news friends.

sklpns

--

You received this message because you are subscribed to the Google Groups 
TiddlyWiki group.
To post to this group, send email to tiddlyw...@googlegroups.com.
To unsubscribe from this group, send email to 
tiddlywiki+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/tiddlywiki?hl=.




[tw] Open tiddler content in MainMenu Bar?

2009-04-30 Thread sklpns
language for that matter) this group's been a treasure vault for the
tw world.

Thanks

sklpns


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
TiddlyWiki group.
To post to this group, send email to TiddlyWiki@googlegroups.com
To unsubscribe from this group, send email to 
tiddlywiki+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/TiddlyWiki?hl=en
-~--~~~~--~~--~--~---