Re: [tw] [TW5] Bottom-tabs notes like MagicTabs

2015-08-09 Thread 'Andreas Hahn' via TiddlyWiki

Am 08.08.2015 um 22:20 schrieb magev958:
I love http://magictabs.tiddlyspot.com but it is much more than I need 
so I have tried to copy only the add  show note-function at the 
bottom of every toddler, but it is very much to complex for me to wrap 
my head around and I would appreciate some help


/Magnus



Hi Magnus,

yes, it is indeed a very complex plugin, and it might not be trivial to 
get the note functionality out (I tried, but couldn't find an easy way). 
So my reccomendation would be
to just disable all the other tabs that you don't want to have in the 
MagicTabs dashboard. That way you will only see the tabs that you want 
and need. (For example your note tab)


/Andreas

--
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/55C74086.3050607%40googlemail.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: Add backlinks to every tiddler

2015-08-09 Thread Peter Merel
Hi Mario,

I like this but I'm thinking of something a bit simpler. Right now when I 
turn on the title as a link it's pretty worthless - the only effect of 
clicking is to nudge the focus in the story stream. What I want is for 
clicking the title link to open the References tab. I see the title as the 
obvious place to click to get backlinks - that's how it used to work on c2 
anyway.

So ... is there an easy way to tweak your code here to do this? Really it 
seems like it ought to be easy to adorn the link in the title ViewTemplate 
with some kind of transclusion magic but I'm not certain that's sensible ...

Thanks for your help!

Pete.

On Monday, 27 October 2014 02:45:23 UTC+11, PMario wrote:

 Hi Omit,

 If you open the tiddler (i)nfo slider and select the References tab you 
 get what you want.

 The code can be found here: 
 http://tiddlywiki.com/#%24%3A%2Fcore%2Fui%2FTiddlerInfo%2FReferences
 The template is here: $:/core/ui/ListItemTemplate

 If you want to create your own *global macro *crate a tiddler eg: 
 myReferences 
 and tagg it: $:/tags/Macro
 add this code: 

 \define myReferences()
 $list filter=[all[current]backlinks[]sort[title]] emptyMessage=lingo 
 TiddlerInfo/References/Empty $link to={{!!title}}$view 
 field=title/, /$link/$list
 \end

 The macro can be called with: myReferences

 - 

 If you want to have a footer in every tiddler create a tiddler eg: myFooter 
 and tag it: $:/tags/ViewTemplate
 add this code:

 hr
 $list filter=[all[current]backlinks[]sort[title]] emptyMessage=lingo 
 TiddlerInfo/References/Empty $link to={{!!title}}$view 
 field=title/, /$link/$list

 For me this significantly slows down the test TW. Full download from 
 tiddlywiki.com. .. But I'm not sure yet. 

 have fun!
 mario


-- 
You received this message because you are subscribed to the Google Groups 
TiddlyWiki group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at http://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/b8861c21-9271-43b8-ad8f-aa989ebb965c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: [TW5] Heard it on the hangout: How to list referencing tiddlers

2015-08-09 Thread Peter Merel
I like this but would prefer a way to just get the Title link to open the 
info/References pane. That would look a lot better ... ?

Cheers,
Pete. 

On Friday, 20 December 2013 22:35:58 UTC+11, Chris wrote:

 All,

 I was delighted by a question/answer exchange between Jim Weaver and 
 Jeremy on Hangout #25: http://www.youtube.com/watch?v=tGV5F2Gj_mE

 Jim's questions concerned the desire to list tiddlers which link to the 
 current tiddler. Of course one can always get that information from the 
 References tab of the info section of a tiddler display, but Jim wanted 
 the list of referencing tiddlers listed explicitly for his specific use of 
 TiddlyWiki. 

 The answer from Jeremy was simple but also quite instructive:

 1. Create a tiddler containing the following list macro text:

 $list filter=[is[current]backlinks[]sort[title]] emptyMessage=No 
 tiddlers link to this one template=$:/core/ui/ListItemTemplate/$list

 2. Tag the tiddler with the tag: $:/tags/ViewTemplate

 3. Give the tiddler a name, any name, maybe something like References or 
 BackLinks.

 By tagging with $:/tags/ViewTemplate this tiddler gets transcluded onto 
 the end of every tiddler which you view. 

 The text of the tiddler is a straight copy-paste of the macro call used in 
 the standard References tab, which lists all backlinks from the current 
 tiddler.

 As pointed out on the hangout, you can always add some nice formatting 
 around the $list... macro to create something even nicer.

 Cheers ~ Chris.


-- 
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/345542c4-f440-4894-8dac-982e1e7f1759%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: Add backlinks to every tiddler

2015-08-09 Thread Felix Küppers
Hi Pete,

If you use TiddlyMap it can display you the backlinks in the graph (live 
view).

Moreover, clicking on the TiddlyMap toolbar button, it also at the moment 
shows you all kind of backconnections (e.g. tagged by, listed in,...) but I 
did not include backlinks. For the next version of tiddlymap (not sure when 
it is released), the toolbar button will also show links and backlinks (see 
screenshot).

Right now when I turn on the title as a link it's pretty worthless


Well I also use this feature a lot to drag n drop titles into other 
tiddlers when not being in the sidebar's open tab..

-Felix

https://lh3.googleusercontent.com/-ADv9jZcKqw8/VccSt1h8UGI/AGU/Rob1qs9SdS0/s1600/2015-08-09%2B10%253A42%253A37.png

-- 
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/a246ac78-b52d-48cd-81c8-14518ef65749%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [tw] Re: Add backlinks to every tiddler

2015-08-09 Thread Peter Merel
Hi Felix,

I've been meaning to compliment you on TiddlyMap - it is pure awesomeness! I'm 
using the live view on the site I'm building at xscale.wiki and expect to do a 
lot of process diagramming with it in tiddlers. Given that most of the XSCALE 
process involves composites of feedback loops, I can't think of a better tool 
for such a purpose.

Now while I like the idea that TM can display the backlinks, that would require 
the user to shift their gaze from the story stream to the map. And since I'm 
using the map for process context, I think the reader would be confused that 
way.

I should have said that the existing title-as-link is just worthless to me - I 
have no doubt whatsoever that every feature in TW has utility, but I'm just 
trying to bend the thing to my will. And I don't have much literacy in JS or 
TW5 so in general I'm only an egg.

While I have your attention, however, I have a couple of TM questions ... 

* I wonder whether it's possible for a tiddler that has an embedded map to 
display it in the sidebar rather than inline? In other words, for focusing on a 
tiddler to cause the sidebar to change to its embedded view? 
* Could we have a setting for the half-screen mode that hides the editing 
tools? I'm asking because the way I'm setting up at the moment only people who 
use github will be able to save, where the majority of users will only be 
navigating around on the public site - ?

Cheers!
Pete.
 
On 9 Aug 2015, at 6:47 pm, Felix Küppers felixkuepp...@hotmail.de wrote:

 Hi Pete,
 
 If you use TiddlyMap it can display you the backlinks in the graph (live 
 view).
 
 Moreover, clicking on the TiddlyMap toolbar button, it also at the moment 
 shows you all kind of backconnections (e.g. tagged by, listed in,...) but I 
 did not include backlinks. For the next version of tiddlymap (not sure when 
 it is released), the toolbar button will also show links and backlinks (see 
 screenshot).
 
 Right now when I turn on the title as a link it's pretty worthless
 
 Well I also use this feature a lot to drag n drop titles into other tiddlers 
 when not being in the sidebar's open tab..
 
 -Felix
 
 
 
 -- 
 You received this message because you are subscribed to a topic in the Google 
 Groups TiddlyWiki group.
 To unsubscribe from this topic, visit 
 https://groups.google.com/d/topic/tiddlywiki/JTHkT9TvhUY/unsubscribe.
 To unsubscribe from this group and all its topics, 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/a246ac78-b52d-48cd-81c8-14518ef65749%40googlegroups.com.
 For more options, visit https://groups.google.com/d/optout.

-- 
You received this message because you are subscribed to the Google Groups 
TiddlyWiki group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at http://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/AC570F27-898B-453E-A49C-87443C3B3CEB%40gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [tw] Re: Add backlinks to every tiddler

2015-08-09 Thread Felix Küppers
Hi Pete,

I've been meaning to compliment you on TiddlyMap - it is pure awesomeness!

 
Much thanks for telling me, it's really nice to hear that! :)

I'm using the live view on the site I'm building at xscale.wiki and expect 
 to do a lot of process diagramming with it in tiddlers. Given that most of 
 the XSCALE process involves composites of feedback loops, I can't think of 
 a better tool for such a purpose.

  
Thanks for sharing your use case. It is always valuable for me to get some 
feedback on how TiddlyMap is used. Personally, I am acquainted with Scrum 
and Kanban (1st generation) but never came into touch with other agile 
strategies. In case of drawing process diagramss, the next release of 
TiddlyMap will feature the design of nodes, and add a GUI for styling edges 
and nodes. But this release is not done yet as I have to carefully plan the 
architecture, especially considering the usability.

Now while I like the idea that TM can display the backlinks, that would 
 require the user to shift their gaze from the story stream to the map.

 
Well, actually no :) The dropdown button, (see attached screenshot in the 
last post) is in the tiddler's toolbar in the story river (stream) and is 
independent of the maps. So the user does not have to leave the 
stream/river.

