Thank you Morris for pointing out that it could relate to something else than macros... I didn't consider it for one moment....
I use BidiX's iTW, which uploads single tiddlers - and I've been writing all my changes online. Because you pointed in this direction I downloaded my TW and saved my changes locally. I've put it back online - AND IT WORKS!! :-) As long as I don't revise the code in these tiddlers online - everything ought to work - and everything use them for is to fetch tiddlernames and data + toggling tags in these tiddlers - so it's perfect!!! Thanks again - It's many hours of work which I got back this way... :-) Måns Mårtensson On 26 Feb., 12:09, Morris Gray <[email protected]> wrote: > Is this all happening on your local disk, and you are not going > through a firewall or a proxy for any part of it? > > Morris > > On Feb 26, 8:51 pm, Måns <[email protected]> wrote: > > > I had a very "brutal" experience last night. > > Ken G and cmari - helped me to compose the code needed to make a > > sortable table which fetches information/data from tiddlers tagged > > with the title of the Tiddler containing the code. > > It worked like a charm!! - And I replaced all tables in question with > > this new table. > > > After reloading it - all backslashes(\) had been erased and none of it > > worked (of course). > > It worked very well before - and I'm very unhappy that this happens as > > it's the first REAL "time-saver" code I've accomplished to costumize > > for my TW. > > > Here's the code (which works fine - untill I reload the document!!): > > > <<forEachTiddler > > where > > 'tiddler.tags.contains (context.inTiddler.title)' > > write > > '(index < 200)? "|"+(index+1)+"|[["+tiddler.title+"]]|[["+tiddler.data > > ("Gang")+"]]|[["+tiddler.data("Værelse") +"]]|<<toggleTag > > hereFortheWeekend [["+tiddler.title+"]] nolabel \>\>|<<toggleTag > > SickLeave [["+tiddler.title+"]] nolabel \>\>|\n" : ""' > > begin '"|sortable|k\n|!#|Name|House|Room| > > [[hereFortheWeekend]]|[[SickLeave]]|h\n"' > > end 'count+" Students\n"' > > none '"No students\n"' > > > After I reload - I get this: > > > <<forEachTiddler > > where > > 'tiddler.tags.contains (context.inTiddler.title)' > > write > > '(index < 200)? "|"+(index+1)+"|[["+tiddler.title+"]]|[["+tiddler.data > > ("Gang")+"]]|[["+tiddler.data("Værelse") +"]]|<<toggleTag > > hereFortheWeekend [["+tiddler.title+"]] nolabel >>|<<toggleTag > > SickLeave [["+tiddler.title+"]] nolabel >>|n" : ""' > > begin '"|sortable|kn|!#|Name|House|Room|[[hereFortheWeekend]]| > > [[SickLeave]]|hn"' > > end 'count+" Studentsn"' > > none '"No studentsn"' > > > Every single backslash has been removed!! > > Can anyone tell me what to do about it?? > > I think there must be a workaround - because the code works very well > > - untill it has been reloaded... > > > YS Måns Mårtensson --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "TiddlyWiki" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/TiddlyWiki?hl=en -~----------~----~----~----~------~----~------~--~---

