[tw] Re: A little help for Saving on a PHP Server
Thanks for the help Even if I put http://www.mysite.org/tiddly/store.php as said by Måns I've the same saving problem : Error while saving: !DOCTYPE html html head meta http-equiv=Content-Type content=text/html; charset=UTF-8 meta http-equiv=X-UA-Compatible content=IE=edge,chrome=1 meta name=ROBOTS content=NOARCHIVE link rel=icon type=image/vnd.microsoft.icon href=https://ssl.gstatic.com/codesite/ph/images/phosting.ico; script type=text/javascript var codesite_token = 3qtH8R4c2ztrgTGyRbzjfxkH5sA:1398435134605; var CS_env = {assetHostPath: https://ssl.gstatic.com/codesite/ph;, loggedInUserEmail: myadressm...@gmail.com, profileUrl: /u/111401154765417475793/, assetVersionPath: https://ssl.gstatic.com/codesite/ph/4964405422594852395;, projectHomeUrl: /p/bidix, relativeBaseUrl: , token: 3qtH8R4c2ztrgTGyRbzjfxkH5sA:1398435134605, projectName: bidix, domainName: null}; var _gaq = _gaq || []; _gaq.push( ['siteTracker._setAccount', 'UA-18071-1'], ['siteTracker._trackPageview']); (function() { var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true; ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js'; (document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(ga); })(); /script titlestore.php - bidix - Repository for BidiX#39;s projects related to TiddlyWiki - Google Project Hosting /title link type=text/css rel=stylesheet href=https://ssl.gstatic.com/codesite/ph/4964405422594852395/css/core.css; link type=text/css rel=stylesheet href=https://ssl.gstatic.com/codesite/ph/4964405422594852395/css/ph_detail.css; link type=text/css rel=stylesheet href=https://ssl.gstatic.com/codesite/ph/4964405422594852395/css/d_sb.css; !--[if IE] link type=text/css rel=stylesheet href=https://ssl.gstatic.com/codesite/ph/4964405422594852395/css/d_ie.css; ![endif]-- style type=text/css .menuIcon.off { background: no-repeat url(https://ssl.gstatic.com/codesite/ph/images/dropdown_sprite.gif) 0 -42px } .menuIcon.on { background: no-repeat url(https://ssl.gstatic.com/codesite/ph/images/dropdown_sprite.gif) 0 -28px } .menuIcon.down { background: no-repeat url(https://ssl.gstatic.com/codesite/ph/images/dropdown_sprite.gif) 0 0; } tr.inline_comment { background: #fff; vertical-align: top; } div.draft, div.published { padding: .3em; border: 1px solid #999; margin-bottom: .1em; font-family: arial, sans-serif; max-width: 60em; } div.draft { background: #ffa; } div.published { background: #e5ecf9; } div.published .body, div.draft .body { padding: .5em .1em .1em .1em; max-width: 60em; white-space: pre-wrap; white-space: -moz-pre-wrap; white-space: -pre-wrap; white-space: -o-pre-wrap; word-wrap: break-word; font-size: 1em; } div.draft .actions { margin-left: 1em; font-size: 90%; } div.draft form { padding: .5em .5em .5em 0; } div.draft textarea, div.published textarea { width: 95%; height: 10em; font-family: arial, sans-serif; margin-bottom: .5em; } .nocursor, .nocursor td, .cursor_hidden, .cursor_hidden td { background-color: white; height: 2px; } .cursor, .cursor td { background-color: darkblue; height: 2px; display: ''; } .list { border: 1px solid white; border-bottom: 0; } /style /head body class=t4 script type=text/javascript window.___gcfg = {lang: 'en'}; (function() {var po = document.createElement(script); po.type = text/javascript; po.async = true;po.src = https://apis.google.com/js/plusone.js;; var s = document.getElementsByTagName(script)[0]; s.parentNode.insertBefore(po, s); })(); /script div class=headbg div id=gaia span a href=# id=multilogin-dropdown onclick=return false; ubmyadressm...@gmail.com/b/u small#9660;/small/a | a href=/u/111401154765417475793/ id=projects-dropdown onclick=return false; uMy favorites/u small#9660;/small/a | a href=/u/111401154765417475793/ onclick=_CS_click('/gb/ph/profile'); title=Profile, Updates, and Settings uProfile/u/a | a href=https://www.google.com/accounts/Logout?continue=https%3A%2F%2Fcode.google.com%2Fp%2Fbidix%2Fsource%2Fbrowse%2Ftrunk%2FTiddlyHome%2F_th%2Flib%2Fstore.php; onclick=_CS_click('/gb/ph/signout'); uSign out/u/a /span /div div class=gbh style=left: 0pt;/div div class=gbh style=right: 0pt;/div div style=height: 1px/div !--[if lte IE 7] div style=text-align:center; Your version of Internet Explorer is not supported. Try a browser that contributes to open source, such as a href=http://www.firefox.com;Firefox/a, a href=http://www.google.com/chrome;Google Chrome/a, or a href=http://code.google.com/chrome/chromeframe/;Google Chrome Frame/a. /div ![endif]-- table style=padding:0px; margin: 0px 0px 10px 0px; width:100% cellpadding=0 cellspacing=0 itemscope itemtype=http://schema.org/CreativeWork; tr style=height: 58px; td
[tw] Re: TW5 - Make it read only permanently
Hi Måns, For hiding tabs: I thought of toggling the tag for a 'tab' tiddler. As an example the 'More' tab in the Sidebar: $:/core/ui/SideBar/More $:/core/ui/SideBar/More is tagged with $:/tags/SideBar To toggle hiding/showing the 'More' tab: 1) Tag $:/core/ui/SideBar/More with 'test' 2) Create a tiddler containing: $list filter=[!has[draft.of]tag[test]!tag[$:/tags/SideBar]sort[created]] $checkbox tag=$:/tags/SideBarnbsp;nbsp;Check for add 'More' tab/$checkbox /$list $list filter=[!has[draft.of]tag[test]tag[$:/tags/SideBar]sort[created]] $checkbox tag=$:/tags/SideBarnbsp;nbsp;Uncheck for remove 'More' tab/$checkbox /$list Now you can toggle the $:/tags/SideBar tag on/off with means hiding/showing the 'More' tab. Cheers, Ton On Saturday, April 26, 2014 12:57:32 PM UTC+2, Måns wrote: Hi Ton I love your toggle read-only solution!!. I was wondering if it is possible to create a global class which could be used to hide individual elements in read-only mode. (I'd like to hide individually selected tabs from the right menu and textpassages from individual tiddlers...) (Sth. like hide-if-read-only-class??) I'm struggling to find a way to hide skeeve's (Stephan Hradek's) new tiddler button when toggling your $:/_publish checkbox. Would you know how to do this? Here's my class inclusion list (the last one doesn't work. It should refer to Hradek's .tw-newtiddler-button class ): @@display:none; svg.tw-image-new-button, svg.tw-image-options-button, svg.tw-image-save-button, svg.tw-image-edit-button, svg.tw-image-delete-button, svg.tw-image-cancel-button, svg.tw-image-done-button, svg.tw-journal-button, svg.tw-crypt-button, svg.tw-image-close-others-button, svg.tw-crypt-publish-button, svg.tw-image-home-button, button.tw-newtiddler-button { display: none; } @@ Cheers Måns Mårtensson Den torsdag den 24. april 2014 17.56.13 UTC+2 skrev Ton Gerner: Hi PJO, I just finished upgrading my 'TW5 read-only demo' [1] and/or [2]. It is a simplified version without using the ReadOnly theme and the Sidebar is not automatically hidden. Have fun. Ton [1] http://tongerner.tiddlyspot.com/ [2] http://tw5readonly.tiddlyspot.com/ On Tuesday, April 22, 2014 6:25:07 AM UTC+2, PJO wrote: I'm also using Windows 7 64 bit. The button disappears (as does the settings/control panel button) and others move. However, there's no cursor change -- and believe me I've looked for it. Will try another computer browser. My first concern was to know if I'd missed a step. Thanks PJO On Tuesday, April 22, 2014 2:42:43 AM UTC+1, Birthe C wrote: Hi PJO The ReadOnly demo works for me using Firefox 28 and Chrome 34.0.1847.116 m. The buttons get invisible, but moving the cursor to where the buttons used to be, changes the cursor, so you know you are at the right place, to save your changes. Birthe Den mandag den 21. april 2014 21.21.37 UTC+2 skrev PJO: Same thing when I download the demo at [1]. selecting the ReadOnly theme causes the left save button to disappear. I'm using Firefox 28.0. Same result when Firefox is restarted in safe mode with all plugins disabled. Same result with Chrome 34.0.1847.116 m. With the ReadOnly theme the highlighting of the ? icon on the top menu happens when the cursor is an icon to the right of it. The guide contains some useful information on other buttons and options but a Quickstart ReadOnly step-by-step HowTo would be good -- the minimum to do this and nothing else. Many thanks, PJO -- 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] [tw5] Illegal characters error in field
Hello Jeremy and all, I upgraded my off-line Tiddlywiki to the latest version and so far so good. However I get this: Illegal characters in field name source-1. Fields can only contain lowercase letters and the characters underscore (_), hyphen (-) and period (.) when I type in the field *source-1 *[without quotes]*.* Is that supposed to happen? It worked fine in earlier versions. I tried it in both Chrome and Firefox. Best regards, Julio -- 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.
Re: [tw] [tw5] Illegal characters error in field
Hi Julio The restrictions on legal field names were introduced in 5.0.9: http://tiddlywiki.com/static/Release%25205.0.9-beta.html The issue has been discussed before here: https://groups.google.com/d/topic/tiddlywiki/wCsx-Uy2ahQ/discussion Given that this issue is tripping people up, we could relax the restrictions to include digits. The spec doesn't allow digits in HTML attribute names, but in practice it seems that most browsers are quite happy with them. Best wishes Jeremy. On Sun, Apr 27, 2014 at 2:44 PM, Julio Peña jpe...@gmail.com wrote: Hello Jeremy and all, I upgraded my off-line Tiddlywiki to the latest version and so far so good. However I get this: Illegal characters in field name source-1. Fields can only contain lowercase letters and the characters underscore (_), hyphen (-) and period (.) when I type in the field *source-1 *[without quotes]*.* Is that supposed to happen? It worked fine in earlier versions. I tried it in both Chrome and Firefox. Best regards, Julio -- 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. -- 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. For more options, visit https://groups.google.com/d/optout.
Re: [tw] Re: TWC - TW not saving \
Hi All Still no joy on this question. I have checked that I am using the latest version (1.61) of store.php e storeTiddler.php. But the issue continues. For example recently imported Erics ImageSizePlugin and also StorySaverPlugin...after copying into an on-line TW and saving with storeTiddler.phpon re-opening the TW I get the message that the ImageSize plugin failed..on checking some of the escape characters \ are missing. StorySaver not so dramatic..on re-opening the TW it seems to be working finebut when I use the saveSTory macro...I get a tiddler with a continuous list of tiddlers (on the same line) with an n between the tiddlersthe plugin should insert a \n so that each tiddler is on a separate line! Very Frustrating. To get around the problemI can download the TW from my server, insert the required plugin into the local TW, save it, then upload via FTP...in that case the code is copied true and everything works. untill a tiddler containing he escape character is again opened and then saved via storeTiddler.phpnow the plugin (or tiddler containing javascript that uses \n) fails and I go through the download to local, correct, save and FTP again. Super Frustrating! Any leads? To see thismaybe someone could open my TW (www.unigaia-brasil.org/Cursos/Temas/arramuTemas.html). on opening it should work fine.then open ImageSIzePlugin..save it, then re-openyou´ll see that ImageSize now fails (error - SyntaxError: unmatched ) in regular expression) Thanks Skye Em quarta-feira, 26 de março de 2014 16h40min36s UTC-3, Jeremy Ruston escreveu: Hi Skye Just in case you need it, there is an official repository for BidiX's code here on Google Code: https://code.google.com/p/bidix/source/browse/trunk/TiddlyHome/_th/lib/store.php Best wishes Jeremy. On Wed, Mar 26, 2014 at 7:34 PM, skye riquelme riquel...@gmail.comjavascript: wrote: Hi Danielyeah, seems the BidiX site has been down for a while, not sure what is happening! Anyway, I often use the UploadTiddlerPlugin, and less frequently UploadPlugin (both BiDiX)...and seems both have the same issue, so - store.php is here - http://www.unigaia-brasil.org/cloud/index.php/apps/files/download/TW/store.php storeTiddler.php - http://www.unigaia-brasil.org/cloud/index.php/apps/files/download/TW/storeTiddler.php you should be able to download them without login issues...I think Thanks Skye Em segunda-feira, 24 de março de 2014 21h44min52s UTC-3, Daniel Baird escreveu: Lazy of me, I know, but could you post your store.php code here? BidiX's site is down and I can't easily retrieve it from the office I'm at.. On 25 March 2014 10:10, skye riquelme riquel...@gmail.com wrote: Hi again...still no joy in resolving this problem. However I dont think its an issue with my server. I copied a working TW from my server into a local server (XAMP)...and the same thing happens. I also created a second local server (WAMPP)...and the problem continues. As mentioned , everything was working untill I upgraded the php version on my server from 5.2.3 ...its now 5.4.3. The WAMPP is php 5.4.1 and XAMPP is php 5.5.9. SO, it seems its a question of the newer versions of php handling the escape characters in a slightly different way. I tried to set up an old WAMP version (php pre 5.3) but got conflict issues between the versions..so cant definitely show that its a php version issue. Anywayanyone understand the changes made in php in the last upgrades...from about 5.3...to know what changed with regards the escape sequences..it seems that the UploadPlugin is no longer totally compatable with recent php upgrades. Just noting that the escape character gets lost when the tiddler is uploaded by UploadPlugin, or UploadTiddlerPlug.but correcting the rror in a local copy and then ftp'ing the file to the server corrects the code. a rather cumbersome work-around to the problem!!! Thanks Skye Em quinta-feira, 20 de março de 2014 22h52min33s UTC-3, skye riquelme escreveu: Hi Mark.now that you mentioned it.this started happening about the time my server people upgraded my php version...and we had a strange problem of the upgrade not Taking..maybe they played with some settings then...Ill check it out. Skye Em quinta-feira, 20 de março de 2014 20h54min44s UTC-3, Mark S. escreveu: Is it possible that your ISP cranked up the security settings in order to prevent escape sequences from being uploaded? Mark On Wednesday, March 19, 2014 4:47:33 PM UTC-8, skye riquelme wrote: Hi All Hope someone can help with a strange problem that I am encounting. I make a lot of use of flat text files to store information, loading this into a TW (via XMLHttpRequest()) ...in the processing of this data I frequently look to line breaks in the txt file, using simple
[tw] Re: TW5 - Make it read only permanently
Hi Ton Great idea :-) Thank you very much! I made it a little more generic: ''ToggleTabs (from sidebar)'' $list filter=[tag[hide]!has[draft.of]tag[hide]!tag[$:/tags/SideBar]] $checkbox tag=$:/tags/SideBarnbsp;nbsp;Show {{!!title}}/$checkboxbr/$list $list filter=[tag[hide]!has[draft.of]tag[hide]tag[$:/tags/SideBar]] $checkbox tag=$:/tags/SideBarnbsp;nbsp;Hide {{!!title}}/$checkboxbr/$list Now any tab tagged with hide will get a checkbox to toggle if it should show up in the sidebar. It would be very nice if it was boiled down to just one checkbox which would toggle the tag $:/tags/SideBar on all tab tiddlers (tagged with hide) at once.. Would that be possible somehow? Cheers Måns Mårtensson Den søndag den 27. april 2014 12.56.39 UTC+2 skrev Ton Gerner: Hi Måns, For hiding tabs: I thought of toggling the tag for a 'tab' tiddler. As an example the 'More' tab in the Sidebar: $:/core/ui/SideBar/More $:/core/ui/SideBar/More is tagged with $:/tags/SideBar To toggle hiding/showing the 'More' tab: 1) Tag $:/core/ui/SideBar/More with 'test' 2) Create a tiddler containing: $list filter=[!has[draft.of]tag[test]!tag[$:/tags/SideBar]sort[created]] $checkbox tag=$:/tags/SideBarnbsp;nbsp;Check for add 'More' tab/$checkbox /$list $list filter=[!has[draft.of]tag[test]tag[$:/tags/SideBar]sort[created]] $checkbox tag=$:/tags/SideBarnbsp;nbsp;Uncheck for remove 'More' tab/$checkbox /$list Now you can toggle the $:/tags/SideBar tag on/off with means hiding/showing the 'More' tab. Cheers, Ton On Saturday, April 26, 2014 12:57:32 PM UTC+2, Måns wrote: Hi Ton I love your toggle read-only solution!!. I was wondering if it is possible to create a global class which could be used to hide individual elements in read-only mode. (I'd like to hide individually selected tabs from the right menu and textpassages from individual tiddlers...) (Sth. like hide-if-read-only-class??) I'm struggling to find a way to hide skeeve's (Stephan Hradek's) new tiddler button when toggling your $:/_publish checkbox. Would you know how to do this? Here's my class inclusion list (the last one doesn't work. It should refer to Hradek's .tw-newtiddler-button class ): @@display:none; svg.tw-image-new-button, svg.tw-image-options-button, svg.tw-image-save-button, svg.tw-image-edit-button, svg.tw-image-delete-button, svg.tw-image-cancel-button, svg.tw-image-done-button, svg.tw-journal-button, svg.tw-crypt-button, svg.tw-image-close-others-button, svg.tw-crypt-publish-button, svg.tw-image-home-button, button.tw-newtiddler-button { display: none; } @@ Cheers Måns Mårtensson Den torsdag den 24. april 2014 17.56.13 UTC+2 skrev Ton Gerner: Hi PJO, I just finished upgrading my 'TW5 read-only demo' [1] and/or [2]. It is a simplified version without using the ReadOnly theme and the Sidebar is not automatically hidden. Have fun. Ton [1] http://tongerner.tiddlyspot.com/ [2] http://tw5readonly.tiddlyspot.com/ On Tuesday, April 22, 2014 6:25:07 AM UTC+2, PJO wrote: I'm also using Windows 7 64 bit. The button disappears (as does the settings/control panel button) and others move. However, there's no cursor change -- and believe me I've looked for it. Will try another computer browser. My first concern was to know if I'd missed a step. Thanks PJO On Tuesday, April 22, 2014 2:42:43 AM UTC+1, Birthe C wrote: Hi PJO The ReadOnly demo works for me using Firefox 28 and Chrome 34.0.1847.116 m. The buttons get invisible, but moving the cursor to where the buttons used to be, changes the cursor, so you know you are at the right place, to save your changes. Birthe Den mandag den 21. april 2014 21.21.37 UTC+2 skrev PJO: Same thing when I download the demo at [1]. selecting the ReadOnly theme causes the left save button to disappear. I'm using Firefox 28.0. Same result when Firefox is restarted in safe mode with all plugins disabled. Same result with Chrome 34.0.1847.116 m. With the ReadOnly theme the highlighting of the ? icon on the top menu happens when the cursor is an icon to the right of it. The guide contains some useful information on other buttons and options but a Quickstart ReadOnly step-by-step HowTo would be good -- the minimum to do this and nothing else. Many thanks, PJO -- 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.
Re: [tw] tw5 - Field value as image url ?
Hi Måns Are there any plans to let the icon field value accept/use external images (via URLs http or file)? eg. icon: http://somedomain.com/someimage.png At the moment, the templates use transclusion for the icon: https://github.com/Jermolene/TiddlyWiki5/blob/master/core/ui/ViewTemplate/title.tid#L14 https://github.com/Jermolene/TiddlyWiki5/blob/master/core/ui/TagTemplate.tid#L9 We could switch it to use the $image widget instead, which does understand how to embed remote image URIs. However, the $image widget can't display images that are actually wikitext tiddlers containing SVG tags (eg, $:/core/images/delete-button). So, as things stand we have a tradeoff: * Stick with transclusion, allowing us to use images and wikitext images * Switch to the image widget, losing the ability to use wikitext images There is a workaround, though: create a stub tiddler representing the remote image, with the text containing a reference to the remote image (eg `[img[http://blah.com/blah.jpg]]`. If you give it the tag $:/tags/Image then it will be recognised by the tag manager as an image and included in the image dropdowns. Best wishes Jeremy Cheers Måns Mårtensson Den torsdag den 24. april 2014 11.30.03 UTC+2 skrev Jeremy Ruston: Hi Måns I'm trying to do sth like this: [img[{{!!title}}|{{!!image}}]] where image is a custom field value... However it doesn't work... (I'm using TW5 5.0.10-beta) To do this you need to use the raw $image widget: $image source={{!!image}} tooltip={{!!title}}/ See http://tiddlywiki.com/static/ImageWidget.html Best wishes Jeremy On Thu, Apr 24, 2014 at 10:17 AM, Måns huma...@gmail.com wrote: Hi TwWizards I'm trying to do sth like this: [img[{{!!title}}|{{!!image}}]] where image is a custom field value... However it doesn't work... (I'm using TW5 5.0.10-beta) I also tried to input the fieldvalue (an external image url) into the icon via the TagManager - which doesn't work either... Should I expect something like this to be possible in the near future? Cheers Måns Mårtensson -- 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. For more options, visit https://groups.google.com/d/optout. -- Jeremy Ruston mailto:jeremy...@gmail.com -- 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. For more options, visit https://groups.google.com/d/optout.
Re: [tw] tw5 - Field value as image url ?
Hi Jeremy Thank you very much! That was a very neat trick :-) Now I have one up my sleeve too :-): I made a template tiddler TitleImageTemplate tagged it with $:/tags/Image and wrote this text: $image source={{!!image}} tooltip={{!!title}}/. This seems to work just how I wanted it to work! (in Chrome - haven't tested other browsers yet..) - except I still have to choose the icon manually for all tiddlers which should use the template. Next thing I'd like to do is to make it work on all tiddlers tagged with e.g. teacher... Cheers Måns Mårtensson Den torsdag den 24. april 2014 11.30.03 UTC+2 skrev Jeremy Ruston: Hi Måns I'm trying to do sth like this: [img[{{!!title}}|{{!!image}}]] where image is a custom field value... However it doesn't work... (I'm using TW5 5.0.10-beta) To do this you need to use the raw $image widget: $image source={{!!image}} tooltip={{!!title}}/ See http://tiddlywiki.com/static/ImageWidget.html Best wishes Jeremy On Thu, Apr 24, 2014 at 10:17 AM, Måns huma...@gmail.com javascript:wrote: Hi TwWizards I'm trying to do sth like this: [img[{{!!title}}|{{!!image}}]] where image is a custom field value... However it doesn't work... (I'm using TW5 5.0.10-beta) I also tried to input the fieldvalue (an external image url) into the icon via the TagManager - which doesn't work either... Should I expect something like this to be possible in the near future? Cheers Måns Mårtensson -- 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.comjavascript: . Visit this group at http://groups.google.com/group/tiddlywiki. 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. For more options, visit https://groups.google.com/d/optout.
[tw] Re: A little help for Saving on a PHP Server
Unfortunately, nothing is saved (even the preferences) I've the version 5.0.10-beta Le dimanche 27 avril 2014 20:40:35 UTC+2, Måns a écrit : Hi Have you tested if your changes were actually saved even if it says Error while saving: ? When I save back via Bidix's store.php file - I get this: Error while saving: 0 - File successfully loaded in ./index.html destfile:./index.html backupfile:./index.20140427.203546.html mtime:1398623746 And my changes are saved - despite of the errormessage. (Only tested with TW ver. 5.06) Cheers Måns Mårtensson ... -- 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: TW5 - Make it read only permanently
Hi Måns, On Sunday, April 27, 2014 5:03:41 PM UTC+2, Måns wrote: Hi Ton Great idea :-) Thank you very much! I made it a little more generic: ''ToggleTabs (from sidebar)'' $list filter=[tag[hide]!has[draft.of]tag[hide]!tag[$:/tags/SideBar]] $checkbox tag=$:/tags/SideBarnbsp;nbsp;Show {{!!title}}/$checkboxbr/$list $list filter=[tag[hide]!has[draft.of]tag[hide]tag[$:/tags/SideBar]] $checkbox tag=$:/tags/SideBarnbsp;nbsp;Hide {{!!title}}/$checkboxbr/$list Now any tab tagged with hide will get a checkbox to toggle if it should show up in the sidebar. Nice, I have just implemented it this way in my Read-only demo. It would be very nice if it was boiled down to just one checkbox which would toggle the tag $:/tags/SideBar on all tab tiddlers (tagged with hide) at once.. Would that be possible somehow? I think it must be possible, but at the moment I have no idea how to do that. On the other hand, I like the idea of doing it per tab. For sure, it depends upon what you want to hide. In many cases the 'More' tab will be the first tab to hide. In case you want the ability to switch themes and/or views, you need the 'Tools' tab. And in case of 'Zoomin' view the 'Open' tab is almost required. The 'Recent' tab can be handy as well in some cases. Cheers, Ton Cheers Måns Mårtensson Den søndag den 27. april 2014 12.56.39 UTC+2 skrev Ton Gerner: Hi Måns, For hiding tabs: I thought of toggling the tag for a 'tab' tiddler. As an example the 'More' tab in the Sidebar: $:/core/ui/SideBar/More $:/core/ui/SideBar/More is tagged with $:/tags/SideBar To toggle hiding/showing the 'More' tab: 1) Tag $:/core/ui/SideBar/More with 'test' 2) Create a tiddler containing: $list filter=[!has[draft.of]tag[test]!tag[$:/tags/SideBar]sort[created]] $checkbox tag=$:/tags/SideBarnbsp;nbsp;Check for add 'More' tab/$checkbox /$list $list filter=[!has[draft.of]tag[test]tag[$:/tags/SideBar]sort[created]] $checkbox tag=$:/tags/SideBarnbsp;nbsp;Uncheck for remove 'More' tab/$checkbox /$list Now you can toggle the $:/tags/SideBar tag on/off with means hiding/showing the 'More' tab. Cheers, Ton On Saturday, April 26, 2014 12:57:32 PM UTC+2, Måns wrote: Hi Ton I love your toggle read-only solution!!. I was wondering if it is possible to create a global class which could be used to hide individual elements in read-only mode. (I'd like to hide individually selected tabs from the right menu and textpassages from individual tiddlers...) (Sth. like hide-if-read-only-class??) I'm struggling to find a way to hide skeeve's (Stephan Hradek's) new tiddler button when toggling your $:/_publish checkbox. Would you know how to do this? Here's my class inclusion list (the last one doesn't work. It should refer to Hradek's .tw-newtiddler-button class ): @@display:none; svg.tw-image-new-button, svg.tw-image-options-button, svg.tw-image-save-button, svg.tw-image-edit-button, svg.tw-image-delete-button, svg.tw-image-cancel-button, svg.tw-image-done-button, svg.tw-journal-button, svg.tw-crypt-button, svg.tw-image-close-others-button, svg.tw-crypt-publish-button, svg.tw-image-home-button, button.tw-newtiddler-button { display: none; } @@ Cheers Måns Mårtensson Den torsdag den 24. april 2014 17.56.13 UTC+2 skrev Ton Gerner: Hi PJO, I just finished upgrading my 'TW5 read-only demo' [1] and/or [2]. It is a simplified version without using the ReadOnly theme and the Sidebar is not automatically hidden. Have fun. Ton [1] http://tongerner.tiddlyspot.com/ [2] http://tw5readonly.tiddlyspot.com/ On Tuesday, April 22, 2014 6:25:07 AM UTC+2, PJO wrote: I'm also using Windows 7 64 bit. The button disappears (as does the settings/control panel button) and others move. However, there's no cursor change -- and believe me I've looked for it. Will try another computer browser. My first concern was to know if I'd missed a step. Thanks PJO On Tuesday, April 22, 2014 2:42:43 AM UTC+1, Birthe C wrote: Hi PJO The ReadOnly demo works for me using Firefox 28 and Chrome 34.0.1847.116 m. The buttons get invisible, but moving the cursor to where the buttons used to be, changes the cursor, so you know you are at the right place, to save your changes. Birthe Den mandag den 21. april 2014 21.21.37 UTC+2 skrev PJO: Same thing when I download the demo at [1]. selecting the ReadOnly theme causes the left save button to disappear. I'm using Firefox 28.0. Same result when Firefox is restarted in safe mode with all plugins disabled. Same result with Chrome 34.0.1847.116 m. With the ReadOnly theme the highlighting of the ? icon on the top menu happens when the cursor is an icon to the right of it. The guide contains some useful information on other buttons and options but a Quickstart ReadOnly step-by-step HowTo would be good -- the minimum to do this and nothing else. Many thanks, PJO -- You
[tw] Re: What *IS* Tiddlywiki?
My own summary sounds a bit different, because it is not about finding the place of TW in a taxonomy of software. What I tell people is the benefits are *(A) *non-linear organization for your content and* (B)* rapid, transparent creation of content. I tell them, If I had to publish a non-fiction book in a month, I'd start a TW today. *Non-linear organization:* You are creating a mind map. If you provide tags with all your content, you'll be rewarded with connections and clusters beyond your expectations. (I am still dreaming day-and-night of the plug-in that will graphically render a mind-map.) *Rapid creation of content:* I gave a demo of TW last week and told my friend, You just pick a topic, but make sure it's one you're ready to think about -- because I can build the wiki only as fast as you can talk! I used to also tout *(C)* portability, before the browser tribulations. -- 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] Issues when upgrading 5.0.6-beta to 5.0.10-beta
Greetings, 1. When trying to upgrade 5.0.6-beta to 5.0.10-beta, the first issue was that the wiki's title is not imported, rather remains the default one. 2. Next, I noticed that my TOD tiddly is not showing up correctly. Here's the code: $list filter=[tags[]sort[title]] !! $view field=title/ ul $list filter=[is[current]tagging[]] +[sort[title]] /$list /ul /$list Now, I can't recall if I had to import some special plugin for it. I think it runs with the built-in functionality. In 5.0.6-beta it shows a tag title and then a title-list of all tiddler of this tag, but in 5.0.10-beta it just shows plain text of the title with leading !!, e.g.: *!! Title A!! Title B!! Title C* I'm kinda worried about all the stuff that are not popping into my eyes when I launch the wiki, so for the meantime I'll remain on 5.0.6-beta. Any help would be appreciated. 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 http://groups.google.com/group/tiddlywiki. For more options, visit https://groups.google.com/d/optout.
[tw] Re: Issues when upgrading 5.0.6-beta to 5.0.10-beta
One more thing: If I paste the below Tw5mall code variation into 5.0.6-beta, I will see correct counters for all tags. But if I paste it into 5.0.10-beta, the counters are 0 for all simple (?) tags (meaning: tags that I didn't manipulate in any way, e.g. by changing their color). span class=threecolumns $list filter=[tags[]sort[title]] -[is[system]] itemClass=tw-menu-list-item $transclude tiddler=$:/core/ui/TagTemplate/ small class= tw-menu-list-count$count filter=[is[current]tagging[]]//small /$list /span On Monday, April 28, 2014 1:31:21 AM UTC+3, Sky Diver wrote: Greetings, 1. When trying to upgrade 5.0.6-beta to 5.0.10-beta, the first issue was that the wiki's title is not imported, rather remains the default one. 2. Next, I noticed that my TOD tiddly is not showing up correctly. Here's the code: $list filter=[tags[]sort[title]] !! $view field=title/ ul $list filter=[is[current]tagging[]] +[sort[title]] /$list /ul /$list Now, I can't recall if I had to import some special plugin for it. I think it runs with the built-in functionality. In 5.0.6-beta it shows a tag title and then a title-list of all tiddler of this tag, but in 5.0.10-beta it just shows plain text of the title with leading !!, e.g.: *!! Title A!! Title B!! Title C* I'm kinda worried about all the stuff that are not popping into my eyes when I launch the wiki, so for the meantime I'll remain on 5.0.6-beta. Any help would be appreciated. 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 http://groups.google.com/group/tiddlywiki. For more options, visit https://groups.google.com/d/optout.
[tw] Re: Issues when upgrading 5.0.6-beta to 5.0.10-beta
Hi Sky Diver The upgrade changed the way linebreaks are handled. Try: $list filter=[tags[]sort[title]] !! $view field=title/ ul$list filter=[is[current]tagging[]] +[sort[title]] /$list/ul /$list Birthe Den mandag den 28. april 2014 00.31.21 UTC+2 skrev Sky Diver: Greetings, 1. When trying to upgrade 5.0.6-beta to 5.0.10-beta, the first issue was that the wiki's title is not imported, rather remains the default one. 2. Next, I noticed that my TOD tiddly is not showing up correctly. Here's the code: $list filter=[tags[]sort[title]] !! $view field=title/ ul $list filter=[is[current]tagging[]] +[sort[title]] /$list /ul /$list Now, I can't recall if I had to import some special plugin for it. I think it runs with the built-in functionality. In 5.0.6-beta it shows a tag title and then a title-list of all tiddler of this tag, but in 5.0.10-beta it just shows plain text of the title with leading !!, e.g.: *!! Title A!! Title B!! Title C* I'm kinda worried about all the stuff that are not popping into my eyes when I launch the wiki, so for the meantime I'll remain on 5.0.6-beta. Any help would be appreciated. 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 http://groups.google.com/group/tiddlywiki. For more options, visit https://groups.google.com/d/optout.
[tw] Re: Issues when upgrading 5.0.6-beta to 5.0.10-beta
Hi Birthe, Your suggestion did the trick, thanks! - Now that it's working again, I see the same problem as I reported in my seconds post here: Similar to having a 0 counter, all the plain tags are not showing any content in the TOC that just started working on 5.0.10-beta. I'd appreciate some direction here. - I'd also like to understand if the title not being imported is a bug of a feature (although I have a good guess). Thank you. On Monday, April 28, 2014 2:12:12 AM UTC+3, Birthe C wrote: Hi Sky Diver The upgrade changed the way linebreaks are handled. Try: $list filter=[tags[]sort[title]] !! $view field=title/ ul$list filter=[is[current]tagging[]] +[sort[title]] /$list/ul /$list Birthe Den mandag den 28. april 2014 00.31.21 UTC+2 skrev Sky Diver: Greetings, 1. When trying to upgrade 5.0.6-beta to 5.0.10-beta, the first issue was that the wiki's title is not imported, rather remains the default one. 2. Next, I noticed that my TOD tiddly is not showing up correctly. Here's the code: $list filter=[tags[]sort[title]] !! $view field=title/ ul $list filter=[is[current]tagging[]] +[sort[title]] /$list /ul /$list Now, I can't recall if I had to import some special plugin for it. I think it runs with the built-in functionality. In 5.0.6-beta it shows a tag title and then a title-list of all tiddler of this tag, but in 5.0.10-beta it just shows plain text of the title with leading !!, e.g.: *!! Title A!! Title B!! Title C* I'm kinda worried about all the stuff that are not popping into my eyes when I launch the wiki, so for the meantime I'll remain on 5.0.6-beta. Any help would be appreciated. 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 http://groups.google.com/group/tiddlywiki. For more options, visit https://groups.google.com/d/optout.
[tw] Re: Issues when upgrading 5.0.6-beta to 5.0.10-beta
OK, this is reproducible in an empty 5.0.10-beta file. Create a few tiddlies and tags, and then create a new tiddly and paste either code into it to see the effect: $list filter=[tags[]sort[title]] !! $view field=title/ ul$list filter=[is[current]tagging[]] +[sort[title]] /$list/ul /$list OR span class=threecolumns $list filter=[tags[]sort[title]] -[is[system]] itemClass=tw-menu-list-item $transclude tiddler=$:/core/ui/TagTemplate/ small class= tw-menu-list-count$count filter=[is[current]tagging[]]//small /$list /span On Monday, April 28, 2014 2:18:19 AM UTC+3, Sky Diver wrote: Hi Birthe, Your suggestion did the trick, thanks! - Now that it's working again, I see the same problem as I reported in my seconds post here: Similar to having a 0 counter, all the plain tags are not showing any content in the TOC that just started working on 5.0.10-beta. I'd appreciate some direction here. - I'd also like to understand if the title not being imported is a bug of a feature (although I have a good guess). Thank you. On Monday, April 28, 2014 2:12:12 AM UTC+3, Birthe C wrote: Hi Sky Diver The upgrade changed the way linebreaks are handled. Try: $list filter=[tags[]sort[title]] !! $view field=title/ ul$list filter=[is[current]tagging[]] +[sort[title]] /$list/ul /$list Birthe Den mandag den 28. april 2014 00.31.21 UTC+2 skrev Sky Diver: Greetings, 1. When trying to upgrade 5.0.6-beta to 5.0.10-beta, the first issue was that the wiki's title is not imported, rather remains the default one. 2. Next, I noticed that my TOD tiddly is not showing up correctly. Here's the code: $list filter=[tags[]sort[title]] !! $view field=title/ ul $list filter=[is[current]tagging[]] +[sort[title]] /$list /ul /$list Now, I can't recall if I had to import some special plugin for it. I think it runs with the built-in functionality. In 5.0.6-beta it shows a tag title and then a title-list of all tiddler of this tag, but in 5.0.10-beta it just shows plain text of the title with leading !!, e.g.: *!! Title A!! Title B!! Title C* I'm kinda worried about all the stuff that are not popping into my eyes when I launch the wiki, so for the meantime I'll remain on 5.0.6-beta. Any help would be appreciated. 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 http://groups.google.com/group/tiddlywiki. For more options, visit https://groups.google.com/d/optout.
[tw] Re: Issues when upgrading 5.0.6-beta to 5.0.10-beta
Hi Sky Diver I do not pretend to understand any of it, but I tried the TagMenu and Personbook the other day - discussed here: https://groups.google.com/forum/#!searchin/tiddlywiki/TW5$20tagmenu/tiddlywiki/XxLT8zJqHYM/5dKWcxFFAAAJ The problem with count= 0 was solved for TagMenu changing [is[current]tagging[]] to [all[current]tagging[]] Trying that I do see count working, but it looks messy. Birthe On Monday, April 28, 2014 1:23:49 AM UTC+2, Sky Diver wrote: OK, this is reproducible in an empty 5.0.10-beta file. Create a few tiddlies and tags, and then create a new tiddly and paste either code into it to see the effect: $list filter=[tags[]sort[title]] !! $view field=title/ ul$list filter=[is[current]tagging[]] +[sort[title]] /$list/ul /$list OR span class=threecolumns $list filter=[tags[]sort[title]] -[is[system]] itemClass=tw-menu-list-item $transclude tiddler=$:/core/ui/TagTemplate/ small class= tw-menu-list-count$count filter=[is[current]tagging[]]//small /$list /span -- 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: Issues when upgrading 5.0.6-beta to 5.0.10-beta
Thanks Birthe, 'all' instead of 'is' fixed the counters. The threecolumns layout looked messy also on my end, but toying around with magic newlines, the messiness went away. Thanks again. span class=threecolumns $list filter=[tags[]sort[title]] -[is[system]] itemClass=tw-menu-list-item $transclude tiddler=$:/core/ui/TagTemplate/ small class=tw-menu-list-count $count filter=[all[current]tagging[]]/ /small /$list /span On Monday, April 28, 2014 3:22:12 AM UTC+3, Birthe C wrote: Hi Sky Diver I do not pretend to understand any of it, but I tried the TagMenu and Personbook the other day - discussed here: https://groups.google.com/forum/#!searchin/tiddlywiki/TW5$20tagmenu/tiddlywiki/XxLT8zJqHYM/5dKWcxFFAAAJ The problem with count= 0 was solved for TagMenu changing [is[current]tagging[]] to [all[current]tagging[]] Trying that I do see count working, but it looks messy. Birthe On Monday, April 28, 2014 1:23:49 AM UTC+2, Sky Diver wrote: OK, this is reproducible in an empty 5.0.10-beta file. Create a few tiddlies and tags, and then create a new tiddly and paste either code into it to see the effect: $list filter=[tags[]sort[title]] !! $view field=title/ ul$list filter=[is[current]tagging[]] +[sort[title]] /$list/ul /$list OR span class=threecolumns $list filter=[tags[]sort[title]] -[is[system]] itemClass=tw-menu-list-item $transclude tiddler=$:/core/ui/TagTemplate/ small class= tw-menu-list-count$count filter=[is[current]tagging[]]//small /$list /span -- 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.