I should have said that the existing title-as-link is just worthless to me 
 - I have no doubt whatsoever that every feature in TW has utility, but I'm 
 just trying to bend the thing to my will.

 
Yes, I understand

While I have your attention, however, I have a couple of TM questions ... 

 * I wonder whether it's possible for a tiddler that has an embedded map to 
 display it in the sidebar rather than inline? In other words, for focusing 
 on a tiddler to cause the sidebar to change to its embedded view? 

 
Hmm, so you are talking about a higher form of live view here right? Not 
sure if I understand this correctly but you want

   1. a tab in the sidebar (or maybe the map tab) that,
   2. when a tiddler is 
   - opened
  - or scrolled into view,
   3. displays a certain view (map) that was manually created in advance?

Well, I could add a tiddler field 
tmap.open-view
that can be set to a view title so when the tiddler is opened or navigated 
to, the map is opened...


...but you can also achieve this very easily with existing means, here you 
go:

   1. Create a new tiddler and tag it with $:/tags/SideBar so it appears 
   in the sidebar.
   2. Create a list that iterates over all views
   3. Put every map you want to link to inside a list widget and use a list 
   filter that checks for the focussed tiddler (HotZone Plugin) and the last 
   tiddler in the history (field in $:/HistoryList); use the 
   $:/temp/tmap/currentTiddler for that
   4. if a view exists with the name of your tiddler that is currently 
   displayed, display that view, otherwise, display a text.

I think I should add this code to a Useful TiddlyMap code snippets 
section in the docs...


Well, here is the code (see also screenshot):


https://lh3.googleusercontent.com/-Pj8riGN0ymU/VcdNhARdiOI/AGo/77EJSi1CktQ/s1600/2015-08-09%2B14%253A52%253A50.png

\define showNoMatchMessage()
  Sorry, no Diagram (Map/View) for this tiddler...
\end

\define getMatchingView()
  $(allViewsFilter)$ +[field:title{$:/temp/tmap/currentTiddler}]
\end

!-- build a filter that selects a view that matches the currently focussed 
tiddler --
$vars allViewsFilter=tmap option selector.allViewsByLabel

!-- if a match exists, display the view, otherwise show the empty message 
--
$list filter=getMatchingView emptyMessage=showNoMatchMessage 
variable=match

!-- the actual map --
$tiddlymap view=match/$tiddlymap

/$list

/$vars



https://lh3.googleusercontent.com/-_oqjYlUScHo/VcdQmkp4UbI/AG0/22xobZ9-DwE/s1600/2015-08-09%2B14%253A54%253A59.png



Hope this is what you wanted...


* Could we have a setting for the half-screen mode that hides the editing 
tools? I'm asking because the way I'm setting up at the moment only people 
who use github will be able to save, where the majority of users will only 
be navigating around on the public site - ?

You could use css to hide the editing tools by using display: none e.g on 
.tmap-menu-bar and vis-manipulation.

But I should add an option to have tiddlymap displayed in no edit mode 
where a user can still select views. I will put that on my list.
 

Hope I could help you
-Felix

-- 
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/73b47221--4309-8192-b7aa8a5fde60%40googlegroups.com.
For more options, visit 

[tw] Re: [TW5] How to use images with node.js ?

2015-08-09 Thread Peter Merel
I just hit this issue this evening and I have a better solution I'll be 
implementing for myself in the morning.

Basically, I run the node server on my local box to be able to edit my 
tiddlers just as you'd expect. But I back the entire shebang with git and 
serve it up publicly via github pages. I have to save the wiki by hand and 
copy into an index.html in my github pages repo, but I'll eventually 
automate that and right now it's not very onerous.

And ... then I can just commit my images folder as a peer of my index.html 
tiddlywiki and let github pages serve the images. So long as I use absolute 
paths in my cannonical_uris to point back to my github pages domain they'll 
turn up even on my local node server so long as I remember to push them to 
github before I try to use them ...

Er, perhaps needless to say, a lot of people who'd want to use the node 
server wouldn't be going to this much trouble. Verily some automation 
around the github tiddly workflow will come in very handy!

-- 
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/44f466a4-6c49-4cd9-a87b-37d3db78c59c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [tw] Re: Solving javascript issue Uncaught TypeError: $tw.addUnloadTask is not a function

2015-08-09 Thread Jeremy Ruston
Hi Jean-Charles

My node.js tiddlywiki broke today, with the javascript error message Uncaught
 TypeError: $tw.addUnloadTask is not a function.


The stack trace is saying that the module syncer.js couldn't find the
function $tw.addUnloadTask() that was added to the boot kernel in 5.1.9.
The error suggests that maybe you've somehow ended up with an earlier,
different version of one or other the following core JavaScript module
tiddlers:

$:/boot/boot.js
$:/core
$:/core/modules/syncer.js

Perhaps check through your wiki folder and see if there are any unexpected
.js files there?

Best wishes

Jeremy


 I have a somewhat unusual setup, with two services running on two
 different desktops that use a dropbox-syncrhonized filesystem. My setup is
 kind of specific, so I suppose some corruption, but what steps can I take
 to understand what is wrong (I guess a tiddler is broken ?). Can tiddlywiki
 do some consistency check and/or cleanup ? Do I have to do it by hand ? The
 --verbose flag didn't provide any help regarding this persistent error.






 Any Suggestion ?

 $ tiddlywiki mywiki --verbose --server 2700 $:/core/save/all text/plain
 text/html   0.0.0.0
 Boot log:
   Startup task: load-modules
   Startup task: info after: load-modules before: startup
   Startup task: startup after: load-modules
   Startup task: story after: startup
   Startup task: commands platforms: node after: story
 Executing command: server 2700 $:/core/save/all text/plain text/html
 0.0.0.0
 Serving on 0.0.0.0:2700
 (press ctrl-C to exit)
 syncer-server: Dispatching 'save' task: $:/StoryList
 FileSystem: Saved file
 e:\Dropbox\tiddlywiki\mywiki\tiddlers\$__StoryList.tid

 --
 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/993666b3-9c2b-40a3-b809-fcb40ee525fc%40googlegroups.com
 https://groups.google.com/d/msgid/tiddlywiki/993666b3-9c2b-40a3-b809-fcb40ee525fc%40googlegroups.com?utm_medium=emailutm_source=footer
 .

 For more options, visit https://groups.google.com/d/optout.




-- 
Jeremy Ruston
mailto:jeremy.rus...@gmail.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 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/CAPKKYJbwHtMsg3H9yCN4rMbe7SDp_4NtA-PaKaktvf9tEvZRiw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: [TW5] How to integrate a 3rd party JS library?

2015-08-09 Thread PMario
On Sunday, August 9, 2015 at 6:25:26 PM UTC+2, sb56637 wrote:

 I would like to use TW5 as a todo/reminder system. But the problem is that 
 I need some specific functionality like a popup calendar and a way to make 
 it calculate recurring due dates. I'm not much of a coder, I can just hack 
 and copy/paste pre-existing code. I can find JS libs that provide the 
 functionality I need (
 http://www.mattkruse.com/javascript/calendarpopup/simple.html and


Is there some documentation to this library, except the source?
 

 https://github.com/mattgrayson/recurring-date) but I'm not really sure if 
 it's feasible to integrate this stuff into TW5 as a plugin?


This library uses jquery, which imo isn't a good fit for TW, since TW uses 
a completely different approach. 

-m

-- 
You received this message because you are subscribed to the Google Groups 
TiddlyWiki group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at http://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/22f8ac07-d073-422a-b463-462964bbce86%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: [TW5] Heard it on the hangout: How to list referencing tiddlers

2015-08-09 Thread PMario
On Sunday, August 9, 2015 at 9:52:35 AM UTC+2, Peter Merel wrote:

 I like this but would prefer a way to just get the Title link to open the 
 info/References pane. That would look a lot better ... ?


related to: https://groups.google.com/forum/#!topic/tiddlywiki/JTHkT9TvhUY
just as a reminder for me :)

-- 
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/26e672d8-3409-4cac-9391-af0ef3d50b93%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: Add backlinks to every tiddler

2015-08-09 Thread PMario
On Sunday, August 9, 2015 at 9:47:11 AM UTC+2, Peter Merel wrote:

 I like this but I'm thinking of something a bit simpler. Right now when I 
 turn on the title as a link it's pretty worthless - the only effect of 
 clicking is to nudge the focus in the story stream.


pretty worthless ... ouch, that hurts. We all want to create great stuff. 
I personally prefer a more diplomatic: I like the feature, but there's 
room for improvements ... to fit my usecase, or something similar ;)
 

 What I want is for clicking the title link to open the References tab. I 
 see the title as the obvious place to click to get backlinks - that's how 
 it used to work on c2 anyway.


I did have a look at the changes added to 
https://github.com/Jermolene/TiddlyWiki5/commit/0d5033e2a00e34a7665c2cff58c0d15da224dd2bthe
 
ViewTemplate. 

I think, there are 3 possibilities to get close to your desired behaviour. 

1) a simple and fast work around ... imo close, but not exactly what you 
want. 
 - open the TW control panel: http://tiddlywiki.com/#%24%3A%2FControlPanel
 - select: Appearence: Toolbars: ViewToolbar
 - check: info *– Show information for this tiddler*to make the info 
panel button visible for every tiddler
 - tell your users, that the can get the backlinks if they select the 
info-button and the Reference tab. 

 

 So ... is there an easy way to tweak your code here to do this? Really it 
 seems like it ought to be easy to adorn the link in the title ViewTemplate 
 with some kind of transclusion magic but I'm not certain that's sensible ...


2) I think there is a way, to create an additional button, that can create 
the exact behaviour. ... but

The problem here is, that TW stores the info panel open/closed state and 
the info tab selection in temporary tiddlers. 
Those tiddler names use a random number, to make them unique :/
So to create a button, that opens the info panel and preselects the 
Reference tab, is a bit more complicated, since we need to remove the 
randomness. But we still need unique names, otherwise all open tiddlers 
will open/close the info panel  

So I don't have a fast solution, for the exact behaviour. I'd create a new 
toolbar button, because it is independent from the ViewTemplates. ... but
I think modifying the Templates is still needed, to tackle the above 
mentioned problems. ...

3) Create a new toolbar button, that can open a dropdown that lists the 
references / backlinks
The dropdown could use the macros from the prior posts. 


IMO no 3 should be relatively simple to implement and shouldn't interfere 
with the templates. 

No 2 is the version I personally prefer, since I try to remove all 
dropdowns and modals from my own themes.

As I wrote, no fast solution and I have to think about no 3 a bit more, so 
others my jump in too :)

have fun!
mario






-- 
You received this message because you are subscribed to the Google Groups 
TiddlyWiki group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at http://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/8cc9ff05-04bd-4611-afed-7debc1181b57%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [tw] Re: Solving javascript issue Uncaught TypeError: $tw.addUnloadTask is not a function

2015-08-09 Thread Jean-Charles
Hi Jeremy,

I made a first attemps to isolate the error and it was indeed in a core.js 
tiddler, but as the code raising the error was also in this file, I wasn't 
sure if I was just hiding the error or if it was the main cause of the 
problem. So I solved the issue by re-creating a new tiddler/ folder and 
copying all non-system tiddlers there, and added configuration and 
customization tiddlers.

So, to sum up : source cause was a core.js tiddler related to a previous 
version. Not sure why this tiddler appeared, but I made a lot of test at 
some point of time and maybe did save this file.

Issue solved, thanks for your help.

--
Jean-Charles

Le dimanche 9 août 2015 16:01:56 UTC+2, Jeremy Ruston a écrit :

 Hi Jean-Charles

 My node.js tiddlywiki broke today, with the javascript error message 
 Uncaught 
 TypeError: $tw.addUnloadTask is not a function.


 The stack trace is saying that the module syncer.js couldn't find the 
 function $tw.addUnloadTask() that was added to the boot kernel in 5.1.9. 
 The error suggests that maybe you've somehow ended up with an earlier, 
 different version of one or other the following core JavaScript module 
 tiddlers:

 $:/boot/boot.js
 $:/core
 $:/core/modules/syncer.js

 Perhaps check through your wiki folder and see if there are any unexpected 
 .js files there?

 Best wishes

 Jeremy
  

 I have a somewhat unusual setup, with two services running on two 
 different desktops that use a dropbox-syncrhonized filesystem. My setup is 
 kind of specific, so I suppose some corruption, but what steps can I take 
 to understand what is wrong (I guess a tiddler is broken ?). Can tiddlywiki 
 do some consistency check and/or cleanup ? Do I have to do it by hand ? The 
 --verbose flag didn't provide any help regarding this persistent error.



  


 Any Suggestion ?

 $ tiddlywiki mywiki --verbose --server 2700 $:/core/save/all 
 text/plain text/html   0.0.0.0
 Boot log:
   Startup task: load-modules
   Startup task: info after: load-modules before: startup
   Startup task: startup after: load-modules
   Startup task: story after: startup
   Startup task: commands platforms: node after: story
 Executing command: server 2700 $:/core/save/all text/plain text/html   
 0.0.0.0
 Serving on 0.0.0.0:2700
 (press ctrl-C to exit)
 syncer-server: Dispatching 'save' task: $:/StoryList
 FileSystem: Saved file 
 e:\Dropbox\tiddlywiki\mywiki\tiddlers\$__StoryList.tid

 -- 
 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+...@googlegroups.com javascript:.
 To post to this group, send email to tiddl...@googlegroups.com 
 javascript:.
 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/993666b3-9c2b-40a3-b809-fcb40ee525fc%40googlegroups.com
  
 https://groups.google.com/d/msgid/tiddlywiki/993666b3-9c2b-40a3-b809-fcb40ee525fc%40googlegroups.com?utm_medium=emailutm_source=footer
 .

 For more options, visit https://groups.google.com/d/optout.




 -- 
 Jeremy Ruston
 mailto:jeremy...@gmail.com javascript:


-- 
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/7cc4d531-c2ee-4c45-b6cb-91df0d68a97a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] [TW5] How to integrate a 3rd party JS library?

2015-08-09 Thread sb56637
Hi folks,

I would like to use TW5 as a todo/reminder system. But the problem is that 
I need some specific functionality like a popup calendar and a way to make 
it calculate recurring due dates. I'm not much of a coder, I can just hack 
and copy/paste pre-existing code. I can find JS libs that provide the 
functionality I need 
(http://www.mattkruse.com/javascript/calendarpopup/simple.html and 
https://github.com/mattgrayson/recurring-date) but I'm not really sure if 
it's feasible to integrate this stuff into TW5 as a plugin?

Thanks for the help!

-- 
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/9da058b7-3d7f-4791-962c-fa915ea18088%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [tw] Re: Add backlinks to every tiddler

2015-08-09 Thread Peter Merel
Hi Felix,

Thanks for the prompt response! Replies inline.

 
 Thanks for sharing your use case. It is always valuable for me to get some 
 feedback on how TiddlyMap is used. Personally, I am acquainted with Scrum and 
 Kanban (1st generation) but never came into touch with other agile 
 strategies. In case of drawing process diagramss, the next release of 
 TiddlyMap will feature the design of nodes, and add a GUI for styling edges 
 and nodes. But this release is not done yet as I have to carefully plan the 
 architecture, especially considering the usability.

No worries at all. I don't think TM should be confused with powerpoint. To give 
an example of what I don't imagine TM doing, here's my curliest big-picture 
diagram. I expect this kind of thing to remain in the realm of externalimages. 
When time permits I'm thinking it should become an imagemap that links to the 
appropriate tiddlers. Each of them would have a TM that illustrates its 
process. I haven't yet figured out the intricacies of imagemaps but I know gimp 
can generate 'em.






 
 Now while I like the idea that TM can display the backlinks, that would 
 require the user to shift their gaze from the story stream to the map.
  
 Well, actually no :) The dropdown button, (see attached screenshot in the 
 last post) is in the tiddler's toolbar in the story river (stream) and is 
 independent of the maps. So the user does not have to leave the stream/river.

Ah, my fault for not looking at it properly. I think there I'm worried about 
violating the principle-of-least-surprise - I think overloading the TM button 
will make users confused about its purpose. Also for me in xscale.wiki, because 
it's for a broad audience who mostly won't have skill/interest to set up the 
node server and grok github as a collaborative editing method, I don't think 
I'd expose the per-tiddler TM button anyway. Exposing the info pane set to 
References would also enable them to get at the other info-pane functionality 
which is presently a bit inobvious. Speaking purely for my own use-case.

 Hmm, so you are talking about a higher form of live view here right? Not 
 sure if I understand this correctly but you want
 a tab in the sidebar (or maybe the map tab) that,
 when a tiddler is 
 opened
 or scrolled into view,
 displays a certain view (map) that was manually created in advance?
 Well, I could add a tiddler field
 
 tmap.open-view
 that can be set to a view title so when the tiddler is opened or navigated 
 to, the map is opened...

Yes, that's it exactly. That way the live-view becomes the default place for 
people to see concepts illustrated, rather than trying to figure out why 
they're being asked to see the live view on the right and the embedded view on 
the left. The perception of complexity tends to turn people off. See my big 
picture above for an example of that!
 ...but you can also achieve this very easily with existing means, here you go:
 
 Create a new tiddler and tag it with $:/tags/SideBar so it appears in the 
 sidebar.
 Create a list that iterates over all views
 Put every map you want to link to inside a list widget and use a list filter 
 that checks for the focussed tiddler (HotZone Plugin) and the last tiddler in 
 the history (field in $:/HistoryList); use the $:/temp/tmap/currentTiddler 
 for that
 if a view exists with the name of your tiddler that is currently displayed, 
 display that view, otherwise, display a text.
 I think I should add this code to a Useful TiddlyMap code snippets section 
 in the docs...
 
Ah, but then I'll have to remember to edit things in multiple spots to achieve 
this. If I have no alternative I guess I will, but your tmap.open-view tiddler 
field seems a far tidier solution to me.

 
 * Could we have a setting for the half-screen mode that hides the editing 
 tools? I'm asking because the way I'm setting up at the moment only people 
 who use github will be able to save, where the majority of users will only 
 be navigating around on the public site - ?
 You could use css to hide the editing tools by using display: none e.g on 
 .tmap-menu-bar and vis-manipulation.
 But I should add an option to have tiddlymap displayed in no edit mode 
 where a user can still select views. I will put that on my list.

I could do the css ... if my css-fu and tw-fu was a bit stronger. As getting my 
head around it takes me away from editing content, which is my focus at the 
moment, I'll probably limp along and wait for you. In general while I'm 
technically minded and will eventually come up to speed, I guess the more one 
relies on users doing CSS tricks the less users one has. 

But then in general I see the future of TW and TM as a world where editors run 
local node servers and share their work via github, exposing the result via 
github pages. To me this is such an appealing way to federate wikis and edits 
on wikis I wouldn't go near tiddlyspace/gollum. But then again I'm probably 
just being kinky ...

Cheers!

Re: [tw] [TW5] Bottom-tabs notes like MagicTabs

2015-08-09 Thread magev958
Yeah, I was afraid of that answer. I'll give it a try to adapt it as much 
as possible . Thank you for your effort

-- 
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/0b291dfe-5308-4ea0-a464-aaa4f6ef6f13%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: [TW5] How to integrate a 3rd party JS library?

2015-08-09 Thread sb56637
 Is there some documentation to this library, except the source?

Hmm not as far as I know. I guess there's a lot of alternatives for this 
one (popup JS calendars), but in general is it feasible to import external 
JS libraries and integrate them into TW?

 This library uses jquery, which imo isn't a good fit for TW, since TW 
uses a completely different approach.

Ah, I didn't notice that. I'll keep looking to see if I can find another 
one.

-- 
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/23d5a691-019b-4346-9b55-6fa79f99e0d6%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [tw] Re: Add backlinks to every tiddler

2015-08-09 Thread Peter Merel
Hi Mario,

On 10 Aug 2015, at 3:58 am, PMario pmari...@gmail.com wrote:
 On Sunday, August 9, 2015 at 9:47:11 AM UTC+2, Peter Merel wrote:
 I like this but I'm thinking of something a bit simpler. Right now when I 
 turn on the title as a link it's pretty worthless - the only effect of 
 clicking is to nudge the focus in the story stream.
 
 pretty worthless ... ouch, that hurts. We all want to create great stuff. I 
 personally prefer a more diplomatic: I like the feature, but there's room 
 for improvements ... to fit my usecase, or something similar ;)

I absolutely agree with you, many regrets for my clumsy wording. As Felix 
noted, this feature has great utility for his use. I'm really just seeking to 
extend it.

  
 What I want is for clicking the title link to open the References tab. I see 
 the title as the obvious place to click to get backlinks - that's how it used 
 to work on c2 anyway.
 
  - check: info – Show information for this tiddlerto make the info panel 
 button visible for every tiddler
  - tell your users, that the can get the backlinks if they select the 
 info-button and the Reference tab. 

I was aware of that one. It's part of the way there. I hate to seem 
persnickety, but I think with the extra click and having to figure out that 
References means backlinks ... it's not quite there.

 IMO no 3 should be relatively simple to implement and shouldn't interfere 
 with the templates. 
 
 No 2 is the version I personally prefer, since I try to remove all dropdowns 
 and modals from my own themes.

Bonus points if it can be activated by clicking the tiddler title rather than 
having to have another button ...

 have fun!
 mario

You too!
Pete.

-- 
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/1B2CD9A3-E22B-428F-9D4F-FD195FDD3219%40gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [tw] Re: Add backlinks to every tiddler

2015-08-09 Thread PMario
On Sunday, August 9, 2015 at 11:07:43 PM UTC+2, Peter Merel wrote:

 I was aware of that one. It's part of the way there. I hate to seem 
 persnickety, but I think with the extra click and having to figure out that 
 References means backlinks ... it's not quite there.


Changing this text is simple. Just edit this system tiddler: 
http://tiddlywiki.com/#%24%3A%2Flanguage%2FTiddlerInfo%2FReferences%2FCaption 
to Backlinks. 

-m

-- 
You received this message because you are subscribed to the Google Groups 
TiddlyWiki group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at http://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/5e13b1cc-0330-4e9e-99c3-b07e998fbbb6%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [tw] How do you use $:/core/templates/canonical-uri-external-image ?

2015-08-09 Thread Jeremy Ruston
Hi Mark

I was imagining that as you move a TW between node.js, or between various
 platforms, you can have a template that you would apply to all your image
 links. By changing the template, you could change where the images point
 to. This is useful because the pathing is different between different
 platforms.

 I can accomplish all this by making all image links by a global macro, but
 this isn't standard. I thought if all links could be formatted with a
 pathing template then that would provide a long-term, standard solution.


That's pretty close to what this template is for, at or least a part of it:
it is used under Node.js to specify the path for external tiddlers to
reference their content.

The external tiddler mechanism pretty much addresses your goals, at the
cost of making each of the images your working with into a tiddler.

If you need something slightly different that I would recommend using
custom global macros to encapsulate your image references.

Best wishes

Jeremy




 Thanks!
 Mark


 On Saturday, August 8, 2015 at 5:35:00 AM UTC-7, Jeremy Ruston wrote:

 Hi Mark

 That template is specifically used during the saving of external images
 under Node.js. It isn't intended to be used for anything else.

 What are you trying to achieve?

 Best wishes

 Jeremy.


 On Sat, Aug 1, 2015 at 1:18 AM, 'Mark S.' via TiddlyWiki 
 tiddl...@googlegroups.com wrote:

 I've tried using $:/core/templates/canonical-uri-external-image as a
 template on image tiddlers, the idea being to assign a new base url. But
 when you apply the template to an image transclusion, you don't get back an
 image. Does this template do anything, and if so, how?

 Thanks!
 Mark

 --
 You received this message because you are subscribed to the Google
 Groups TiddlyWiki group.
 To unsubscribe from this group and stop receiving emails from it, send
 an email to tiddlywiki+...@googlegroups.com.
 To post to this group, send email to tiddl...@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/d951eb8f-82dc-4066-bf2a-d75fd21d032a%40googlegroups.com
 https://groups.google.com/d/msgid/tiddlywiki/d951eb8f-82dc-4066-bf2a-d75fd21d032a%40googlegroups.com?utm_medium=emailutm_source=footer
 .
 For more options, visit https://groups.google.com/d/optout.




 --
 Jeremy Ruston
 mailto:jeremy...@gmail.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 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/5a342bd5-44d5-45b0-b86a-97f8c818db8a%40googlegroups.com
 https://groups.google.com/d/msgid/tiddlywiki/5a342bd5-44d5-45b0-b86a-97f8c818db8a%40googlegroups.com?utm_medium=emailutm_source=footer
 .

 For more options, visit https://groups.google.com/d/optout.




-- 
Jeremy Ruston
mailto:jeremy.rus...@gmail.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 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/CAPKKYJY4PamuSnPgWvKkF_XKyEcfGx4uMgFNQLTD2jHbubFS0Q%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.