[tw] date format in new tiddler TWC
Hi All In a simple code like this...] var title="title"; var text="text"; var who="skye"; var when=new Date(); var tags="tags"; var fields={}; store.saveTiddler(title,title,text,who,when,tags,fields); why do I get an error saying "created.convertToMMDDHHMM is not a function"? I am sure this previously worked!! Skye -- You received this message because you are subscribed to the Google Groups "TiddlyWiki" group. To unsubscribe from this group and stop receiving emails from it, send an email to tiddlywiki+unsubscr...@googlegroups.com. To post to this group, send email to tiddlywiki@googlegroups.com. Visit this group at http://groups.google.com/group/tiddlywiki. For more options, visit https://groups.google.com/d/optout.
[tw] Re: TWC calling showPopup from inside Javascript
Hi Eric Thanks for the response and suggestion. I removed the < > On Friday, October 3, 2014 3:50:21 PM UTC-7, skye riquelme wrote: >> >> Hi Eric and Thanks >> >> my code now looks like this... >> >> var uploadDoc=""; >> if(itemDetails[1]=="uploadDoc") >> { >> uploadDoc='
[tw] Re: TWC calling showPopup from inside Javascript
Bump Em sexta-feira, 3 de outubro de 2014 19h50min21s UTC-3, skye riquelme escreveu: > > Hi Eric and Thanks > > my code now looks like this... > > var uploadDoc=""; > if(itemDetails[1]=="uploadDoc") > { > uploadDoc=' label="uploadable">localStorage.docTipo="temaDocumento";localStorage.fonte="'+itemDetails[0]+'";place.setAttribute("tid","Upload_PDF");place.setAttribute("popupClass","sticky");place.setAttribute("width","400px");config.macros.showPopup.click.apply(place,event);</scri'+'pt><<setIcon > > Logos/smallPDF.png "" notext>'+'>'; > > } > display+='|'+show+'[[fonte|'+itemDetails[10]+']]{{floatright{'+uploadDoc+'<script > > label="comment">localStorage.rightMenu="comment";. > > and later return "display".everything displays perfectly but on > clicking the icon (smallPDF)I get an error that "event is not defined" > ??? But event should be defined by the browser (I am FF 32 under Windows 8). > > Help... > > Skye > > > > Em quarta-feira, 1 de outubro de 2014 21h17min59s UTC-3, Eric Shulman > escreveu: >> >> On Wednesday, October 1, 2014 4:13:52 PM UTC-7, skye riquelme wrote: >>> >>> Hummno answerswhat I need to know is how to write a call to >>> showPopup macro from inside javascript...seems it should be possible >>> and easy, but I cant get it right, and no-one is answering my question... >>> >> var popupScript="tiddler:upload_PDF label:upload width:400px >> popupClass:sticky"; >> var uploadDoc='<script >> label="uploadable">localStorage.docTipo="temaDocumento";localStorage.fonte="' >> +itemDetails[0]+'";config.macros.showPopup('+popupScript+');</scri'+'pt><<setIcon >> >> Logos/smallPDF.png "" notext>>'; >> display uploadDoc; >> >> >> ShowPopupPlugin doesn't provide a direct API to trigger display of an >> arbitrary popup. Rather, the handler for the <<showPopup>> macro creates a >> button (link) with certain attributes (using values it unpacks from the >> macro parameters), and then sets the "onclick" handler for that link to >> invoke the popup. However, in your case, you don't want another button >> created.. you just want to use the button created by InlineJavscriptPlugin >> to trigger the popup ShowPopupPlugin handling. >> >> The good news is that there is a way to trick the handlers to do what you >> want: in your inline script code, first set the required attributes on the >> button, and then trigger the ShowPopupPlugin click handler, using the >> button from the InlineJavascript code as the 'root' of the popup, like this: >> >> <script label="upload"> >>localStorage.docTipo="..."; >>localStorage.fonte="..."; >>place.setAttribute("tid","GettingStarted"); >>place.setAttribute("popupClass","sticky"); >>place.setAttribute("width","400px"); >>config.macros.showPopup.click.apply(place,event); >> >> >> Notes: >> * "place" is defined by InlineJavascriptPlugin to be the button (link) >> that was clicked on >> * "event" is defined by the browser itself as part of the onclick >> processing. >> * .apply(...) allows the macro's click handler to be invoked in the >> correct context, so that it will use the button from the inline script, >> rather than the button it normally creates on it's own. >> enjoy, >> -e >> Eric Shulman >> TiddlyTools / ELS Design Studios >> >> YOUR DONATIONS ARE VERY IMPORTANT! >> HELP ME TO HELP YOU - MAKE A CONTRIBUTION TO MY "TIP JAR"... >>http://TiddlyTools.github.com/fundraising.html#MakeADonation >> >> Professional TiddlyWiki Consulting Services... >> Analysis, Design, and Custom Solutions: >>http://www.TiddlyTools.com/#Contact >> >> -- You received this message because you are subscribed to the Google Groups "TiddlyWiki" group. To unsubscribe from this group and stop receiving emails from it, send an email to tiddlywiki+unsubscr...@googlegroups.com. To post to this group, send email to tiddlywiki@googlegroups.com. Visit this group at http://groups.google.com/group/tiddlywiki. For more options, visit https://groups.google.com/d/optout.
[tw] Re: TWC - bookmarklet?
Sorry for thatwhen I posted the first message, I got a message that my connection failed...thinking that the message wasnts sent, I repeated it. Only now when I come back to the group I see two entriesso I deleted one. Sorry. Skye Em sábado, 4 de outubro de 2014 09h38min13s UTC-3, Danielo Rodríguez escreveu: > > Sorry for not answering bu, Why two threads for the same question? -- You received this message because you are subscribed to the Google Groups "TiddlyWiki" group. To unsubscribe from this group and stop receiving emails from it, send an email to tiddlywiki+unsubscr...@googlegroups.com. To post to this group, send email to tiddlywiki@googlegroups.com. Visit this group at http://groups.google.com/group/tiddlywiki. For more options, visit https://groups.google.com/d/optout.
[tw] TWC Bookmarklet
Hi All.for some time I have been using bookmarklets to save usefull references into a file on my browser...I thought the code was - http://www.unigaia-brasil.org/Cursos/data.html#txtFonte:[['+location.href+'%20]]%20txtTitle:[['+document.title+'%20]]%20txtDominio:[['+window.location.hostname+'%20]]%20%20%20txtCitado:[['+window.getSelection()+'%20]]','SkyeRefs','width=450,height=500,toolbar=yes,scrollbars=yes,titlebar=yes',true);})()">UniGaiaRef ...this is the code to drag the bookmarklet intot he browser toolbar.it used to work...but now when I click on this code it shows uo "www.unigaia-brasil.org/Cursos/#UniGaiaRef" rather than the actual javascript code has something changed to make this code not work anymore, or have I made a mistake so obvious that I cant see it??? Skye -- You received this message because you are subscribed to the Google Groups "TiddlyWiki" group. To unsubscribe from this group and stop receiving emails from it, send an email to tiddlywiki+unsubscr...@googlegroups.com. To post to this group, send email to tiddlywiki@googlegroups.com. Visit this group at http://groups.google.com/group/tiddlywiki. For more options, visit https://groups.google.com/d/optout.
[tw] TWC - bookmarklet?
Hi All.for some time I have been using bookmarklets to save usefull references into a file on my browser...I thought the code was - http://www.unigaia-brasil.org/Cursos/data.html#txtFonte:[['+location.href+'%20]]%20txtTitle:[['+document.title+'%20]]%20txtDominio:[['+window.location.hostname+'%20]]%20%20%20txtCitado:[['+window.getSelection()+'%20]]','SkyeRefs','width=450,height=500,toolbar=yes,scrollbars=yes,titlebar=yes',true);})()">UniGaiaRef ...this is the code to drag the bookmarklet intot he browser toolbar.it used to work...but now when I click on this code it shows uo "www.unigaia-brasil.org/Cursos/#UniGaiaRef" rather than the actual javascript code has something changed to make this code not work anymore, or have I made a mistake so obvious that I cant see it??? Skye -- You received this message because you are subscribed to the Google Groups "TiddlyWiki" group. To unsubscribe from this group and stop receiving emails from it, send an email to tiddlywiki+unsubscr...@googlegroups.com. To post to this group, send email to tiddlywiki@googlegroups.com. Visit this group at http://groups.google.com/group/tiddlywiki. For more options, visit https://groups.google.com/d/optout.
[tw] Re: TWC calling showPopup from inside Javascript
Hi Eric and Thanks my code now looks like this... var uploadDoc=""; if(itemDetails[1]=="uploadDoc") { uploadDoc='localStorage.docTipo="temaDocumento";localStorage.fonte="'+itemDetails[0]+'";place.setAttribute("tid","Upload_PDF");place.setAttribute("popupClass","sticky");place.setAttribute("width","400px");config.macros.showPopup.click.apply(place,event);</scri'+'pt><<setIcon Logos/smallPDF.png "" notext>'+'>'; } display+='|'+show+'[[fonte|'+itemDetails[10]+']]{{floatright{'+uploadDoc+'<script label="comment">localStorage.rightMenu="comment";. and later return "display".everything displays perfectly but on clicking the icon (smallPDF)I get an error that "event is not defined" ??? But event should be defined by the browser (I am FF 32 under Windows 8). Help... Skye Em quarta-feira, 1 de outubro de 2014 21h17min59s UTC-3, Eric Shulman escreveu: > > On Wednesday, October 1, 2014 4:13:52 PM UTC-7, skye riquelme wrote: >> >> Hummno answerswhat I need to know is how to write a call to >> showPopup macro from inside javascript...seems it should be possible >> and easy, but I cant get it right, and no-one is answering my question... >> > var popupScript="tiddler:upload_PDF label:upload width:400px > popupClass:sticky"; > var uploadDoc='<script > label="uploadable">localStorage.docTipo="temaDocumento";localStorage.fonte="' > +itemDetails[0]+'";config.macros.showPopup('+popupScript+');</scri'+'pt><<setIcon > > Logos/smallPDF.png "" notext>>'; > display uploadDoc; > > > ShowPopupPlugin doesn't provide a direct API to trigger display of an > arbitrary popup. Rather, the handler for the <<showPopup>> macro creates a > button (link) with certain attributes (using values it unpacks from the > macro parameters), and then sets the "onclick" handler for that link to > invoke the popup. However, in your case, you don't want another button > created.. you just want to use the button created by InlineJavscriptPlugin > to trigger the popup ShowPopupPlugin handling. > > The good news is that there is a way to trick the handlers to do what you > want: in your inline script code, first set the required attributes on the > button, and then trigger the ShowPopupPlugin click handler, using the > button from the InlineJavascript code as the 'root' of the popup, like this: > > <script label="upload"> >localStorage.docTipo="..."; >localStorage.fonte="..."; >place.setAttribute("tid","GettingStarted"); >place.setAttribute("popupClass","sticky"); >place.setAttribute("width","400px"); >config.macros.showPopup.click.apply(place,event); > > > Notes: > * "place" is defined by InlineJavascriptPlugin to be the button (link) > that was clicked on > * "event" is defined by the browser itself as part of the onclick > processing. > * .apply(...) allows the macro's click handler to be invoked in the > correct context, so that it will use the button from the inline script, > rather than the button it normally creates on it's own. > enjoy, > -e > Eric Shulman > TiddlyTools / ELS Design Studios > > YOUR DONATIONS ARE VERY IMPORTANT! > HELP ME TO HELP YOU - MAKE A CONTRIBUTION TO MY "TIP JAR"... >http://TiddlyTools.github.com/fundraising.html#MakeADonation > > Professional TiddlyWiki Consulting Services... > Analysis, Design, and Custom Solutions: >http://www.TiddlyTools.com/#Contact > > -- You received this message because you are subscribed to the Google Groups "TiddlyWiki" group. To unsubscribe from this group and stop receiving emails from it, send an email to tiddlywiki+unsubscr...@googlegroups.com. To post to this group, send email to tiddlywiki@googlegroups.com. Visit this group at http://groups.google.com/group/tiddlywiki. For more options, visit https://groups.google.com/d/optout.
[tw] Re: TWC calling showPopup from inside Javascript
Hummno answerswhat I need to know is how to write a call to showPopup macro from inside javascript...seems it should be possible and easy, but I cant get it right, and no-one is answering my question... Help Skye Em segunda-feira, 29 de setembro de 2014 22h48min58s UTC-3, skye riquelme escreveu: > > Hi All > > I have some script like this - > > var popupScript="tiddler:upload_PDF label:upload width:400px > popupClass:sticky"; > var uploadDoc='
[tw] TWC calling showPopup from inside Javascript
Hi All I have some script like this - var popupScript="tiddler:upload_PDF label:upload width:400px popupClass:sticky"; var uploadDoc='
[tw] TW getAttributeById......diferent in Firefox and Chrome
Hi All, My TW uses Erics TaggedTemplatePlugin to swicth the way the TW displays. Depending on the tag...there is a tagViewTemplatethat has something like... [[tagView##PageTemplate]] style sheet definitions... and, tagView tiddler has |Name|tagView| |PageTemplate|tagView##PageTemplate| !PageTemplate so in this case a tiddler tagged with tag should show the main display area and a menu to the right.defined in the tagViewTemplate. OK...I oftem need to force a refresh of a menu...say the right menu in this example...in a tiddler I am using the script.. config.refreshers.content(document.getElementById("rightMenu")); In Firefox this works fine, on opening atiddler tagged tag.the tiddler shows in the display area, RightMenu opens, and after the tiddler does some work, it refreshes RightMenu . In Chrome, I keep getting messages like "get is not defined", or "a javascrip message "Cannot call method 'getAttribute' of null" and more often the new new display opens on top of the previous one. Need to explain that further...if I have a tiddler open (I am using SinglePageMode) tagged tag1.it will show menus and display areas defined through tag1ViewTemplate, when I open a tiddler tagged tag2...it should display menus and display area defined by tag2ViewTemplate...in Firefox thats exactly what happensin Chromethe menus olf tag1 stays open and the menus of tag2 open on top of them...making the TW impossible to read or navegate. Seems to be caused by Chrome not evaluating the getAttributeById function..and ideas, workarounds? Thanks Skye -- 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] More help on php server
Hi Mans Reading your comments on the Thread "A little help saving on php server"..I see you use the UploadPlugin with store.php.and would like to ask for a bit of help...or at least confirmation. As reported on other thread (TW not saving "\") I am having problems with the \ escape character not being saved when I save using the store.php, or more often storeTiddler.php system. But the thread has not resulted in a useful resolution...as yet. So, my request...could you put a bit of simple javascript into a tiddly, including the use of the end of line "\n"..then save that using store.php (or store.Tiddler.php if you use that), then refresh the TW and see if the javascript code still has the "\n" characters? In my case the "\" keeps disappearingtotally messing up my code. As explained in the thread, if I correct the code locally and then FTP the TW to my server.the code remains truebut on-line saving via store.php strips out the "\' character!!! These seems to have started since my server upgraded my php version.so could you tell me the php version of your system as well. Thanks in advance Skye -- 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 > > > 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 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-
[tw] Re: changing drive letters
HI WIllem Not sure what you are trying to do, or why. The drive letters are referring to local drives on your (windows) machine...and for some time most browsers have restricted your direct access to local files and directories.what you want to do was possible, but now it seems useless as you cant get to the local drives anyway. Can you explain your idea more. Skye Em terça-feira, 1 de abril de 2014 07h15min59s UTC-3, Willem Evert Hoekstra escreveu: > > Is there a possibility within TiddlyWiki tot change the drive letters? > i.e. Change ///D: to ///F: or the like? > > > -- You received this message because you are subscribed to the Google Groups "TiddlyWiki" group. To unsubscribe from this group and stop receiving emails from it, send an email to tiddlywiki+unsubscr...@googlegroups.com. To post to this group, send email to tiddlywiki@googlegroups.com. Visit this group at http://groups.google.com/group/tiddlywiki. For more options, visit https://groups.google.com/d/optout.
[tw] TWC - calling showPopup within javascript
Hi All trying to active a popup with this code. config.macros.showPopup("PopupText",title,"","","300px","","") but it responds that the macro showPopup does not exist Whats the correct format to call this plugin? Thanks Skye -- 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: TW quick change stylesheets
Hi Again Humm...now I have lots to think about.. Most importantly...I didnt realize that I can put CSS type code into a ViewTemplate...now that really changes things...and opens lots of possibilities..and I see your idea of using tags makes a lot more sense than how I was doing it...A whole new ball game. You mentioned that you did some "single step debugging" - how, what program? And I dnt understando yo comment that "I already have :/". but that tagged ViewTemplate should solve this issue. Thanks Skye Em quarta-feira, 26 de março de 2014 17h16min58s UTC-3, PMario escreveu: > > Hi Skye, > > I did some single step debugging in the code, to see what's going on. ... > It seems there are several tiddlers visible at page startup, that define a > different theme. .. > If you use inline scripts in tiddlers, those scripts are executed, when > the tiddler is rendered. ... So at your page startup, you seem to activate > setRightMenu, setSmallMenu, setRightMenu, setSmallMenu (I probably missed > one :) ... Which in the end seems to mess it up somehow. > > - > Having a closer look to your themes, I could remember an old experiment. > ... I did a similar approach, with TaggedTemplateTweak. > at: > http://a-pm-experimental.tiddlyspot.com/#WideViewTemplate%20wide%20TaggedTemplateTweak > > My WideViewTemplate contains an
Re: [tw] Re: TWC - TW not saving "\"
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 >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 javascript >>>>> like text.split("\n"). and this worked fine for many months. >>>>> >>>>> Recently things started failing, and when I checked the code had >>>>> changed to .split("n")...I corrected the code.everything works >>>>> fine...untill I reload the page and again the "\" is missing - note that >>>>> the correction was saved back tot he TW using UploadPlugin and >>>>> UploadTiddlerPlugin. >>>>> >>>>> Why does the "\" character keep disappearing? >>>>> >>>>> I have downloaded the file, corrected it with Note+++ and uplaoded >>>>> again.it all works well, until I open that tiddler in edit, and then >>>>> restore (done)the "\" gets dropped again!!! >>>>> >>>>> To make things worse... recently a functioning TW started failing and >>>>> on opening saying that some plugins failed... for example on checking a >>>>> recent case. Erics InlineJavascriptPlugin...reported as having >>>>> failed...when I checked it.. the line (early in
Re: [tw] Re: TW quick change stylesheets
Hi..thankls but I am still getting the inicial white page...cant see why the normal StyleSheet is being ignored! Skye Em quarta-feira, 26 de março de 2014 11h47min04s UTC-3, PMario escreveu: > > Try this: > > /*** > |Name|setSmallMenu| > |StyleSheet|##myStyleSheet| > ***/ > ! myStyleSheet > /*{{{*/ > > [[StyleSheet]] > > #wideMenu {visibility:hidden;} > #leftMenu {visibility:hidden;} > #rightMenu {visibility:hidden;} > #smallMenu {visibility:visible;z-index:30;left:500px;} > #bottomMenu {visibility:hidden;} > #displayArea {width:1000px;left:50px;} > /*}}}*/ > ! > -- You received this message because you are subscribed to the Google Groups "TiddlyWiki" group. To unsubscribe from this group and stop receiving emails from it, send an email to tiddlywiki+unsubscr...@googlegroups.com. To post to this group, send email to tiddlywiki@googlegroups.com. Visit this group at http://groups.google.com/group/tiddlywiki. For more options, visit https://groups.google.com/d/optout.
[tw] Re: TWC - TW not saving "\"
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 javascript >>> like text.split("\n"). and this worked fine for many months. >>> >>> Recently things started failing, and when I checked the code had changed >>> to .split("n")...I corrected the code.everything works >>> fine...untill I reload the page and again the "\" is missing - note that >>> the correction was saved back tot he TW using UploadPlugin and >>> UploadTiddlerPlugin. >>> >>> Why does the "\" character keep disappearing? >>> >>> I have downloaded the file, corrected it with Note+++ and uplaoded >>> again.it all works well, until I open that tiddler in edit, and then >>> restore (done)the "\" gets dropped again!!! >>> >>> To make things worse... recently a functioning TW started failing and on >>> opening saying that some plugins failed... for example on checking a recent >>> case. Erics InlineJavascriptPlugin...reported as having failed...when I >>> checked it.. the line (early in the code) >>> match: "\\>> ...was reading in my TW >>> match: "\>> disappeared I put the extra \ back into the code, saved via >>> UploadPluginand on reopening the TW the plugin failed because the >>> second "\" is again missing. >>> >>> So, what up with the character "\". why is it being deleted when I >>> save the TW? >>> >>> Thanks in Advance >>> Skye >>> >> -- 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: TW quick change stylesheets
Hi Eric..thanks for that offer...tried to find the problem myself...but still no joy. Actually the offending TW is online at http://www.unigaia-brasil.org/Ligar/ligarIndex.html - its not known to the public yet, but you can access it directly...I´ve temporarily rmeoved a few of the login checks to make it easier for you to see what is happening... ...for me it still open with a white page, while the default tiddler (Inicial) tries to switchThemes.. to see it formated click on say the green keyhole icon. The tabs are under the cog icon to the left of the header. Thanks Skye Em domingo, 23 de março de 2014 01h10min48s UTC-3, Eric Shulman escreveu: > > On Saturday, March 22, 2014 2:59:50 PM UTC-7, skye riquelme wrote: >> >> the default stylesheet is not displaying when the TW opens... >> > > Hmm I'm not sure why it's not working. Perhaps you could send me a > copy of your document so I can do some direct debugging to see what is > happening... > > -e > -- 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: Chrome, white and access control
Hi again... not sure why you need to embed the graphic(s). Obviously using the [img[...link ]] function lets you display and play with a graphic inside a TW...it is a link to an imageyou can add extra control with Erics ImageSizePlugin...and he even has a ImageMapPlugin that magically allow you to create clickable imagessuch as maps... BUT all this uses links to existing files (...online or offline)links to images not images embedded...its the embed functions that got stuffed up by these security questionswhich means that great plugins like LocalDirectory LaunchApplication, AttachFillePlugin...don1t work anymore - with medern, updated browser versions. Actually this brings up a small point. Especially in Erics site there are many great plugins that used to work, but now dont work (with recent browser versions)...and it not clear to newcomers which or why..maybe we need a short note in these tiddlers noting that they have this limitation/restriction. just a suggestion Skye Em terça-feira, 18 de março de 2014 09h28min51s UTC-3, Anton Aylward escreveu: > > On 17/03/14 09:49 PM, PMario wrote: > > > > > > How can I use Eric's tool if I cant *READ* the file? > > > > Atm. You can't. > > Is there any other way I can embed the small graphics/icons such as Eric > and Tobias and others use and the ONE graphic I need as a map? > > -- > If it's a good idea, go ahead and do it. It is much easier to apologize > than it is to get permission. > - Admiral Grace Hopper > -- 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: TW quick change stylesheets
Hi Anton Thanks for your comments. I am well aware of sliders and us ethem extensively in my work. However what I am trying to acheive is something very different. Its not just display hide the contents of a tiddler. Depending on a students selection I need to change the format of the page, to suit the way that selection needs to display information and continue reacting with the student. Note that I am not playing with stylesheets to make pretty colorful changes to the appearance, like youth changing the skin on there cellular every second day. For example, when discussing and planning their projects students need the full width of their display to present the information. when researching a new topic they need a part page that can display notes and images AND a column display of the previously referenced articles on the relevant topic.when selecting a new line of study, they are presented with a widish display of options, a "popup" that shows simple definitions of that area (that part could be a slider!!!) AND a column list of relevant references AND a second column of contacts within the course of related researches. I cant imagine how sliders can do all thatbut simple changes to stylesheets can do it easilyexcept that the default stylesheet is not displaying when the TW opens, Thnaks for your suggestion...I hadnt disconsidered itI just feel you didnt understand what I am actually trying to acheive. Skye Em sábado, 22 de março de 2014 09h51min28s UTC-3, Anton Aylward escreveu: > > On 21/03/14 10:52 AM, skye riquelme wrote: > > > > I have change ZZZ to zzConfig, AND installed SwitchThemePlugin..AND put > > "config.options.txtTheme="setSmallMenu" in the default tiddler...and > > still get a white page on start-up. > > As a consultant in another field, I often find myself asking people > "What are you trying to achieve" when they tell me about what they are > trying to DO. > > I posted a while back that you should ignore the matter of stylesheets > and do what you are trying to ACHIEVE using sliders. > > Go back to your original post and look at what you were asking: > > > ... Now I want to be able make it visible or hidden. So a link might hit > a tiddler that defines "#smallMenu{visibility:visible;}" so that the > contents of the associated tiddler (SmallMenu) becomes visible > > > Why not use a slider? > > Look at the examples on Eric's page > > http://www.tiddlytools.com/#NestedSlidersPluginInfo > > and the shorter examples at > > http://www.tiddlytools.com/#ToggleSliders > > Eric makes use of a much more involved example on his menu in the top > right corner of each of those pages. > Click on any of > goto search file edit view options calendar contents > to see the slider plus a tiddler in action. Take a look 'under the > hood' how he does that. > > One of the adages of Larry Wall is "there's more than one way to do > things". If one way doens't work, try another. > > -- > Whoever is careless with the truth in small matters cannot be trusted > with the important matters. > - Albert Einstein > -- 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: TW quick change stylesheets
Again!!! Sorry about the mistyping in the message...the config.options.txtTheme in ZZZ is correct...its "setSmallMenu".I typed it wrong when I wrote the response...but its correct in the TW. I have change ZZZ to zzConfig, AND installed SwitchThemePlugin..AND put "config.options.txtTheme="setSmallMenu" in the default tiddler...and still get a white page on start-up. I also created a tiddler that reports txtTheme. when I open thiswith the page still unformated...it correctly shows "setSmallMenu".so the cookie is correct, but still the theme does not show. In my case I am making small changes to the themes..for example "setSmallMenu" simply sets #smallMenu to visible and hiddens two other "themes"...other than that I am not messing with the basic StyleSheetyet the whole StyleSheet settings arent being displayed!!! Thanks Skye -- 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: TW quick change stylesheets
Sorry Guys...I am obviously missing something very basic, cos I cant get it to work. firstly ..I understood from Erics response that I dont need the SwitchThemePlugin installed, I can do it with javascript...right? in that case.I have a tiddler named "setSmallMenu"which contains the code - /*** |Name|setSmallMenu| |StyleSheet|setSmallMenu| ***/ [[StyleSheet]] /*{{{*/ #wideMenu {visibility:hidden;} #leftMenu {visibility:hidden;} #rightMenu {visibility:hidden;} #smallMenu {visibility:visible;} #bottomMenu {visibility:hidden;} #displayArea {width:1000px;left:50px;} /*}}}*/ ...and is tagged systemTheme..and I have a tiddler called ZZZ, tagged systemConfig, which reads //{{{ config.options.txtTheme = 'setSmallTheme'; //}}}... but on reloading the TW...no theme coding, no CSS just icons and text on a blanck (white) page (my page is colored)... I am sure it something real obviousto you guys... Skye Em quinta-feira, 20 de março de 2014 16h24min07s UTC-3, PMario escreveu: > > https://groups.google.com/d/msg/tiddlywiki/ye0PPhcNrkU/vo9OpDZ8HLkJ > -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. For more options, visit https://groups.google.com/d/optout.
[tw] Re: TWC - TW not saving "\"
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 javascript >> like text.split("\n"). and this worked fine for many months. >> >> Recently things started failing, and when I checked the code had changed >> to .split("n")...I corrected the code.everything works >> fine...untill I reload the page and again the "\" is missing - note that >> the correction was saved back tot he TW using UploadPlugin and >> UploadTiddlerPlugin. >> >> Why does the "\" character keep disappearing? >> >> I have downloaded the file, corrected it with Note+++ and uplaoded >> again.it all works well, until I open that tiddler in edit, and then >> restore (done)the "\" gets dropped again!!! >> >> To make things worse... recently a functioning TW started failing and on >> opening saying that some plugins failed... for example on checking a recent >> case. Erics InlineJavascriptPlugin...reported as having failed...when I >> checked it.. the line (early in the code) >> match: "\\> ...was reading in my TW >> match: "\> disappeared I put the extra \ back into the code, saved via >> UploadPluginand on reopening the TW the plugin failed because the >> second "\" is again missing. >> >> So, what up with the character "\". why is it being deleted when I >> save the TW? >> >> Thanks in Advance >> Skye >> > -- You received this message because you are subscribed to the Google Groups "TiddlyWiki" group. To unsubscribe from this group and stop receiving emails from it, send an email to tiddlywiki+unsubscr...@googlegroups.com. To post to this group, send email to tiddlywiki@googlegroups.com. Visit this group at http://groups.google.com/group/tiddlywiki. For more options, visit https://groups.google.com/d/optout.
[tw] TWC - TW not saving "\"
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 javascript like text.split("\n"). and this worked fine for many months. Recently things started failing, and when I checked the code had changed to .split("n")...I corrected the code.everything works fine...untill I reload the page and again the "\" is missing - note that the correction was saved back tot he TW using UploadPlugin and UploadTiddlerPlugin. Why does the "\" character keep disappearing? I have downloaded the file, corrected it with Note+++ and uplaoded again.it all works well, until I open that tiddler in edit, and then restore (done)the "\" gets dropped again!!! To make things worse... recently a functioning TW started failing and on opening saying that some plugins failed... for example on checking a recent case. Erics InlineJavascriptPlugin...reported as having failed...when I checked it.. the line (early in the code) match: "\\http://groups.google.com/group/tiddlywiki. For more options, visit https://groups.google.com/d/optout.
[tw] Re: TW quick change stylesheets
Hi Again ...OK, thats to Erics explanation of the story.switchTheme class, I have been having fun presenting information in different themes on my education siteBUT...when the TW loads there is no theme set...so the page is strangely disformed.until I ht one of the links that includes a theme switch command. SO, how to define a default, inicial theme? I have tried putting something like
[tw] Activate macros from ShowPopup
Hi Again Have asked something like this way back, but didnt get a clear answer. I have a tiddler that contains a macro..or twofor example Erics LoadTiddlers.. when I open this tiddler it clearly ...well Loads the Tiddlersgreat. Now If I open that tiddler from inside a popup (Erics ShowPopupPlugin), it does not activate the LoadTiddlers macro. I have other tiddlers that contain straight javascript...and that is processed when opened in a popupbut macros dont!!! Is there some way to have the macros activate when in a popup? Or how can I use javascript to active the macro..how to use javascript rather than the macro syntax? Thanks Skye -- 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: TW quick change stylesheets
Thanks Eric...thats it! I didnt know of the stiory.swithTheme classeactly what I was trying to do...and it exists already! Now to have some fun. Thanks Skye Em quinta-feira, 6 de março de 2014 20h54min15s UTC-3, skye riquelme escreveu: > > Hi Againbeen quietly lurking here for some time. Still playing with > the old TW > > And cant figure out how to quickly swap stylesheets. > > For example, PageTemplate creates an element (say smallMenu), that > StyleSheet defines (color, position, size, borders).now I want to > be able make it visible or hidden. Soa link might hit a tiddler that > defines "#smallMenu{visibility:visible;}" so that the contents of the > associated tiddler (SmallMenu) becomes visible. Another link triggers a > tiddler which includes "#smallMenu {visibility:hidden;}"...and the > smallMenu div disappears... > > Cant get it to work though How to do this? > > Thanks > Skye > > > > -- 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: TW quick change stylesheets
Hi Again Thanks PMario for the helpit almost gets to what I want. With SelectThemePlugin..setting config.options,txtTheme at opening the TW (xxConfig) sets the default theme. With the Plugin I can use <> to create a button which will switch to the definition contained in "otherTheme". But I want is that these theme changes happen as a result of javascript commands, not user selecting a button. For example a user clicks a link that opens a wide iframe to read a document...so the javascript under that click needs to activate the "wideIframe" theme, and them open the selected document. Later the user may select a research topic, so the javascript opens the "researchTheme" (which has a main topic and a side list of references) and then opens the selected topicetc. I have tried a few vaiations on config.options.txtTheme="researchTheme";story.refreshAll(); ou.refreshDisplay()..but cant trigger the theme switch. Any ideas on how to trigger theme changes from inside javascript? Thanks in Advance Skye Em quinta-feira, 6 de março de 2014 20h54min15s UTC-3, skye riquelme escreveu: > > Hi Againbeen quietly lurking here for some time. Still playing with > the old TW > > And cant figure out how to quickly swap stylesheets. > > For example, PageTemplate creates an element (say smallMenu), that > StyleSheet defines (color, position, size, borders).now I want to > be able make it visible or hidden. Soa link might hit a tiddler that > defines "#smallMenu{visibility:visible;}" so that the contents of the > associated tiddler (SmallMenu) becomes visible. Another link triggers a > tiddler which includes "#smallMenu {visibility:hidden;}"...and the > smallMenu div disappears... > > Cant get it to work though How to do this? > > Thanks > Skye > > > > -- 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: TW quick change stylesheets
Hi Again.no reply...guess my question was not sufficiently clear I want to be able to dynamically change the StyleSheetthe idea is turn on and off )their visibility) varios divs. Let me give some examples of what I have tried...- the StyleSheet defines #smallMenu {...colors, borders, position and "background-color:transparente;" and the includes [[tiddlerNo]] and in tiddlerNo the script - var css="#smallMenu {background-color:red;}"; return css; ... so that the StyleSheet should turn smallMenu red. alternatively I tried... in the StyleSheet <"+">"}}>> where tiddler Red contains the text...#smallMenu {background-color:red;}... again hoping that the StyleSheet turns the smallmenu div red. Neither of these options worked? Whats the right way to do this? Thanks in advance Skye Em quinta-feira, 6 de março de 2014 20h54min15s UTC-3, skye riquelme escreveu: > > Hi Againbeen quietly lurking here for some time. Still playing with > the old TW > > And cant figure out how to quickly swap stylesheets. > > For example, PageTemplate creates an element (say smallMenu), that > StyleSheet defines (color, position, size, borders).now I want to > be able make it visible or hidden. Soa link might hit a tiddler that > defines "#smallMenu{visibility:visible;}" so that the contents of the > associated tiddler (SmallMenu) becomes visible. Another link triggers a > tiddler which includes "#smallMenu {visibility:hidden;}"...and the > smallMenu div disappears... > > Cant get it to work though How to do this? > > Thanks > Skye > > > > -- 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] TW quick change stylesheets
Hi Againbeen quietly lurking here for some time. Still playing with the old TW And cant figure out how to quickly swap stylesheets. For example, PageTemplate creates an element (say smallMenu), that StyleSheet defines (color, position, size, borders).now I want to be able make it visible or hidden. Soa link might hit a tiddler that defines "#smallMenu{visibility:visible;}" so that the contents of the associated tiddler (SmallMenu) becomes visible. Another link triggers a tiddler which includes "#smallMenu {visibility:hidden;}"...and the smallMenu div disappears... Cant get it to work though How to do this? Thanks Skye -- 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: Receiving data from a php file
Em quinta-feira, 14 de novembro de 2013 20h15min09s UTC-3, Yakov escreveu: > > Hello everyone, > > I'm by no means an expert in serverside scripting or client-server > interaction, but shouldn't TW (as client-side) interact with php-script > (server-side) with some POST/GET requests? > > Best regards, > Yakov. > > четверг, 14 ноября 2013 г., 5:38:49 UTC+4 пользователь Eric Shulman > написал: >> >> >> On Wednesday, November 13, 2013 4:38:21 PM UTC-8, skye riquelme wrote: >>> >>> Hi Ericthanks...I am sure we are really close...but I cant get it to >>> work. seems the onclick is not firing the code I am testing is - >>> >>> >> style="width:100%;height:200px;"> >>> check this out! >>> <> >>> >> >>> ..for now I am just putting the txt into a localStorage so I can quickly >>> see if it worked... >>> the php code is returning the text...but clicking the link does do >>> anything >>> >> >> make sure that the is *immediately* following the closing >> ... with *no whitespace* and, if you are using >> HTMLFormattingPlugin, use in the block so newlines in the >> onclick handler code will be ignored. >> >> -e >> >> -- You received this message because you are subscribed to the Google Groups "TiddlyWiki" group. To unsubscribe from this group and stop receiving emails from it, send an email to tiddlywiki+unsubscr...@googlegroups.com. To post to this group, send email to tiddlywiki@googlegroups.com. Visit this group at http://groups.google.com/group/tiddlywiki. For more options, visit https://groups.google.com/groups/opt_out.
[tw] Re: Receiving data from a php file
Thanks Eric...thats damm awesome.opens up a whole new ball´park for me. Skye Em quarta-feira, 13 de novembro de 2013 22h38min49s UTC-3, Eric Shulman escreveu: > > > On Wednesday, November 13, 2013 4:38:21 PM UTC-8, skye riquelme wrote: >> >> Hi Ericthanks...I am sure we are really close...but I cant get it to >> work. seems the onclick is not firing the code I am testing is - >> >> > style="width:100%;height:200px;"> >> check this out! >> <> >> > >> ..for now I am just putting the txt into a localStorage so I can quickly >> see if it worked... >> the php code is returning the text...but clicking the link does do >> anything >> > > make sure that the is *immediately* following the closing > ... with *no whitespace* and, if you are using > HTMLFormattingPlugin, use in the block so newlines in the > onclick handler code will be ignored. > > -e > > -- You received this message because you are subscribed to the Google Groups "TiddlyWiki" group. To unsubscribe from this group and stop receiving emails from it, send an email to tiddlywiki+unsubscr...@googlegroups.com. To post to this group, send email to tiddlywiki@googlegroups.com. Visit this group at http://groups.google.com/group/tiddlywiki. For more options, visit https://groups.google.com/groups/opt_out.
[tw] Re: Receiving data from a php file
Hi Ericthanks...I am sure we are really close...but I cant get it to work. seems the onclick is not firing the code I am testing is - check this out! <> ..for now I am just putting the txt into a localStorage so I can quickly see if it worked... the php code is returning the text...but clicking the link does do anything note that the TW where this code is embedded is on the same domain as the php scripthence the reletaive link! Why does this code work? Thanks Skye Em quarta-feira, 13 de novembro de 2013 15h47min55s UTC-3, Eric Shulman escreveu: > > On Wednesday, November 13, 2013 10:09:11 AM UTC-8, skye riquelme wrote: > >> Thanks..as I said, the link returns the dataand I can format the >> output into JS code or whatever..but the result of the link is that the >> data is returned to window/tab where the TW is open... losing the >> TW.my question is how receive the data from the php link...into a >> tiddler...and not into a new window? >> > > You were correct to direct the PHP output to a target IFRAME. The trick > is to gain access to the contents of that IFRAME once it is loaded with > results. One problem is that there's no *automatic* way to know when the > results are ready. A work-around is to use a link, immediately following > the IFRAME, that can be clicked once the user observes that results are > visible in the IFRAME. The link then accesses its "previous sibling" (the > IFRAME), and reaches into the "contentDocument.body" to fetch the > "innerHTML" of the results (in your use-case, just plain text). > > One other problem: browser restrictions on "same protocol" and/or "same > domain" access to IFRAMES. Depending upon your particular use case, you > might be able to work around this by putting your TW and the PHP script on > the same server. > > Here's some HTML that demonstrates the basic syntax for access the > IFRAME's text content > --- > href="javascript:;" onclick=" > var frame=this.previousSibling; > var txt=frame.contentDocument.body.innerHTML; > // now that you have the 'txt' in a variable, you can parse/modify that > text > // and then call on store.saveTiddler(...,txt,...) to copy the text to a > tiddler > ">save data to tiddler > --- > > enjoy, > -e > Eric Shulman > TiddlyTools / ELS Design Studios > > HELP ME TO HELP YOU - MAKE A CONTRIBUTION TO MY "TIP JAR"... >http://TiddlyTools.github.com/fundraising.html#MakeADonation > > Professional TiddlyWiki Consulting Services... > Analysis, Design, and Custom Solutions: >http://www.TiddlyTools.com/#Contact > -- You received this message because you are subscribed to the Google Groups "TiddlyWiki" group. To unsubscribe from this group and stop receiving emails from it, send an email to tiddlywiki+unsubscr...@googlegroups.com. To post to this group, send email to tiddlywiki@googlegroups.com. Visit this group at http://groups.google.com/group/tiddlywiki. For more options, visit https://groups.google.com/groups/opt_out.
[tw] Re: Receiving data from a php file
Thanks..as I said, the link returns the dataand I can format the output into JS code or whatever..but the result of the link is that the data is returned to window/tab where the TW is open... losing the TW.my question is how receive the data from the php link...into a tiddler...and not into a new window? Tha ks Skye Em quarta-feira, 13 de novembro de 2013 08h45min12s UTC-2, whatever escreveu: > > Hey! > > Whatever data (I presume they're URLs) you get from PHP, you need to parse > it in TW with JS/jQuery. There, you can add HTML code (or TW markdown) and > make the links clickable. Linking to PHP will open the PHP file. > > w > > On Wednesday, November 13, 2013 3:35:56 AM UTC+1, skye riquelme wrote: >> >> Hi All >> Playing again with databases and getting information in and out of TW. >> >> So far I have a simple php file that opens a mysql database and reads >> some data... >> >> I can see that output in a tiddler using a simple html form and have >> specifying a target that is an iframe.so I can SEE the data..(its >> simple text in the iframe) >> >> BUT I want to be able to interact with the data click on urls.or >> even have the php file output simple javascript text that the receiving >> tiddler can evaluate... >> >> I tried -> >refs but this opens the data overriding the whole TW >> itself!.. how can I receive the dta into a tiddler? >> >> Thanks in advance >> Skye >> > -- You received this message because you are subscribed to the Google Groups "TiddlyWiki" group. To unsubscribe from this group and stop receiving emails from it, send an email to tiddlywiki+unsubscr...@googlegroups.com. To post to this group, send email to tiddlywiki@googlegroups.com. Visit this group at http://groups.google.com/group/tiddlywiki. For more options, visit https://groups.google.com/groups/opt_out.
[tw] Receiving data from a php file
Hi All Playing again with databases and getting information in and out of TW. So far I have a simple php file that opens a mysql database and reads some data... I can see that output in a tiddler using a simple html form and have specifying a target that is an iframe.so I can SEE the data..(its simple text in the iframe) BUT I want to be able to interact with the data click on urls.or even have the php file output simple javascript text that the receiving tiddler can evaluate... I tried -refs but this opens the data overriding the whole TW itself!.. how can I receive the dta into a tiddler? Thanks in advance Skye -- You received this message because you are subscribed to the Google Groups "TiddlyWiki" group. To unsubscribe from this group and stop receiving emails from it, send an email to tiddlywiki+unsubscr...@googlegroups.com. To post to this group, send email to tiddlywiki@googlegroups.com. Visit this group at http://groups.google.com/group/tiddlywiki. For more options, visit https://groups.google.com/groups/opt_out.
[tw] Problems after update to 2.8.1
Hi All Yeap, I am still lurking around in TiddlyWiiWorld. more occupied using it than develeoping further...for now. Finally got around to upgrading to 2.8.1 (from 2.7.2)and now have the following issues... Once again..the update scrambled all the letters with portugues accents...so bits of text are now somewhat difficult for my people to understand. this is an on-going, perenial problem...everytime I upgrade I have to correct the text AGAIN. Any light at the end of this tunnel. Its not the first time I have reported this issue. And now, both SinglePageModePlugin and BreadcrumbsPlugin are nor working when the TW is viewed over http; Interestingly, a copy f the same TW viewed locally and these plugins work as they should.the local TW viewed via a localhost server (XAMPP) also functions correctly but when the idntical TW is viewed over http.. single page stops working and breadcrumbs dont show. The TW is rather large and complicated. its nt really feasable to go through the whole "inactivate other plugins one at a time to see where the conflict is" approach.anyone have any idea what these two Plugins have in common that could make them behave like this. Thanks in Advance Skye -- You received this message because you are subscribed to the Google Groups "TiddlyWiki" group. To unsubscribe from this group and stop receiving emails from it, send an email to tiddlywiki+unsubscr...@googlegroups.com. To post to this group, send email to tiddlywiki@googlegroups.com. Visit this group at http://groups.google.com/group/tiddlywiki. For more options, visit https://groups.google.com/groups/opt_out.
[tw] Re: Special characters
Hi All yeah I have encountered this problem frequently.. only in my case its characters with portugues accents that get scrambled. hope we have a solution to this sometime soon Skye Em terça-feira, 6 de outubro de 2009 05h59min33s UTC-3, Jakob Graulund Jørgensen escreveu: > > Hi > > I am having some trouble loading tiddlers with special characters (the > Danish letters æ, ø and å). > > I’m using the ImportTiddlersPlugin and the Danish letters appear as > Chinese characters after importing them. > > Using the CreateTiddlersFromCSV there is no such error. > > The problem is, however, that I want to use the ImportTiddlersPlugin. > > So I think I need to correct the problem post-import (because I simply > don’t understand what the ImportTiddlersPlugin does to the Danish > letters). > > The Danish letters appear in a custom field I’ve created called > ‘names’. > > So I would like an easy way to replace all of the content of the > custom field ‘names’ with the proper Danish names (using æ, ø and å) > without messing with the rest of the tiddler’s content and without > having to manually open and edit each tiddler. > -- You received this message because you are subscribed to the Google Groups "TiddlyWiki" group. To unsubscribe from this group and stop receiving emails from it, send an email to tiddlywiki+unsubscr...@googlegroups.com. To post to this group, send email to tiddlywiki@googlegroups.com. Visit this group at http://groups.google.com/group/tiddlywiki. For more options, visit https://groups.google.com/groups/opt_out.
[tw] LineBreaks in javascript?
Hi Againbeen busy using my farm of TWs and not much time birthing new ones...till now I have a simple TW that opens from a bookmarklet...the TW is basically a html form that uses information passed to it ... recording url, title, dominion and highlighted text. a sort of homespun version of the old TiddySnip! Except that I can edit the information, add more stuff and then, click the submit button to have that data stored into a flat text file on my serverusing simple PHP. So I can record a "bookmark", with added notes and comments into my text-based database on my server. Next step... as well as storing this data into the text-data-base I want to also have the form create a tiddler with the informationand store that tiddler in the appropriate TW.so the form has a number of "submit" buttons with code such as - where I define a button (called "eAi")set the uploadTiddler parameters, construct the text that is to be inserted in the new tiddler...use store.saveTiddler to pass that new tiddler to the appropriate TWand then construct the data line that will be recorded in the text file by the php file set at the header of the form. all this works. EXCEPT.note that the text line construct formats the text using linebreaks ("\n").. this breaks the store.saveTiddler parameters and this macro fails to work. If I remove the "\n" from this code...the store.saveTiddler macro works perfectly BUT the text is not formated with the linebreaks in the tiddler at the other end...which makes reading the information a little cumbersome. SO, how can I code the formatting of the text in a way that does not break the store.saveTiddler macro? I tried "" that doesnt break the macro...but doesnt format the text in viewtemplate either! Thanks in advance Skye -- You received this message because you are subscribed to the Google Groups "TiddlyWiki" group. To unsubscribe from this group and stop receiving emails from it, send an email to tiddlywiki+unsubscr...@googlegroups.com. To post to this group, send email to tiddlywiki@googlegroups.com. Visit this group at http://groups.google.com/group/tiddlywiki. For more options, visit https://groups.google.com/groups/opt_out.
[tw] Re: Direct use of ShowPopup from inside javascript?
...No response...is my question unclear...or just unsolveable? Skye Em quinta-feira, 11 de abril de 2013 21h59min09s UTC-3, skye riquelme escreveu: > > Hi All > > Can I directly trigger a plugin like ShowPopups (one of my all time > favourites!!!) from inside some javascript. > > An example...I have data stored in a flat text file on my server and a bit > of javascript that reads that file, unpacks the data and then gives me > results as a clickable list - so the output from this script looks like - > > out+=' label="'+detalhes[0]+'">localStorage.InstitucaoDetalhes="Name: > '+detalhes[1]+'Endereço: '+detalhes[11]+'";return "< tiddler:get##showInst label:-?- popupClass:yellow > width:300px>>";\n'; > > so...this generates a list...which when clicked sets the value of a > localStorage variable (a key item) and then it outputs a showPopup > command. so I can see the informação that is dependant on the > localStorage variable.. > > OK. it works, but involves a double clickclicking on the label > sets the localStorage parameter and then generates the "?" symbol which is > used to open the popup. Is there some way I can do this in one > click..ideally when I click on the labelthe localSTorage > parameter is set and javascript opens the popup without another clickis > that possible??? > > Thanks in Advance > Skye > > > -- You received this message because you are subscribed to the Google Groups "TiddlyWiki" group. To unsubscribe from this group and stop receiving emails from it, send an email to tiddlywiki+unsubscr...@googlegroups.com. To post to this group, send email to tiddlywiki@googlegroups.com. Visit this group at http://groups.google.com/group/tiddlywiki?hl=en. For more options, visit https://groups.google.com/groups/opt_out.
[tw] Direct use of ShowPopup from inside javascript?
Hi All Can I directly trigger a plugin like ShowPopups (one of my all time favourites!!!) from inside some javascript. An example...I have data stored in a flat text file on my server and a bit of javascript that reads that file, unpacks the data and then gives me results as a clickable list - so the output from this script looks like - out+='localStorage.InstitucaoDetalhes="Name: '+detalhes[1]+'Endereço: '+detalhes[11]+'";return "<>";\n'; so...this generates a list...which when clicked sets the value of a localStorage variable (a key item) and then it outputs a showPopup command. so I can see the informação that is dependant on the localStorage variable.. OK. it works, but involves a double clickclicking on the label sets the localStorage parameter and then generates the "?" symbol which is used to open the popup. Is there some way I can do this in one click..ideally when I click on the labelthe localSTorage parameter is set and javascript opens the popup without another clickis that possible??? Thanks in Advance Skye -- You received this message because you are subscribed to the Google Groups "TiddlyWiki" group. To unsubscribe from this group and stop receiving emails from it, send an email to tiddlywiki+unsubscr...@googlegroups.com. To post to this group, send email to tiddlywiki@googlegroups.com. Visit this group at http://groups.google.com/group/tiddlywiki?hl=en. For more options, visit https://groups.google.com/groups/opt_out.
[tw] Re: TW2.7.1 does strange things - SinglePageMode stopped single-paging!!!
Em segunda-feira, 1 de abril de 2013 06h06min25s UTC-3, TonG escreveu: > > Hi skye riquelme, > > To enable the backstage you can try the bookmarklet "EnableEdit" by Saq > Imtiaz. > His site is not online anymore, but the info can still be found at > http://dl.dropbox.com/u/8286741/lewcid.ord.htm > Also Tobias Beer added the info at http://tiddlywiki.org/#Bookmarklets > > Cheers, > > Ton > > On Sunday, March 31, 2013 8:03:06 PM UTC+2, skye riquelme wrote: >> >> Oooops...spoke too soon. >> >> The work around I mentioned lets me edit the tiddlers and have SinglePage >> and Breadcrumbs working. BUT I dont have access to the backstage. >> >> Playing more."readOnly=false" in the default tiddler does not turn on >> the backstage button, and putting "readOnly=false" in a systemConfig >> tiddler.allows the backstage buttonbut stops SinglePage and >> Bradcrumbs from working.. its on or the other! >> >> Any ideas on how I can have access to the backstage AND have >> SinglePageMode and Breadcrumbs all working at the same time??? >> >> Thanks >> Skye >> >> Em domingo, 31 de março de 2013 14h39min22s UTC-3, skye riquelme escreveu: >>> >>> Hi Again... >>> >>> Still dont understand where that conflict comes from, but the >>> work-around is very simple. I took the offending bit of javascript >>> out of the tiddler marked as systemConfig.and stuck it into the Default >>> tiddlerso the TW opens, initially in read only modebut once you >>> click past the default tiddler. it resets to edit mode. so >>> everything fine.. exceptwhy did it stop working after so many >>> months... maybe just one of those TW gremlins!!! >>> >>> Thanks >>> Skye >>> >>> Em domingo, 31 de março de 2013 14h25min55s UTC-3, skye riquelme >>> escreveu: >>>> >>>> Hi Ton >>>> >>>> Yeah...theres a few bits of sloppy code that I hadnt cleaned up but >>>> now I havethanks for the hint >>>> >>>> OK, I have identified where the problem comes from.I have a tiddler >>>> marked "systemConfig" that actually sets various parameters...its called >>>> xxConfig.. I havent messed with it for many monthsbut now I find >>>> that if it has the lines - >>>> config.options.chkHttpReadOnly=false >>>> readOnly=false .. then SinglePage and BreadcrumbsDONT >>>> work...if I remove those lines then SinglePage and Breadcrumbs do >>>> work... but I am viewing this over http.. so switching it to view >>>> only makes it difficult to work!! >>>> >>>> So, anyone have any idea why chkHttpReadOnly and readOnly mess with >>>> SinglePage and Breadcrumbs Plugins??? >>>> >>>> Thanks >>>> Skye >>>> >>>> Em domingo, 31 de março de 2013 09h16min24s UTC-3, TonG escreveu: >>>>> >>>>> Hi skye riquelme, >>>>> >>>>> Looking at your site I see the following errors (at the right side): >>>>> 1) Erro na macro <> >>>>> 2) Erro na macro <> >>>>> 3) Clicking the Calendar icon gives: "TypeError: e is null" >>>>> 4) Hovering over the icon that shows the Twitter icon and others >>>>> gives: "TypeError: e is null" >>>>> >>>>> So I think there are more problems then you reported (SinglePageMode >>>>> and BreadCrumbsPlugin not working). >>>>> After sorting out what gives above mentioned errors, you can go >>>>> further searching for your reported problems. >>>>> >>>>> Assuming only one plugin gives the poblems, you can switch the plugins >>>>> off "intelligently": disable 15 of the plugins and see what happens. >>>>> Then you know in which set the problem resides. Switch of 8 of the >>>>> remaining "problem" plugins and so forth ... >>>>> >>>>> Cheers, >>>>> >>>>> Ton >>>>> >>>>> >>>>> On Sunday, March 31, 2013 1:59:22 AM UTC+1, skye riquelme wrote: >>>>>> >>>>>> Hi All. >>>>>> >>>>>> Finally got around to upgrading one of my main TWs to >>>>>
[tw] Re: TW2.7.1 does strange things - SinglePageMode stopped single-paging!!!
Oooops...spoke too soon. The work around I mentioned lets me edit the tiddlers and have SinglePage and Breadcrumbs working. BUT I dont have access to the backstage. Playing more."readOnly=false" in the default tiddler does not turn on the backstage button, and putting "readOnly=false" in a systemConfig tiddler.allows the backstage buttonbut stops SinglePage and Bradcrumbs from working.. its on or the other! Any ideas on how I can have access to the backstage AND have SinglePageMode and Breadcrumbs all working at the same time??? Thanks Skye Em domingo, 31 de março de 2013 14h39min22s UTC-3, skye riquelme escreveu: > > Hi Again... > > Still dont understand where that conflict comes from, but the work-around > is very simple. I took the offending bit of javascript out of the > tiddler marked as systemConfig.and stuck it into the Default > tiddlerso the TW opens, initially in read only modebut once you > click past the default tiddler. it resets to edit mode. so > everything fine.. exceptwhy did it stop working after so many > months... maybe just one of those TW gremlins!!! > > Thanks > Skye > > Em domingo, 31 de março de 2013 14h25min55s UTC-3, skye riquelme escreveu: >> >> Hi Ton >> >> Yeah...theres a few bits of sloppy code that I hadnt cleaned up but >> now I havethanks for the hint >> >> OK, I have identified where the problem comes from.I have a tiddler >> marked "systemConfig" that actually sets various parameters...its called >> xxConfig.. I havent messed with it for many monthsbut now I find >> that if it has the lines - >> config.options.chkHttpReadOnly=false >> readOnly=false .. then SinglePage and BreadcrumbsDONT >> work...if I remove those lines then SinglePage and Breadcrumbs do >> work... but I am viewing this over http.. so switching it to view >> only makes it difficult to work!! >> >> So, anyone have any idea why chkHttpReadOnly and readOnly mess with >> SinglePage and Breadcrumbs Plugins??? >> >> Thanks >> Skye >> >> Em domingo, 31 de março de 2013 09h16min24s UTC-3, TonG escreveu: >>> >>> Hi skye riquelme, >>> >>> Looking at your site I see the following errors (at the right side): >>> 1) Erro na macro <> >>> 2) Erro na macro <> >>> 3) Clicking the Calendar icon gives: "TypeError: e is null" >>> 4) Hovering over the icon that shows the Twitter icon and others gives: >>> "TypeError: e is null" >>> >>> So I think there are more problems then you reported (SinglePageMode and >>> BreadCrumbsPlugin not working). >>> After sorting out what gives above mentioned errors, you can go further >>> searching for your reported problems. >>> >>> Assuming only one plugin gives the poblems, you can switch the plugins >>> off "intelligently": disable 15 of the plugins and see what happens. >>> Then you know in which set the problem resides. Switch of 8 of the >>> remaining "problem" plugins and so forth ... >>> >>> Cheers, >>> >>> Ton >>> >>> >>> On Sunday, March 31, 2013 1:59:22 AM UTC+1, skye riquelme wrote: >>>> >>>> Hi All. >>>> >>>> Finally got around to upgrading one of my main TWs to 2.7.1...everthing >>>> seemed to go well...except that now the SinglePageMode display wont work, >>>> nor the BreadCrumbsPlugin.. >>>> >>>> I have updated all the other plugins (all 30!!!), and still cant get >>>> these two to work. >>>> >>>> I loaded SinglePageModePlugin into an empty TW2.7.1.. and it works >>>> fine... so I guess theres a clash with another of my (30) plugins. >>>> >>>> Anyone seen something like this? Any ideas as to what this could >>>> be.. I hope I dont have to turn off each of the 30 plugins, one by one >>>> to see where the conflict is >>>> >>>> Note...I am using FF19...and the TW in question is online (updated >>>> through Upload and UploadTiddler Plugins) - maybe someone can have a look >>>> and see if you can see what is happening - >>>> www.unigaia-brasil.org/AquiAiDragons (the breadcrumbs list hides under >>>> the black clock face!!!). >>>> >>>> Thanks >>>> Skye >>>> >>> -- You received this message because you are subscribed to the Google Groups "TiddlyWiki" group. To unsubscribe from this group and stop receiving emails from it, send an email to tiddlywiki+unsubscr...@googlegroups.com. To post to this group, send email to tiddlywiki@googlegroups.com. Visit this group at http://groups.google.com/group/tiddlywiki?hl=en. For more options, visit https://groups.google.com/groups/opt_out.
[tw] Re: TW2.7.1 does strange things - SinglePageMode stopped single-paging!!!
Hi Again... Still dont understand where that conflict comes from, but the work-around is very simple. I took the offending bit of javascript out of the tiddler marked as systemConfig.and stuck it into the Default tiddlerso the TW opens, initially in read only modebut once you click past the default tiddler. it resets to edit mode. so everything fine.. exceptwhy did it stop working after so many months... maybe just one of those TW gremlins!!! Thanks Skye Em domingo, 31 de março de 2013 14h25min55s UTC-3, skye riquelme escreveu: > > Hi Ton > > Yeah...theres a few bits of sloppy code that I hadnt cleaned up but > now I havethanks for the hint > > OK, I have identified where the problem comes from.I have a tiddler > marked "systemConfig" that actually sets various parameters...its called > xxConfig.. I havent messed with it for many monthsbut now I find > that if it has the lines - > config.options.chkHttpReadOnly=false > readOnly=false .. then SinglePage and BreadcrumbsDONT > work...if I remove those lines then SinglePage and Breadcrumbs do > work... but I am viewing this over http.. so switching it to view > only makes it difficult to work!! > > So, anyone have any idea why chkHttpReadOnly and readOnly mess with > SinglePage and Breadcrumbs Plugins??? > > Thanks > Skye > > Em domingo, 31 de março de 2013 09h16min24s UTC-3, TonG escreveu: >> >> Hi skye riquelme, >> >> Looking at your site I see the following errors (at the right side): >> 1) Erro na macro <> >> 2) Erro na macro <> >> 3) Clicking the Calendar icon gives: "TypeError: e is null" >> 4) Hovering over the icon that shows the Twitter icon and others gives: >> "TypeError: e is null" >> >> So I think there are more problems then you reported (SinglePageMode and >> BreadCrumbsPlugin not working). >> After sorting out what gives above mentioned errors, you can go further >> searching for your reported problems. >> >> Assuming only one plugin gives the poblems, you can switch the plugins >> off "intelligently": disable 15 of the plugins and see what happens. >> Then you know in which set the problem resides. Switch of 8 of the >> remaining "problem" plugins and so forth ... >> >> Cheers, >> >> Ton >> >> >> On Sunday, March 31, 2013 1:59:22 AM UTC+1, skye riquelme wrote: >>> >>> Hi All. >>> >>> Finally got around to upgrading one of my main TWs to 2.7.1...everthing >>> seemed to go well...except that now the SinglePageMode display wont work, >>> nor the BreadCrumbsPlugin.. >>> >>> I have updated all the other plugins (all 30!!!), and still cant get >>> these two to work. >>> >>> I loaded SinglePageModePlugin into an empty TW2.7.1.. and it works >>> fine... so I guess theres a clash with another of my (30) plugins. >>> >>> Anyone seen something like this? Any ideas as to what this could >>> be.. I hope I dont have to turn off each of the 30 plugins, one by one >>> to see where the conflict is >>> >>> Note...I am using FF19...and the TW in question is online (updated >>> through Upload and UploadTiddler Plugins) - maybe someone can have a look >>> and see if you can see what is happening - >>> www.unigaia-brasil.org/AquiAiDragons (the breadcrumbs list hides under >>> the black clock face!!!). >>> >>> Thanks >>> Skye >>> >> -- You received this message because you are subscribed to the Google Groups "TiddlyWiki" group. To unsubscribe from this group and stop receiving emails from it, send an email to tiddlywiki+unsubscr...@googlegroups.com. To post to this group, send email to tiddlywiki@googlegroups.com. Visit this group at http://groups.google.com/group/tiddlywiki?hl=en. For more options, visit https://groups.google.com/groups/opt_out.
[tw] Re: TW2.7.1 does strange things - SinglePageMode stopped single-paging!!!
Hi Ton Yeah...theres a few bits of sloppy code that I hadnt cleaned up but now I havethanks for the hint OK, I have identified where the problem comes from.I have a tiddler marked "systemConfig" that actually sets various parameters...its called xxConfig.. I havent messed with it for many monthsbut now I find that if it has the lines - config.options.chkHttpReadOnly=false readOnly=false .. then SinglePage and BreadcrumbsDONT work...if I remove those lines then SinglePage and Breadcrumbs do work... but I am viewing this over http.. so switching it to view only makes it difficult to work!! So, anyone have any idea why chkHttpReadOnly and readOnly mess with SinglePage and Breadcrumbs Plugins??? Thanks Skye Em domingo, 31 de março de 2013 09h16min24s UTC-3, TonG escreveu: > > Hi skye riquelme, > > Looking at your site I see the following errors (at the right side): > 1) Erro na macro <> > 2) Erro na macro <> > 3) Clicking the Calendar icon gives: "TypeError: e is null" > 4) Hovering over the icon that shows the Twitter icon and others gives: > "TypeError: e is null" > > So I think there are more problems then you reported (SinglePageMode and > BreadCrumbsPlugin not working). > After sorting out what gives above mentioned errors, you can go further > searching for your reported problems. > > Assuming only one plugin gives the poblems, you can switch the plugins off > "intelligently": disable 15 of the plugins and see what happens. > Then you know in which set the problem resides. Switch of 8 of the > remaining "problem" plugins and so forth ... > > Cheers, > > Ton > > > On Sunday, March 31, 2013 1:59:22 AM UTC+1, skye riquelme wrote: >> >> Hi All. >> >> Finally got around to upgrading one of my main TWs to 2.7.1...everthing >> seemed to go well...except that now the SinglePageMode display wont work, >> nor the BreadCrumbsPlugin.. >> >> I have updated all the other plugins (all 30!!!), and still cant get >> these two to work. >> >> I loaded SinglePageModePlugin into an empty TW2.7.1.. and it works >> fine... so I guess theres a clash with another of my (30) plugins. >> >> Anyone seen something like this? Any ideas as to what this could >> be.. I hope I dont have to turn off each of the 30 plugins, one by one >> to see where the conflict is >> >> Note...I am using FF19...and the TW in question is online (updated >> through Upload and UploadTiddler Plugins) - maybe someone can have a look >> and see if you can see what is happening - >> www.unigaia-brasil.org/AquiAiDragons (the breadcrumbs list hides under >> the black clock face!!!). >> >> Thanks >> Skye >> > -- You received this message because you are subscribed to the Google Groups "TiddlyWiki" group. To unsubscribe from this group and stop receiving emails from it, send an email to tiddlywiki+unsubscr...@googlegroups.com. To post to this group, send email to tiddlywiki@googlegroups.com. Visit this group at http://groups.google.com/group/tiddlywiki?hl=en. For more options, visit https://groups.google.com/groups/opt_out.
[tw] TW2.7.1 does strange things - SinglePageMode stopped single-paging!!!
Hi All. Finally got around to upgrading one of my main TWs to 2.7.1...everthing seemed to go well...except that now the SinglePageMode display wont work, nor the BreadCrumbsPlugin.. I have updated all the other plugins (all 30!!!), and still cant get these two to work. I loaded SinglePageModePlugin into an empty TW2.7.1.. and it works fine... so I guess theres a clash with another of my (30) plugins. Anyone seen something like this? Any ideas as to what this could be.. I hope I dont have to turn off each of the 30 plugins, one by one to see where the conflict is Note...I am using FF19...and the TW in question is online (updated through Upload and UploadTiddler Plugins) - maybe someone can have a look and see if you can see what is happening - www.unigaia-brasil.org/AquiAiDragons (the breadcrumbs list hides under the black clock face!!!). Thanks Skye -- You received this message because you are subscribed to the Google Groups "TiddlyWiki" group. To unsubscribe from this group and stop receiving emails from it, send an email to tiddlywiki+unsubscr...@googlegroups.com. To post to this group, send email to tiddlywiki@googlegroups.com. Visit this group at http://groups.google.com/group/tiddlywiki?hl=en. For more options, visit https://groups.google.com/groups/opt_out.
[tw] Re: Cannot upload to tiddlyspot from a local file
Hi Eric...same story here..trying to upload (UploadPlugin, UploadTiddlerPlugin and UploadTiddlerFromFile) from FF19 ueing TW2.7.1.. no luck...the system just spins its wheels and does nothing for a ling time!!! Thanks Skye Em terça-feira, 4 de outubro de 2011 02h44min16s UTC-3, passingby escreveu: > > I have a tw offline which I wish to upload to one of my tiddlyspot > account. I tried to upload it but could not succeed. So I tried this: > > #download a latest empty tw from tiddlywiki.com > #copied all the tiddlers from my offline tw into it except the > TspotSetupPlugin > LoadRemoteFileThroughProxy > PasswordOptionPlugin > UploadPlugin > #These 4 plugins I copied fresh from bidix site. > I changed the tiddlyspotid in the TSpotSetupPlugin. > Then I tried to upload the file but it does not succeed. The message just > displays 'About to upload' and then nothing happens. > > Any ideas how this can be solved? My firefox is 7.0.1. I also tried in > Google Chrome and IE. > > -- You received this message because you are subscribed to the Google Groups "TiddlyWiki" group. To unsubscribe from this group and stop receiving emails from it, send an email to tiddlywiki+unsubscr...@googlegroups.com. To post to this group, send email to tiddlywiki@googlegroups.com. Visit this group at http://groups.google.com/group/tiddlywiki?hl=en. For more options, visit https://groups.google.com/groups/opt_out.
[tw] TinyTiddlyWiki 2.7.0???
Hi All Has TW 2.7.0 been compacted (?) into the TinyTiddlyWiki format??? Thanks Skye -- You received this message because you are subscribed to the Google Groups "TiddlyWiki" group. To view this discussion on the web visit https://groups.google.com/d/msg/tiddlywiki/-/2leh_IbAVjUJ. To post to this group, send email to tiddlywiki@googlegroups.com. To unsubscribe from this group, send email to tiddlywiki+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/tiddlywiki?hl=en.
[tw] Re: using saveFile from Core
Ooops ..forgot to mention I am using TW 2.70, under FF17.00 Thanks Skye Em sexta-feira, 23 de novembro de 2012 19h50min04s UTC-2, skye riquelme escreveu: > > Hi All > > The core has a function called saveFie (and also loadFile). it is used > in various parts of the core and various plugins. how can I use it > directly??? > > Ideally I want to be able to do something like, backup some locally stored > data (in case people clear the navigator history!!)...so - > > var contents=localStorage.getItem("diario"); > var target="diario.txt"; > var save=saveFile(target,conents); > > > How can I get this to work? > Thanks > Skye > -- You received this message because you are subscribed to the Google Groups "TiddlyWiki" group. To view this discussion on the web visit https://groups.google.com/d/msg/tiddlywiki/-/cyhaTH4nGAkJ. To post to this group, send email to tiddlywiki@googlegroups.com. To unsubscribe from this group, send email to tiddlywiki+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/tiddlywiki?hl=en.
[tw] using saveFile from Core
Hi All The core has a function called saveFie (and also loadFile). it is used in various parts of the core and various plugins. how can I use it directly??? Ideally I want to be able to do something like, backup some locally stored data (in case people clear the navigator history!!)...so - var contents=localStorage.getItem("diario"); var target="diario.txt"; var save=saveFile(target,conents); How can I get this to work? Thanks Skye -- You received this message because you are subscribed to the Google Groups "TiddlyWiki" group. To view this discussion on the web visit https://groups.google.com/d/msg/tiddlywiki/-/8L81yyWD0XcJ. To post to this group, send email to tiddlywiki@googlegroups.com. To unsubscribe from this group, send email to tiddlywiki+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/tiddlywiki?hl=en.
[tw] Re: Cross-domain woes!!!
Hi Again...still trying to sort this out - I read in another thread, that since I am trying to read from a local file...I shouldn´t be having cross-domain issues. so Im the online TW I have the code var out=""; var xmlHttp = null; xmlHttp = new XMLHttpRequest(); var discFile="/AAA/alunoParticipation.txt"; xmlHttp.open( "GET",discFile, false); xmlHttp.send( null ); var returnText =xmlHttp.responseText; it works but when I put the same code, but with an external url..like this... var out=""; var xmlHttp = null; xmlHttp = new XMLHttpRequest(); var discFile="<a rel="nofollow" href="http://my">http://my</a> domain/AAA/alunoParticipation.txt"; xmlHttp.open( "GET",discFile, false); xmlHttp.send( null ); var returnText =xmlHttp.responseText; I get the message - [Exception... "Failure" nsresult: "0x80004005 ( NS_ERROR_FAILURE)" location: "JS frame :: file:///X:/Documents/Dropbox/beta.htm :: _out :: line 9681" data: no] Anyone have ideas whats happening...whay cant I read from a local file??? Thanks in Advance Skye Em quinta-feira, 22 de novembro de 2012 10h09min28s UTC-2, skye riquelme escreveu: > > Hi All > > I have a eLearning platform running fairly well directly online, based on > UploadPlugin and the use of some php scripts to store online data in simple > txt files > > Now I need to consider students who do not have continual online access > (still quite a reality in Brasil) and who need to study using my platform > in offline (USB) mode. My thinking is that when a student is connected, to > download the server-side txt files to the USB (probably svae them in > localStorage as well) to store offline additions in another > localStorage and to re-integrate this new data when the student re-connects. > > My problem is downloading the server-side txt files to a local TW - seems > I am hitting cross-domain problems. > > Online I use a code like - >
[tw] Re: Announcement: TiddlyWiki 2.7.0 Beta 2 includes fixes for local file import
Hi Eric Happy that things are progressing on this front. Using FF 17.0 (portable) under Vista I have been able to import tiddlers from a local TW in the same directoryand from www.tiddlytools.com However using ExternalTiddlersPlugin...trying to import a simple txt file from my server does not do it No message, and no created tiddler!!! Thanks Skye Em sexta-feira, 2 de novembro de 2012 05h46min05s UTC-2, Eric Shulman escreveu: > > Greetings All! > > I am EXTREMELY pleased to announce the posting of TiddlyWiki 2.7.0 > Beta 2, which can be downloaded by right-clicking the following link > and choosing "save link as..." from the popop menu: > >http://www.TiddlyWiki.com/beta > > The reason I am so pleased is that this beta update includes fixes for > backstage>import that I've just written (and tested) that appear to > successfully work around the latest file I/O security barriers imposed > by FireFox v15+ as well some related security changes that affected > Chrome, Safari, and Opera. > > The backstage>import "browse" handling has been updated so that when > you select a local file for import, a properly-formed "file://" URI is > automatically filled in (in the "enter a URL" text input). However, > as before, the selected file must still be in the *same folder* as the > current document for it to be read in. This is a restriction imposed > by almost all browsers (FF, Chrome, Safari, Opera, etc.)... *except* > for... surprisingly... InternetExplorer, which *does* permit access to > files outside the current folder (even a file on networked drive works > in IE)!! > > Note: if you *do* try to select a file outside the current folder, the > result displayed in the "file" control text area (next to the browse > button) will be the path/file you selected, but the path/file actually > used (and displayed in the "enter a URL" text area) will be the > *current* folder, combined with the *filename.ext* of the selected > file. > > The bigger fix is that... after selecting the file... when you press > the "OPEN" button... the import process now detects when local > filesystem I/O is needed and no longer tries (and fails) to use "ajax" > I/O to read in the file... so that spurious "not CORS enabled" error > message does not appear... and the process actually retrieves > tiddlers and let's you proceed with the import without further > issues. HOORAY.. YIPPEE YAY! > > I have tested on my local system using IE, FF15 (with TiddlyFox > installed), and Chrome. Of course, every system setup is a little > different, so it's still very important for everyone to download this > latest build from the above link... and test it with your own OS/ > browser configuration, with as many use-cases as you can think of... > and then report back here with the results, either positive or > negative. > > If, after field testing by the community, this fix proves to be as > effective and stable as I think it is, then I will quickly move > TW2.7.0 from beta to official release status... probably by the end of > next week. > > Have a great weekend! > > enjoy, > -e > Eric Shulman > TiddlyTools / ELS Design Studios > > HELP ME TO HELP YOU - MAKE A CONTRIBUTION TO MY "TIP JAR"... >http://www.TiddlyTools.com/#Donations > > Professional TiddlyWiki Consulting Services... > Analysis, Design, and Custom Solutions: >http://www.TiddlyTools.com/#Contact > -- You received this message because you are subscribed to the Google Groups "TiddlyWiki" group. To view this discussion on the web visit https://groups.google.com/d/msg/tiddlywiki/-/3AqnaUybxqUJ. To post to this group, send email to tiddlywiki@googlegroups.com. To unsubscribe from this group, send email to tiddlywiki+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/tiddlywiki?hl=en.
[tw] Cross-domain woes!!!
Hi All I have a eLearning platform running fairly well directly online, based on UploadPlugin and the use of some php scripts to store online data in simple txt files Now I need to consider students who do not have continual online access (still quite a reality in Brasil) and who need to study using my platform in offline (USB) mode. My thinking is that when a student is connected, to download the server-side txt files to the USB (probably svae them in localStorage as well) to store offline additions in another localStorage and to re-integrate this new data when the student re-connects. My problem is downloading the server-side txt files to a local TW - seems I am hitting cross-domain problems. Online I use a code like -
Re: [tw] using HTML5 localStorage in forms?
Thanks Tizianothat worked. Em quarta-feira, 21 de novembro de 2012 19h20min26s UTC-2, tiziano escreveu: > > Il 21/11/2012 21:43, skye riquelme ha scritto: > > Hi All > > > > I have been using localStorage extensively in my TW work, but cant > > seem to get access to the data from within html formsfor > > eample...why doesnt this simple bit of code set the localStorage item > > "test"?? (the wikify at the end is just to check if test got set.) > > > > Try this snippet, it should work: > > > Enter something in the box: > > > onClick="testResults(this.form)"> > > > testResults= function(form) { > var TestVar = form.inputbox.value; > var test=localStorage.setItem("test",TestVar); > > wikify("localStorage key test = "+ > localStorage.getItem("test")+"\n",place ); > } > > > > > regards > -- > tiziano de togni > __ > http://tizziano.altervista.org/ > -- You received this message because you are subscribed to the Google Groups "TiddlyWiki" group. To view this discussion on the web visit https://groups.google.com/d/msg/tiddlywiki/-/YdI2sIbUeZIJ. To post to this group, send email to tiddlywiki@googlegroups.com. To unsubscribe from this group, send email to tiddlywiki+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/tiddlywiki?hl=en.
[tw] using HTML5 localStorage in forms?
Hi All I have been using localStorage extensively in my TW work, but cant seem to get access to the data from within html formsfor eample...why doesnt this simple bit of code set the localStorage item "test"?? (the wikify at the end is just to check if test got set.) function testResults (form) { var TestVar = form.inputbox.value; var test=localStorage.setItem("test",TestVar); } Enter something in the box: <> Thanks in Advance Skye -- You received this message because you are subscribed to the Google Groups "TiddlyWiki" group. To post to this group, send email to tiddlywiki@googlegroups.com. To unsubscribe from this group, send email to tiddlywiki+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/tiddlywiki?hl=en.
[tw] Re: javascript code in HTML forms?
Ooops...sorry about repeating that question...I thought the first response didnt get sent ! Skye On 14 out, 15:49, skye riquelme wrote: > Thanks Eric > > I did try that..and it didnt seem to work either...but I think my > problem is elsewhere. I often use html forms to pass data to a server- > ide tet fil...via a php GET. So the one TW has many such forms. The > form I was asking about above, is actually accessed from a popup...and > I noticed that while "return false" didnt show up the alert > panelsthe php server-side response...showed up, not in the form in > the popup, but rather in another form which was, by chance open in a > sidebar panel. > > Sometimes the coding of "
[tw] Re: javascript code in HTML forms?
Thanks Eric I did try that..and it didnt seem to work either...but I think my problem is elsewhere. I often use html forms to pass data to a server- ide tet fil...via a php GET. So the one TW has many such forms. The form I was asking about above, is actually accessed from a popup...and I noticed that while "return false" didnt show up the alert panelsthe php server-side response...showed up, not in the form in the popup, but rather in another form which was, by chance open in a sidebar panel. Sometimes the coding of "
[tw] Re: javascript code in HTML forms?
Thnaks Eric actually I tried that..and it still didnt work... but playing around I think the problem is from another problem. I am using this format (a HTML form to pass data to php file..and data saved as flat txt file)...so I have many such forms in the TW. The form I aked about..is in fact presented inside a popupand I noticed that even though the alrt didnt trigger (after inserting "return false") I notice that the php response...showed up in a form (that was open in a sidebar panel) and not under the form in the popup panel. So...the cofusion is in the forms... I also have a problem that in some form using the script
[tw] javascript code in HTML forms?
HI All A quesstion that has been bothering me for some time. I am using a lot of html forms to send data to stored online, via GET posts. In the form I often play around with the raw data from the form inside the ..onclick= ''> part of the form. Generally that works. However if I check a condition and that have this javacript throgh an alert. I cant get to see it...even if the condition i triggered... the html processes the GET for example. why does not this stop when I input a crazy date into the date part of the form...? ...onclick=' var data=this.form.date.value; var year=data.substring(0,3); var month=data.substring(4,5); var day=data.substring(6,7); if(year<2012){alert ("data se parece errada - antes de hoje!!");this.form.date.focus();return;} if(month>12){alert (" data se aparece errada mez acima do 12!!");this.form.date.focus();return;} if(day<0 || day>31){alert ("data se aparece errada dia estranha, acima de 31 ou falta!!");this.form.date.focus();return;} var target=this.form.nextSibling; target.style.display="block"; '> . just cant get to see those alerts Thanks kye -- You received this message because you are subscribed to the Google Groups "TiddlyWiki" group. To post to this group, send email to tiddlywiki@googlegroups.com. To unsubscribe from this group, send email to tiddlywiki+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/tiddlywiki?hl=en.
[tw] Receiving return responses from code inside a html form
Hi All Trying to understand more about javascript in TiddlyWiki and Html forms. I gave a script that I use so people can login to a TW page (on-line). Now the script responds with various messages (using the javascript "return" command) and all works well when the script is in a seperate tiddler (obviously I have InlineJavascriptPlugin installed!!). Now if I put that script inside a html form (which collects the users login details), the script is processed when the user hits the "button" (https://groups.google.com/d/msg/tiddlywiki/-/O_0H6fIlOwoJ. To post to this group, send email to tiddlywiki@googlegroups.com. To unsubscribe from this group, send email to tiddlywiki+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/tiddlywiki?hl=en.
[tw] ShowLocalDirectory - FF15?
Hi All Just noticed that ERics ShowLocalDirectory is now throwing a UniversalPConnect error. it used to work...but my system upgarded to FF15...is that the problem? Thanks Skye -- You received this message because you are subscribed to the Google Groups "TiddlyWiki" group. To view this discussion on the web visit https://groups.google.com/d/msg/tiddlywiki/-/WFF2YKHUFjIJ. To post to this group, send email to tiddlywiki@googlegroups.com. To unsubscribe from this group, send email to tiddlywiki+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/tiddlywiki?hl=en.
[tw] Partial Page Refresh
Hi All Is it possible to control/modify/restrict the page refresh mechanism? Let me explain. I have a TW that I use for studying.. on selecting a topic (previsouly researched and organised as a organised folder)..the TW has panels to show the videos I have saved...the fotos I have saveda list (using TWTreeviewPlugin ) of any PDFs I have on the topic and the references that I also bookmarked for that topic.. so I can watch the videos (locally stored or online), open the references in an iframe, select fotos. AND I want to be able to make notes...to myself.. so a simple HTML form drops out of the header in a popup (Erics ShowPopupPlugin)...and I make notes If I store those notes (hitting the https://groups.google.com/d/msg/tiddlywiki/-/82Bj9uQ_IpMJ. To post to this group, send email to tiddlywiki@googlegroups.com. To unsubscribe from this group, send email to tiddlywiki+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/tiddlywiki?hl=en.
[tw] Re: Help with javascript new.window
Hi Whatever OK. The javascript code I showed is a bookmarklet...it sits under a button in my favorites toolbar and when clicked that code is executed. The code itself simply reads in the basic information about the page I am on name, url, domain and picks up if I have selected any text from the page ( as a quote)... and the code then opens a new window and in that window opens a TW that sits on my server...passing to the TW the information.. The TW on my server is a very basic, and by default opens to a simple HTML form.. which gets filled with the above page information, lets me add other bits of information (mainly tagging and extra comments) and then when I hit the "done" button in the form, it saves the information, making a new tiddler . with UploadTiddlerPlugin (BidiXTW) set to automatally update the TW to my server... So. to bookmark a page I like...I simly hit the toolbar button, that opens a window and then I hit "done" the page information is in the on-line TW. Its a crude replacement for TiddlySnips...except it works with ease to store the bookmarks on-line. AND, my intention now is to give this bookmarklet to my studentsso that they can bookmark their research and the references get stored in a on-line (available to all) TW. Obviously that TW could soon get rather large and very slow every time you want to make a bookmarks, in order to study the references being generated, my students DONT access this TW. they access another one... which on opening reads the references from the bookmarklet TW.so the References TW gets big with references (they anticipate that this may delay a little to open)and the bookmarklet TW keeps getting cleaned up (at the moment a manual process) and kept small and light. Actually the whole set up is very simple and uses no fancy coding, EXCEPT for a little gem of inspiration from Eric.. the HTML form that opens in the new page ends with the code - .. store.saveTiddler(title,title,text,who,when,etiquetas,fields); autoSaveChanges(); '> var form=place.lastChild.getElementsByTagName('form')[0]; form.title.value=config.options.txtTitle; form.url.value=config.options.txtFonte; form.pub.value=config.options.txtDominio; form.citado.value=config.options.txtCitado; that last bit of script is the magic - it takes the information passed by the bookmarklet and puts it into the HTML form above !! For me that's the Magic that makes this idea work Thanks Eric Thanks All Skye Em segunda-feira, 27 de agosto de 2012 02h27min02s UTC-3, whatever escreveu: > > Can you describe your solution in more detail? Perhaps share the > setup? I think this will be interesting to many people. > > w > > On Aug 26, 10:43 pm, skye riquelme wrote: > > Hi All > > > > Actually I finally resolved my problem.. the bookmarklet code now > reads > > - > > > > javascript:void(window.open(' > http://mydomain/bookmarking/en.html#txtFonte:[['+location.href+']]%20txtTitle:[['+document.title+']]%20txtDominio:[['+window.location.hostname+']]<http://mydomain/bookmarking/en.html#txtFonte:[[%27+location.href+%27]]%20txtTitle:[[%27+document.title+%27]]%20txtDominio:[[%27+window.location.hostname+%27]]> > > > > %20txtCitado:[['+window.getSelection()+']]','','width=400,height=400,toolbar=yes,titlebar=yes')); > > > > > > Note that the javascript starts with void(...)...seems that makes > all > > the difference > > > > The target of this script is a very simple TW sitting on my server. The > TW > > is "armed" with UploadPlugin and UploadTiddlerPlugin (and therefor > > PasswordPlugin as well) from BidiXTW works greatfor me!! > > > > Thanks > > Skye > > > > Em domingo, 26 de agosto de 2012 16h22min24s UTC-3, whatever escreveu: > > > > > > > > > > > > > > > > > > > > > Hi! > > > > > Are you using a server-side solution for your setup (TiddlyWeb, > > > TiddlySpace...) or a normal TW on a net-share? I tried getting > > > BookmarksPlugin (1) to work with TiddlyWeb, but I couldn't quite make > > > it work (2). > > > > > (1)http://bookmarksplugin.tiddlyspace.com/ > > > (2) > > >http://groups.google.com/group/tiddlywiki/browse_thread/thread/342ded... > > > > > > w > > > > > On Aug 24, 9:20 pm, skye riquelme wrote: > > > > Hi All, > > > > > > I am a great fan of TiddlySnip, but have difficulties in having it > store >
[tw] Re: Help with javascript new.window
Hi All Actually I finally resolved my problem.. the bookmarklet code now reads - javascript:void(window.open('http://mydomain/bookmarking/en.html#txtFonte:[['+location.href+']]%20txtTitle:[['+document.title+']]%20txtDominio:[['+window.location.hostname+']] %20txtCitado:[['+window.getSelection()+']]','','width=400,height=400,toolbar=yes,titlebar=yes')); Note that the javascript starts with void(...)...seems that makes all the difference The target of this script is a very simple TW sitting on my server. The TW is "armed" with UploadPlugin and UploadTiddlerPlugin (and therefor PasswordPlugin as well) from BidiXTW works greatfor me!! Thanks Skye Em domingo, 26 de agosto de 2012 16h22min24s UTC-3, whatever escreveu: > > Hi! > > Are you using a server-side solution for your setup (TiddlyWeb, > TiddlySpace...) or a normal TW on a net-share? I tried getting > BookmarksPlugin (1) to work with TiddlyWeb, but I couldn't quite make > it work (2). > > (1) http://bookmarksplugin.tiddlyspace.com/ > (2) > http://groups.google.com/group/tiddlywiki/browse_thread/thread/342ded74e628a5c4/3f274e1edbb1fc9b > > > w > > On Aug 24, 9:20 pm, skye riquelme wrote: > > Hi All, > > > > I am a great fan of TiddlySnip, but have difficulties in having it store > my > > favoriites to an on-line TW (in principle this is possible using > > UploadPlugin recently that cant be done from a local TW to an onçine > > TW). So, I have started playing with an alternative. What I have to date > is > > a bit o javascript in a bookmerklet that passes the selected url and > title > > to a TW on my server.so far so good. Its working and storing my > > references on-line > > > > My code is siimply - > > > javaascript:var%20address=location.href;var%20title=document.title;window.open(' > http://mydomain.org/bookmarking/marking.html#txtFonte:[['+address+']]%20txtTitle:[['+title+']]<http://mydomain.org/bookmarking/marking.html#txtFonte:[[%27+address+%27]]%20txtTitle:[[%27+title+%27]]>','','width=300,height=400,toolbar=yes,titlebar=yes'); > > > > > > The only problem is that when I hit the bookmarklet from a selected > > page. a new window opensAND the selected page goes blanck and > gives > > the message "[object Window]".after confirming the save in the new > > windowI can backup to the original page but thats rather > > annoying. Why is this code opening a new window AND passing this message > to > > the open page...and how to stop this happening? > > > > Thanks in advance > > Skye > -- You received this message because you are subscribed to the Google Groups "TiddlyWiki" group. To view this discussion on the web visit https://groups.google.com/d/msg/tiddlywiki/-/60JL9dr5nR8J. To post to this group, send email to tiddlywiki@googlegroups.com. To unsubscribe from this group, send email to tiddlywiki+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/tiddlywiki?hl=en.
[tw] Help with javascript new.window
Hi All, I am a great fan of TiddlySnip, but have difficulties in having it store my favoriites to an on-line TW (in principle this is possible using UploadPlugin recently that cant be done from a local TW to an onçine TW). So, I have started playing with an alternative. What I have to date is a bit o javascript in a bookmerklet that passes the selected url and title to a TW on my server.so far so good. Its working and storing my references on-line My code is siimply - javaascript:var%20address=location.href;var%20title=document.title;window.open('http://mydomain.org/bookmarking/marking.html#txtFonte:[['+address+']]%20txtTitle:[['+title+']]','','width=300,height=400,toolbar=yes,titlebar=yes'); The only problem is that when I hit the bookmarklet from a selected page. a new window opensAND the selected page goes blanck and gives the message "[object Window]".after confirming the save in the new windowI can backup to the original page but thats rather annoying. Why is this code opening a new window AND passing this message to the open page...and how to stop this happening? Thanks in advance Skye -- You received this message because you are subscribed to the Google Groups "TiddlyWiki" group. To view this discussion on the web visit https://groups.google.com/d/msg/tiddlywiki/-/0MduFCjo76gJ. To post to this group, send email to tiddlywiki@googlegroups.com. To unsubscribe from this group, send email to tiddlywiki+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/tiddlywiki?hl=en.
[tw] Video backgrounds
Hi All been travelling and teachingnow back to playing with TW. I have a TW that has two s in the PageTemplate that creates a "panel" that sits behind the display area (it has opacity of 0.2). If I put an image in the tiddler (the content of the ) then the image sits as a background image (nicely faded to opacity =0.2)! If I put a video (using iframe from youtube or local video using PlayerPlugin) in the content of that tiddler...the video sits on TOP of the text or content of the displayed(story) tiddler Why does an image sit behind the text but a video sits in front And how can I have the video stay in the background as I want the idea is a video plays in the background as I show a slide presentation on not of it Thanks Skye -- You received this message because you are subscribed to the Google Groups "TiddlyWiki" group. To view this discussion on the web visit https://groups.google.com/d/msg/tiddlywiki/-/SXtjsCThvpoJ. To post to this group, send email to tiddlywiki@googlegroups.com. To unsubscribe from this group, send email to tiddlywiki+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/tiddlywiki?hl=en.
[tw] Rounded Corners in FF13
Just a quick note to inform people that when you update to FF13, the old CSS "-moz-border-radius" no longer works. All those nice rounded corners disappear. You need to get into the CSS code and remove the "- moz-" part. the code fopr rounded corners is now just "border- radius". Thanks Skye -- You received this message because you are subscribed to the Google Groups "TiddlyWiki" group. To post to this group, send email to tiddlywiki@googlegroups.com. To unsubscribe from this group, send email to tiddlywiki+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/tiddlywiki?hl=en.
[tw] Popup display order?
Hi All I have a TW (on server) where the inicial page shows a MindMap (that sits in an iframe). When I click on the navegation icons at the top of the page (mostly opening popups ala ShowPopupPlugin-Eric.the popups open and display above the iframe. Great. When my wife does the same thing on her laptop ..the popup panels open BEHIND the iframe So, we are looking at the same TW, and both using FF, but my laptop is OS Vista (home) and hers in Windows 7. I guess we have different FF versions (mine is 13...hersdont know...shes working on the other side of Brasil at the momentam waiting for her to send me the version number of her FF).but why does the same TW display differently in different FF versions...or is it in the OS systems. Where do I start looking to resolve this strange behaviour??? Thanks in Advance Skye -- You received this message because you are subscribed to the Google Groups "TiddlyWiki" group. To post to this group, send email to tiddlywiki@googlegroups.com. To unsubscribe from this group, send email to tiddlywiki+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/tiddlywiki?hl=en.
[tw] Html forms and javascript arrays
Hi All Still pushing against my limited javascript knowledge I have a form where people can nominate themselves into one group or another...and I am saving the information in a tiddler using slices - the code - Grupo Vermelha Grupo Verde Grupo Azul Grupo Larangada Grupo Amarelha Grupo Marron OK thats working. now when another student comes to fill in their nameI need to pass the previously stored information back into the html form...so they can see which positions are taken and which available. back in jan 2011 Eric helped me with a similar situation (Accessing script variables in html form? ) except that back then the form and array only had a few elements...I now have potentially over 40 input boxes in the html form. OK after that code above I am trying to do something like - var form=place.lastChild.getElementsByTagName('form')[0]; var length=place.lastChild.getElementsByTagName('form').length; alert(length); for(t=0;t
[tw] loadTiddlersPlugin problem
Hi All I have asked this before, and still cant get around it...cant see why in some cases I get this error and others not. At the moment...I have two TWs , same version (almost identical contents) in the same folder.when I try to use LoadTiddlersPlugin (Eric) I get an error and the message - Erro ao executar a macro <>: [Exception... "Component returned failure code: 0x805e (NS_ERROR_ILLEGAL_INPUT) [nsIScriptableUnicodeConverter.ConvertToUnicode]" nsresult: "0x805e (NS_ERROR_ILLEGAL_INPUT)" location: "JS frame :: file:///C:/Users/Skye/DropBoxing/SAUB/Dropbox/Curso/Notas/emptyIvone.html :: mozConvertUTF8ToUnicode :: line 11833" data: no] . where "emptyIvone.html is the TW thats throwing this error. The end of the error code says "data:no" . but there is a tiddler in the other file that complies with the loadTiddlersPlug filter conditions and it does have data in it...it seems a normal tiddler!!! Can someone give a clue as to why this is happening and some way around it. Thanks in Advance Skye -- You received this message because you are subscribed to the Google Groups "TiddlyWiki" group. To post to this group, send email to tiddlywiki@googlegroups.com. To unsubscribe from this group, send email to tiddlywiki+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/tiddlywiki?hl=en.
[tw] Re: popups in chrome?
Hi All Solved my own problem. Its not in TW, its in Youtube embed code. I noticed that Vimeo e TED videos dont create the problem...and found information in the web about youtubes code..so just add "? wmode=opaque" to the end of youtubes url in the embed codethat does it!!! Thanks Anyway Skye On 7 maio, 23:21, skye riquelme wrote: > Hi All > > I have a TW that has a Youtube video embedded in the default tiddler. > And a header that contains navegation panels that open in popups. In > FF it all works well, but in Chrome... the popup panels open behind > the embedded video, while in FF they open on top of the video. > Obviously with the popups sitting behind the video the navegation is > not possible. > > Anyway to get the popup to open on top of the video > > Thanks > Skye -- You received this message because you are subscribed to the Google Groups "TiddlyWiki" group. To post to this group, send email to tiddlywiki@googlegroups.com. To unsubscribe from this group, send email to tiddlywiki+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/tiddlywiki?hl=en.
[tw] Re: popups in chrome?
Hi Again Playing around with z-inde propertyit does not seem to solve the problem. BUT, if the embedded video is from TED, then even in Chrome the popup sits on top of the videobut it the video is embedded from YouTube, the popup is behind. Just tried embeddinga video from Vimeo...it also stays behind the popup.so why does only YouTube embedded videos hide behind the popup panel? Skye On 7 maio, 23:21, skye riquelme wrote: > Hi All > > I have a TW that has a Youtube video embedded in the default tiddler. > And a header that contains navegation panels that open in popups. In > FF it all works well, but in Chrome... the popup panels open behind > the embedded video, while in FF they open on top of the video. > Obviously with the popups sitting behind the video the navegation is > not possible. > > Anyway to get the popup to open on top of the video > > Thanks > Skye -- You received this message because you are subscribed to the Google Groups "TiddlyWiki" group. To post to this group, send email to tiddlywiki@googlegroups.com. To unsubscribe from this group, send email to tiddlywiki+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/tiddlywiki?hl=en.
[tw] popups in chrome?
Hi All I have a TW that has a Youtube video embedded in the default tiddler. And a header that contains navegation panels that open in popups. In FF it all works well, but in Chrome... the popup panels open behind the embedded video, while in FF they open on top of the video. Obviously with the popups sitting behind the video the navegation is not possible. Anyway to get the popup to open on top of the video Thanks Skye -- You received this message because you are subscribed to the Google Groups "TiddlyWiki" group. To post to this group, send email to tiddlywiki@googlegroups.com. To unsubscribe from this group, send email to tiddlywiki+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/tiddlywiki?hl=en.
[tw] Re: sticky popup / show popup plugin
Hi Wim The essence of the system is - *the clickable lists that you see are created using a javascript search (using store.getTaggedTiddlers) and then outputing in the format "localStorage.select="tiddler.title";config.refreshers.content(document.getElementById("explainMenu"));" - (see EtiquetaMenu for the exact code) - this makes the clickabe link and when clicked sets the condition parameter (I use localStorage...but config.options would also work) and refreshes the appropriate panel (defined with DIV named "explainMenu" in the Page Template). * the explainMenu has a code which simply transcludes what it is displaying depending on the condition parameter.. something like - <'+'>'}}>> - which shows the text in the tiddler that was clicked above..here I am displaying the text...you could equally have the explanation as a Slice ou Section and change the code appropriately to select that part And the rest is just playing around in StyleSheet to get the panels (created in PageTemplate) to position and appear as you want. Hope that helps, Have fun. Skye On 26 abr, 03:22, Wim wrote: > Hi Skye, > > thanks for your answer. It gives me a possible solution for my > problem. > I will have a further look on the "source code" to see how you did it. > > Wim > > On 26 apr, 00:36, skye riquelme wrote: > > > > > > > > > Hi Wim > > > I actually responded to this thread a few days ago...but my response > > didnt show upthanks Google > > > Anyway, your question actually resolved a small challenge I had so > > I made a TW for my needs, that does show a little of what could be an > > answer for you...MAYBE. > > > Its here in my site > > -http://www.unigaia-brasil.org/Cursos/tagsGerador/index.html > > - the content is in portuguesbut you should be able to see how it > > works - for example click on the icon that looks like list...its a > > List! and select say Economia the left side panel will show > > the sub-items of the topic "Economia"if you click on one of those > > subItems...note that the right panel now shows the sub-sub-items, AND > > in the heading at the top right a bit o text appears..the > > explanation for the sub-item you just clicked. If you click on a > > sub-sub-item in the right panel...the heading text will also > > change !!! > > > Note that I have not put the explanation into a popup panel.rather > > it appears in a fixed position panel that hovers over the right side > > of the topHeading panel. this hovering panel has a transparent > > background. but text is set to black so it shows up when there > > is something to show up!!! > > > This doesnt use any special plugins. the panels are defined and > > positioned in PageTemplate and StyleSheet. while the making of > > lists and text appearing in different locations is all done with some > > simple bits of javascript. > > > I still have to clean up a few details in this TW...but I hope you get > > the idea...and its useful. > > > Hope that helps a little. > > > Skye > > > On 24 abr, 03:02, Wim wrote: > > > > Hi Måns, > > > > thanks for your answer, but that's not really what I want. > > > > I tried to change the ShowPopupPlugin like ... Popup.show(1,1,{x: > > > 650,y:400}); > > > > This shows the popup on another place on the screen, BUT relative to > > > the link. I want to have the popup on a fixed place (like it is > > > possible with the ScrollBox - plugin) i.e. given x, y, w, h > > > > Or can ScrollBox could be combined with ShopPopup? > > > > Wim > > > > On 23 apr, 17:19, Måns wrote: > > > > > HiWim > > > > > > Is it possible to put a sticky popup-box (tiddler) on a particular > > > > > place on the screen? Like you can do with ScrollboxPlugin? > > > > > > I want to have 2 "boxes" on my screen; on the left side a scrollbox > > > > > with keywords (OK, I can do that...) and on the right side a > > > > > "popupbox" with the explanation of the keyword a users has clicked on. > > > > > The "explanation-box" should stay on the same place. And should > > > > > display another explanation when a user chooses another keyword. > > > > > > But with ShowpopupPlugin, it is only possible to choose "above" or > > > > > not. > > > > > > Or is there another solution? Like "filling" a ScrollBox
[tw] Activating html GET automatically?
Hi All I think I am overlooking something very basic.. I have some javascript code that generates lines in a format like 'http://groups.google.com/group/tiddlywiki?hl=en.
[tw] Re: sticky popup / show popup plugin
Hi Wim I actually responded to this thread a few days ago...but my response didnt show upthanks Google Anyway, your question actually resolved a small challenge I had so I made a TW for my needs, that does show a little of what could be an answer for you...MAYBE. Its here in my site - http://www.unigaia-brasil.org/Cursos/tagsGerador/index.html - the content is in portuguesbut you should be able to see how it works - for example click on the icon that looks like list...its a List! and select say Economia the left side panel will show the sub-items of the topic "Economia"if you click on one of those subItems...note that the right panel now shows the sub-sub-items, AND in the heading at the top right a bit o text appears..the explanation for the sub-item you just clicked. If you click on a sub-sub-item in the right panel...the heading text will also change !!! Note that I have not put the explanation into a popup panel.rather it appears in a fixed position panel that hovers over the right side of the topHeading panel. this hovering panel has a transparent background. but text is set to black so it shows up when there is something to show up!!! This doesnt use any special plugins. the panels are defined and positioned in PageTemplate and StyleSheet. while the making of lists and text appearing in different locations is all done with some simple bits of javascript. I still have to clean up a few details in this TW...but I hope you get the idea...and its useful. Hope that helps a little. Skye On 24 abr, 03:02, Wim wrote: > Hi Måns, > > thanks for your answer, but that's not really what I want. > > I tried to change the ShowPopupPlugin like ... Popup.show(1,1,{x: > 650,y:400}); > > This shows the popup on another place on the screen, BUT relative to > the link. I want to have the popup on a fixed place (like it is > possible with the ScrollBox - plugin) i.e. given x, y, w, h > > Or can ScrollBox could be combined with ShopPopup? > > Wim > > On 23 apr, 17:19, Måns wrote: > > > > > > > > > HiWim > > > > Is it possible to put a sticky popup-box (tiddler) on a particular > > > place on the screen? Like you can do with ScrollboxPlugin? > > > > I want to have 2 "boxes" on my screen; on the left side a scrollbox > > > with keywords (OK, I can do that...) and on the right side a > > > "popupbox" with the explanation of the keyword a users has clicked on. > > > The "explanation-box" should stay on the same place. And should > > > display another explanation when a user chooses another keyword. > > > > But with ShowpopupPlugin, it is only possible to choose "above" or > > > not. > > > > Or is there another solution? Like "filling" a ScrollBox with the > > > tiddler of the choosen keyword. > > > > LIKE: if there's a keyword "Tiddlywiki" in my left box, with a link to > > > the tiddler named "Beginners", clicking on that link should display > > > the tiddler "Beginners" in my right Scrollbox. > > > You can have a scrolling tabs effect in the sidebartabs tiddler with > > Tobias' tabscroll macro:http://tobibeer.tiddlyspace.com/#TabScroll > > > It has been setup to work only with the sidebarTabs div - maybe we > > could convice Tobias to make it more generic?? > > > Cheers 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 tiddlywiki@googlegroups.com. To unsubscribe from this group, send email to tiddlywiki+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/tiddlywiki?hl=en.
[tw] Re: Changing TW colors
Hi AllTodias I came up with what I think is something similar. A tiddler has some nice colores icones (Erics SetIconPlugin) which activate (when hit) a bit o javascript that simply creates the color combinations in sliced format (var text="|background|color|\n|text|othercolor..)and then makes a tiddler called Color.which the StyleSheet is reading...so I have to reload the StyleSheet...but thats simple enough. Each colored icon creates a different set of colors in the sliced format...and when clicked...simply rewrites the Color file The localStorage thingy...is a part of HTML5...where you can store parameters in the localStorage of the browser...a bit like cookies, only the parameter values are available across windows ou tabs of the browser.dont have to send values between TWS...for example dont need to use [[open in new tab|otherFolder/ TWfile.html#txtParameter:parameterValue.]] if parameterValue is set in localStorage its available in TWfile automatically -- PROVIDED the calling TW and receiving TW have the same browser address - thats a heavy restriction sometimesbut often not. I am findng setting and using localStorage, generally easier and more useful that config.options.txt but its a personal thing!!! Thanks for your suggestion Skye On 19 abr, 18:40, Tobias Beer wrote: > One way to do it would be to put something like this into your zzConfig: > > //shadow tiddler for styles > config.shadowTiddlers.StyleSheetLocalStorage ='/*{{{*/\n'+ > '.myClass {background-color:[[' + someJavascript(param) + ';;}\n'+ > '/*}}}*/'; > store.addNotification("StyleSheetLocalStorage", refreshStyles); > > So essentially, this adds a shadow tiddler by the name of > StyleSheetLocalStorage into which your localStorage thingy would have to be > computed and which then is invoked via addNotification. > > Note, however that if you chose to overwrite this ShadowTiddler, you will > lose the computed value. > > As I have no idea, what your localStoragy thingy is about, you might need > to figure that part out yourself. > > Cheers, Tobias. -- You received this message because you are subscribed to the Google Groups "TiddlyWiki" group. To post to this group, send email to tiddlywiki@googlegroups.com. To unsubscribe from this group, send email to tiddlywiki+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/tiddlywiki?hl=en.
[tw] Changing TW colors
Hi All In the style sheet I can set colors using code like "background-color: [[Cor::background]];". where the background will be the sliced pair to "background" in tiddler "Cor". Great. What I want to do is have the contents of Cor read - <> . when I open the tiddler Cor, I see "|background|color (stored in localStorage parameter)|". I can see itbut StyleSheet doesnt see it.guess it a question of what gets rendered first.. Is there any way to have Style sheet read a calculated value like this? Thanks in Advance Skye -- You received this message because you are subscribed to the Google Groups "TiddlyWiki" group. To post to this group, send email to tiddlywiki@googlegroups.com. To unsubscribe from this group, send email to tiddlywiki+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/tiddlywiki?hl=en.
[tw] Re: Understanding HTMLFormattingPlugin
Hi Eric Just to confirm.yes I re-activated HTMLFormattingPlugin and supressed linebreaksand it works fine. Thanks Skye On 18 abr, 15:25, Eric Shulman wrote: > > I am trying to understand Erics HTMLFormattingPlugin. Thinking it was > > a super essential part of any interactive (javascript forms) TW I > > automatically include it in all my TWS. But now came across and > > interesting problem. > > When I first created HTMLFormattingPlugin (I think it was my second or > third plugin, back in 2005), the TWCore did not support *any* native > use of HTML within tiddler content. Basic ... > "embedding" was subsequently added to the TWCore, sometime in 2006 (or > perhaps 2007?) so that -- as long as you don't need to mix TW- > formatted content (e.g., links to tiddlers, macros, etc.) within your > HTML content -- the TWCore allows you to use HTML syntax within a > tiddler without needing a plugin. > > Nonetheless, HTMFormattingPlugin is still very useful because it > *extends* the TWCore formatting in two ways: > * before the HTML is rendered, newlines are converted to "" to > preserve wiki-style line break handling (see HTMLFormattingPluginInfo > for more details) > * after the HTML is rendered, the resulting DOM elements are > recursively scanned for text elements, which are then 'wikified' to > expand any links, macros, etc. they contain > > I suspect the problem you are having is caused by the newlines > embedded in the onclick='...' handler within your HTML. The plugin > converts all newlines to "", which would create invalid code > within the script. Fortunately, you can easily bypass this conversion > by using either the or "psuedo-HTML" > syntax, as described in the HTMLFormattingPluginInfo. > > enjoy, > -e > Eric Shulman > TiddlyTools / ELS Design Studios > > > WAS THIS ANSWER HELPFUL? IF SO, PLEASE MAKE A DONATION > http://www.TiddlyTools.com/#Donations > note: donations are directly used to pay for food, rent, > gas, net connection, etc., so please give generously and often! > > Professional TiddlyWiki Consulting Services... > Analysis, Design, and Custom Solutions: > http://www.TiddlyTools.com/#Contact -- You received this message because you are subscribed to the Google Groups "TiddlyWiki" group. To post to this group, send email to tiddlywiki@googlegroups.com. To unsubscribe from this group, send email to tiddlywiki+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/tiddlywiki?hl=en.
[tw] Re: TW as Presentation+
Thanks Mans The TW has singlepagemode plugin is installed, and should be activated...I normally work in single page mode most of the timemaybe I need to force that condition...for other people viewing!!! The icons...I got most of them from - http://www.iconfinder.com/ - I understand they are open commons. Its not that obvious from just viewing the site, but I am enjoying using localStorage as a way to create and manipulate parametersin fact I find it slightly more straightforward and useful that config.options. Thanks again Skye On 18 abr, 13:22, Måns wrote: > Hi Skye > > THANKS :-D > > It's downright beautiful - and a great example on how far you can take > TiddlyWiki !!! > > I like the simplicity (and simple StyleSheet + PageTemplate!!) > > Are the icons licenced as common creative? - (I'd love to use those ) > > Imo the presentation should be viewed in one page mode - as the slides > don't roll into view - at least not in Chrome and an old FF in Win > XP... > > Very thoughtprovoking footage indeed - I'm sure you're students aren't > bored for one minute :-) > > Eric has made the CloseOtherTiddlers transclusion which might be > useful for this?... > > Skye - thanks for sharing this - it's *very* nice to see some of your > work... > > Great!!! > > Cheers Måns Mårtensson > > On Apr 18, 5:02 pm, skye riquelme wrote: > > > > > > > > > Hi All > > > In another thread (Opening Word file directly from local folder in > > TiddlyWiki? ) Mans challenged me (for the second or third time) to > > make available what I have been working on, with regards TW as a > > presentation package. > > > I have a problem in that I keep wanting to improve and improve my > > work...and never get around to showing it. Which is an interesting > > reflection as I often orient my students to NOT do exactly that!!! > > > Anyway, thanks Mans > > > So, here -www.unigaia-brasil.org/Materias/Reciclagem.htmlisan > > example.. the content is in portugues.but you should be able > > to get an idea of the working and look of the TW. > > > Please remember that this TW is meant to be a mini-study center...in > > this case on the topic of Recyclingand the presentation system is > > just part of that.. > > > The simplest part would be to click on the presentation icon (looks > > like a screen)...which opens the list of slidesclick on the first > > one...and then just follow the next/previous links (Erics > > ViewStoryPlugin). You should note two things.. > > ...when you start the presentation, a player panel will open at the > > bottom right of the pageit will start playing a recording of my > > giving this presentation...over html it may delay a little to upload > > and start.this page is normally distributed to students through > > Dropboxso the upload times are much better > > ...as you step through the slides note that the contents of the right > > panel changes...these are links to references, fotos, videos that > > relate to that slide (or at least the main theme of that slide). - > > the links to each theme created as I/students research a topic.and > > shown whenever a slide is tagged with the same theme - to see the > > themes...click on the green smiley faceits lists the main themes > > (generally written as questions)...and clicking a theme opens the list > > of sub-themes...etc. > > > Note also that this example, the presentation is all imagesbut > > the "slides" can equally be videos or webpages or pdfs..in this case > > the fotos are on the server...but they could equally be direct links > > to fotos on the web (although not recomended policy!!). > > > The black clock shows the breadcrumbs list of your navegation. > > > OK. one problem.on first opening this page you shouldnt be > > able to get in behind the workings (although backstage has not been > > turned of) - but you wont be able to edit things. There is a simple > > "trick" that allows people to become full editing partners in this TW, > > but I'd rather not divulge that in a public forum. Anyone interested > > seriously in this work could email me and I can explain how to turn on > > the editing ...(skye at unigaia-brasil dot org). > > > Hope you like it...it has been quit a learning curve to get > > there...and I still have plans to improve it even more. especially > > with feedback from you guys!! > > > Thanks > > Skye > > >http://www.unigaia-brasil.org/Materias/Reciclagem.html -- You received this message because you are subscribed to the Google Groups "TiddlyWiki" group. To post to this group, send email to tiddlywiki@googlegroups.com. To unsubscribe from this group, send email to tiddlywiki+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/tiddlywiki?hl=en.
[tw] TW as Presentation+
Hi All In another thread (Opening Word file directly from local folder in TiddlyWiki? ) Mans challenged me (for the second or third time) to make available what I have been working on, with regards TW as a presentation package. I have a problem in that I keep wanting to improve and improve my work...and never get around to showing it. Which is an interesting reflection as I often orient my students to NOT do exactly that!!! Anyway, thanks Mans So, here - www.unigaia-brasil.org/Materias/Reciclagem.html is an example.. the content is in portugues.but you should be able to get an idea of the working and look of the TW. Please remember that this TW is meant to be a mini-study center...in this case on the topic of Recyclingand the presentation system is just part of that.. The simplest part would be to click on the presentation icon (looks like a screen)...which opens the list of slidesclick on the first one...and then just follow the next/previous links (Erics ViewStoryPlugin). You should note two things.. ...when you start the presentation, a player panel will open at the bottom right of the pageit will start playing a recording of my giving this presentation...over html it may delay a little to upload and start.this page is normally distributed to students through Dropboxso the upload times are much better ...as you step through the slides note that the contents of the right panel changes...these are links to references, fotos, videos that relate to that slide (or at least the main theme of that slide). - the links to each theme created as I/students research a topic.and shown whenever a slide is tagged with the same theme - to see the themes...click on the green smiley faceits lists the main themes (generally written as questions)...and clicking a theme opens the list of sub-themes...etc. Note also that this example, the presentation is all imagesbut the "slides" can equally be videos or webpages or pdfs..in this case the fotos are on the server...but they could equally be direct links to fotos on the web (although not recomended policy!!). The black clock shows the breadcrumbs list of your navegation. OK. one problem.on first opening this page you shouldnt be able to get in behind the workings (although backstage has not been turned of) - but you wont be able to edit things. There is a simple "trick" that allows people to become full editing partners in this TW, but I'd rather not divulge that in a public forum. Anyone interested seriously in this work could email me and I can explain how to turn on the editing ...(skye at unigaia-brasil dot org). Hope you like it...it has been quit a learning curve to get there...and I still have plans to improve it even more. especially with feedback from you guys!! Thanks Skye http://www.unigaia-brasil.org/Materias/Reciclagem.html -- You received this message because you are subscribed to the Google Groups "TiddlyWiki" group. To post to this group, send email to tiddlywiki@googlegroups.com. To unsubscribe from this group, send email to tiddlywiki+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/tiddlywiki?hl=en.
[tw] Understanding HTMLFormattingPlugin
Hi All I am trying to understand Erics HTMLFormattingPlugin. Thinking it was a super essential part of any interactive (javascript forms) TW I automatically include it in all my TWS. But now came across and interesting problem. In a TW, with HTMLFormatting included...I tried the code - ..and cant get it to work. Then I disabled the HTMLFormattingPlugin...and it works Re-actived HTMLFormattingit stops working!!! So, whats up with the code that makes it NOT work when HTMLFormatting is abled.do I need HTMLFormatting at all? I now have the code working, but would like to understand why this happens... Using TW 2.6.1, under FF11.0 Thanks in Advance Skye -- You received this message because you are subscribed to the Google Groups "TiddlyWiki" group. To post to this group, send email to tiddlywiki@googlegroups.com. To unsubscribe from this group, send email to tiddlywiki+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/tiddlywiki?hl=en.
[tw] Refresh Tiddler in Side Panel?
Hi All I have two panels to the right of the page, created by divs in the PageTemplate and formated in StyleSheet. Frequently I refresh them both using "refreshDisplay()" in a a scriptin the PageTemplate both are set to force="true". Now sometimes I want to be able to refresh the view of one and not the other. I have tried using the code story.refreshTiddler(tiddlername,DEFAULT_VIEW_TEMPLATE,true) - whre tiddlername is the tiddler set in the PageTemplate for the appropriate panel. Now this does NOT refresh the view of the tiddler in the panel. If I open tiddlername in the storycolumn it is refreshed...and if I edit/save it...now the panel view is refreshedso it seems that story.refreshTiddler is refreshing the tiddler...but not refreshing the display of it...when its in the sidepanel. Is there some way I can atualise the view of a side panelwithoiut refreshing the whole page?? Thanks in Advance Skye -- You received this message because you are subscribed to the Google Groups "TiddlyWiki" group. To post to this group, send email to tiddlywiki@googlegroups.com. To unsubscribe from this group, send email to tiddlywiki+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/tiddlywiki?hl=en.
[tw] Re: Opening Word file directly from local folder in TiddlyWiki?
Hi sklpns e Mans Hey guys thanks for those suggestions. As Mans said the LaunchApplicationPLugin is quite a handy plugin and I have it working well. As my students normally access the courses through DropboxI can put applications that they may not have installed (like Freemind mind-mapping) in a shared Dropbop folder and have LauchAppsopen itso now they can run the program, even though they dont have it installed in their computer. And sklpns...thnks for those directions about OpenOfficeI´ll check that out imediately. Although I am not worried about using the iframe/ pdf route...remember the TW is to be viewed by students...so a PDF is great for them...and at the same time means that they cant mess around with my original presentationso suits me. And in fact I starting to use TW itself as my presentation package which makes life even easier...and TW as a presenter has some great advantages.. Thanks Skye On 17 abr, 11:00, sklpns wrote: > hey all > > this might be of some use as far as linking to files / folders within > a tw goes (at least under win xp) > > http://blog.verg.es/2007/08/sendto-clipboard-coolness-tiddlywiki.html > > it creates two new items in the "Send To" menu (accessible with right > click on the desired file in windows explorer). The first (clipboard - > file url) copies the file (or folder) url to the clipboard so it can > then be pasted to tiddler as a link to the selected file/folder. > > it can also be customized to one's liking: in my case I've set a > target attribute in the .hta file code, so that all the linked files > open within an i-frame embedded in the tw. > > @skye > > maybe exporting open office files to pdf just for the shake of making > them browser readable could be avoided. For me the following seem to > work: in the open office options menu (think you can find that in any > of the oo applications) there's a tab called network or internet > (can't say for sure as mine's not an english installation). Under that > you should see the option to use the open office plugin for firefox by > checking the relevant checkbox. > > Having done that, in the firefox options menu and in the applications > tab make sure that all the open office related entries (or the ones > you want i suppose) are set to open with the open office plugin (if > they aren't try setting them manually using the scroll menu on the > right). > > This should result in open office files being viewed within firefox. > If the relevant links are set to open in an iframe embedded in the tw > one doesn't even have to exit the tw environment at all. Only problem > is that recent firefox versions have some visibility problems with > open office files, especially within an i-frame, but nothing too > dreary I suppose. In any case and until this gets somehow resolved I;m > using ff portable version 3.6.24 for a project that relies heavily on > showing oo files within an i-frame. I'm suspecting that showing the > files in a new tab would not present major visibility issues. > > Furthermore: these guys here > > http://ubuntuforums.org/showthread.php?s=d5644fc05b95a88eea5d17e70d69... > > explain how to use the open office firefox plugin to also view > Microsoft office files within firefox! (see both pages of the thread) > > hope this makes sense and is somewhat useful > > cheers > sklpns -- You received this message because you are subscribed to the Google Groups "TiddlyWiki" group. To post to this group, send email to tiddlywiki@googlegroups.com. To unsubscribe from this group, send email to tiddlywiki+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/tiddlywiki?hl=en.
[tw] Re: Opening Word file directly from local folder in TiddlyWiki?
Hi Julie I am not an expert, but maybe I can shed some light on this. Firstly, your syntax is ok. But the file address is not. You can use relative file addresses like "/SubPasta/file.html" - which gets the file.html in the sub-folder "SubPasta"...ou maybe "../ BrotherPasta/file.html" - which gets the file.html from a folder parellel to one containing your TW. OR you can use full adresses...something like "file:///C:/Users/Name/Documents/TWFolder/ file.html" (obviously I am using a windows file structure). SO the syntax becomes [[simulation 1|/folderName/file.html]] Secondly. in the above cases your browser (I use FF) will open "file.html" probably in a new window (depending on your browser settings) because it (the browser) knows about .html files and knows what to do with them. But does your browser know what to do with a .docx file??? You may be able to set your browser settings to recognise this file extension it depends on your browsers ability. For example, as a teacher I work a lot with presentations...but they are a pain in relation to TWas I have yet to figure out how to get FF to understand OpenOffice extensions. So my simple work-around is to export my completed presentations into PDF format. which all (?) browsers know how to read. So I can use [[myPresentation|Folder/ present.pdf]] which opens the PDF file in a separate window. Or, what I normally use is something like "" which opens the pdf file directly inside the tiddler.so I dont even have to leave the TW environment!!! Hope that is both useful and (at least basically) correct Yours Skye On 13 abr, 11:03, Julie wrote: > I've been playing with a code I found somewhere to open a Word file > directly, which looks like this: > [[Simulation 1|file//Simulation1.docx]] > > where "Simulation 1" before the | is the Tiddler text > and the information after file is the document I want to open. > > When I do this (with or without the extension), I get the error: File > not found. Firefox can't find the file. > > Is there a way to have TiddlyWiki open a Word file directly from the > local folder where someone can click on the file and have it open > automatically (not save as)? > > Thanks in advance for your help! -- You received this message because you are subscribed to the Google Groups "TiddlyWiki" group. To post to this group, send email to tiddlywiki@googlegroups.com. To unsubscribe from this group, send email to tiddlywiki+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/tiddlywiki?hl=en.
[tw] Re: Positioning of Popups
Just to note, that if I comment out the bit of code setting the localStorage parameters...the popup returns to the correct positionallowing the script again...the popup open in the top left of the page again..why does the script change the behaviour of the popup??? Skye On 13 abr, 17:20, skye riquelme wrote: > Hi All > > Am trying to understand the positioning of popup windows. > > I have a header where I use icons as the main navegation labels (using > Erics SetIconPlugin). When clicked, some of these icons open a popup, > which often has another sub-set of icons for the user to select). And > this popup sometimes appears under, to the right of the appropriate > icon... great !!...and sometimes open up in the top left corner of the > page! Not so nice > > An example... one popup has four icons which opens other > popupsand it all works fine and the popup boxes are nicely > placed;.the code (called by from the HeaderPanel - a section > within the HeaderPanel tiddler) in the first popup panel is - > !!refs > {{ref{< 700px popupClass:sticky>><>}}} > {{ref{< popupClass:sticky>><>}}} > {{ref{< popupClass:sticky>><>}}} > {{ref{< popupClass:sticky>><>}}} > > Now, I decided to add a piece of script to this section, so that when > clicked the icon simply sets a localStorage variable, which is used to > control the display in the right side panel...and continues to display > the icons created by the code abovethe code is simply - >
[tw] Positioning of Popups
Hi All Am trying to understand the positioning of popup windows. I have a header where I use icons as the main navegation labels (using Erics SetIconPlugin). When clicked, some of these icons open a popup, which often has another sub-set of icons for the user to select). And this popup sometimes appears under, to the right of the appropriate icon... great !!...and sometimes open up in the top left corner of the page! Not so nice An example... one popup has four icons which opens other popupsand it all works fine and the popup boxes are nicely placed;.the code (called by from the HeaderPanel - a section within the HeaderPanel tiddler) in the first popup panel is - !!refs {{ref{<><>}}} {{ref{<><>}}} {{ref{<><>}}} {{ref{<><>}}} Now, I decided to add a piece of script to this section, so that when clicked the icon simply sets a localStorage variable, which is used to control the display in the right side panel...and continues to display the icons created by the code abovethe code is simply - localStorage.rightsidebar="refs";localStorage.rightparameters="limitesCrescimento";refreshDisplay();... when I add this code to the above..the popup now opens in the top left corner of the page.. Why does a did of code that only sets a localStorage variable change the positioning of the popup panel And how to stop this happening??? Thanks in Advance Skye (PS I have Erics CoreTweaks installed - including tweak 1151 - using TW 2.6.1 under FF11.0) -- You received this message because you are subscribed to the Google Groups "TiddlyWiki" group. To post to this group, send email to tiddlywiki@googlegroups.com. To unsubscribe from this group, send email to tiddlywiki+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/tiddlywiki?hl=en.
[tw] Re: sort on TiddlerSlice
Sorry about that...It does work! it was my data that was not organized as I thought it was.I was wrong and TW was right after all Now I just have to figure out how to use this in a two level sort !!! Thanks Skye On 29 mar, 15:49, skye riquelme wrote: > .still cant get it to work > > ..I now have > < 'store.getTiddlerSlice(tiddler.title,"Dia")' descending write > '"|"+store.getTiddlerSlice(tiddler.title,"Tema") > +"|"+store.getTiddlerSlice(tiddler.title,"Dia") > +"|"+store.getTiddlerSlice(tiddler.title,"Sessao")+"|... > > ..what is strange that the write command correctly evaluates and > outputs store.getTiddlerSlice(tiddler.title,"Dia").. but the > sortBy doesnt seem to recognize it ...its not sorting on that > value > > I'm stumped!! > > Thanks > Skye > > On 28 mar, 03:14, Måns wrote: > > > > > > > > > > > Hi Skye > > > > I have a set of tiddlers that contain information in slices (eg > > > /% > > > |parameter1|data1| > > > |parameter2|data2| > > > %/ > > > > I want to be able to sort these tiddlers according to a slice > > > parameter someting like... > > > > < > > 'slice value of parameter1' write ' > > > > this obviously does not work..can I use a reasonably simple > > > javascript expression to sit in the sortBy expression? > > > This didn't > > work?:http://groups.google.com/group/tiddlywiki/browse_thread/thread/f73eeb... > > sortBy 'store.getTiddlerText(tiddler.title+"::parameter1","")' > > > Cheers Måns Mårtensson > > On 28 mar, 03:14, Måns wrote: > > > > > > > > > Hi Skye > > > > I have a set of tiddlers that contain information in slices (eg > > > /% > > > |parameter1|data1| > > > |parameter2|data2| > > > %/ > > > > I want to be able to sort these tiddlers according to a slice > > > parameter someting like... > > > > < > > 'slice value of parameter1' write ' > > > > this obviously does not work..can I use a reasonably simple > > > javascript expression to sit in the sortBy expression? > > > This didn't > > work?:http://groups.google.com/group/tiddlywiki/browse_thread/thread/f73eeb... > > sortBy 'store.getTiddlerText(tiddler.title+"::parameter1","")' > > > Cheers 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 tiddlywiki@googlegroups.com. To unsubscribe from this group, send email to tiddlywiki+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/tiddlywiki?hl=en.
[tw] Re: sort on TiddlerSlice
.still cant get it to work ..I now have < wrote: > Hi Skye > > > I have a set of tiddlers that contain information in slices (eg > > /% > > |parameter1|data1| > > |parameter2|data2| > > %/ > > > I want to be able to sort these tiddlers according to a slice > > parameter someting like... > > > < > 'slice value of parameter1' write ' > > > this obviously does not work..can I use a reasonably simple > > javascript expression to sit in the sortBy expression? > > This didn't > work?:http://groups.google.com/group/tiddlywiki/browse_thread/thread/f73eeb... > sortBy 'store.getTiddlerText(tiddler.title+"::parameter1","")' > > Cheers Måns Mårtensson On 28 mar, 03:14, Måns wrote: > Hi Skye > > > I have a set of tiddlers that contain information in slices (eg > > /% > > |parameter1|data1| > > |parameter2|data2| > > %/ > > > I want to be able to sort these tiddlers according to a slice > > parameter someting like... > > > < > 'slice value of parameter1' write ' > > > this obviously does not work..can I use a reasonably simple > > javascript expression to sit in the sortBy expression? > > This didn't > work?:http://groups.google.com/group/tiddlywiki/browse_thread/thread/f73eeb... > sortBy 'store.getTiddlerText(tiddler.title+"::parameter1","")' > > Cheers 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 tiddlywiki@googlegroups.com. To unsubscribe from this group, send email to tiddlywiki+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/tiddlywiki?hl=en.
[tw] sort on TiddlerSlice
Hi All I have a set of tiddlers that contain information in slices (eg /% |parameter1|data1| |parameter2|data2| %/ I want to be able to sort these tiddlers according to a slice parameter someting like...
[tw] #story:TiddlerName to open specific tiddler as default???
Hi All I read in an old post that I can use the code "..index.html#story:TiddlerName" to force the TW index to open (default) with "TiddlerName" I am trying to use something a bit more complicatedlike calling from one TW to another using " ...index.html#story:"+config.options.txtTiddlerName+" txtName:"+config.options.txtTiddlerName" ...thinking that this will open the tiddler TiddlerName AND set the txtName to the same value. NOW...in this case TiddlerName contains a space-separated list of tiddlers (created originally by Erics storySaverPlugin)..its actually a slide show presentation SO...when the first TW calls the second (opening in new tab)it shows/opens all the tiddlers listed in TiddlerName..I just want it to show TiddlerNamenot open all its contents??? Its also strange as I have ShowSinglePage activated...so it should only show one page...not all of them!!! Suggestions very welcome... Thanks Skye -- You received this message because you are subscribed to the Google Groups "TiddlyWiki" group. To post to this group, send email to tiddlywiki@googlegroups.com. To unsubscribe from this group, send email to tiddlywiki+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/tiddlywiki?hl=en.
[tw] Nested FETs??
Hi All I want to use FETs to drill down through a series of sub, sub, sub items.. Like, I have an inicial FET that has an output of - write ' "<"+">\n"'>> And now Listas...has the code - <> /% !!lista <> !!end %/ So the first FET outputs a list that is actually a series of <>'s. the showPopups open a popup window...but does not show the output of the second FET (looks for tiddlers tagged with the name of the find from the first FET) If I can get this to work.the Listas FET would also call Listas##listas ! Why doesnt the popUps show the results of the second FET search??? Thanks in Advance Skye -- You received this message because you are subscribed to the Google Groups "TiddlyWiki" group. To post to this group, send email to tiddlywiki@googlegroups.com. To unsubscribe from this group, send email to tiddlywiki+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/tiddlywiki?hl=en.
[tw] Re: automatic editing of tiddlers
Opa I was not aware that the return ends the scrip..now you point it out it seems so obvious !!! text.replace...I thought you were refering to a TW function and not the basic javascript guess I should go back to bed and try again tomorrowwhen my brain is fully engaged... thanks for your patience!!! Skye On 2 mar, 13:46, Eric Shulman wrote: > > var newtext=fullref+"|\n|Autor||\n|Editora||\n|Fonte|www|\n|Tipo|pdf|\n > > \n!!Comentarios\n"; > > return newtext; > > ^^^ WHY?!? (this *ends* the script *without saving the > tiddler*... *none* of the code that follows it will *ever* be invoked) > > > store.saveTiddler( tids[t].title, tids[t].title, newtext, > > tids[t].modifier, tids[t].modified,tids[t].tags, tids[t].fields); > > > > You mentioned I could use "text.replace(..)" ... I am not familiar > > with that function...how does it work...syntax... > > You are *already* using the .replace(...) function, here: > > var firstreplace=text.replace("< Link|"); > > Any decent online Javascript reference will have the full syntax and > usage. > > -e -- You received this message because you are subscribed to the Google Groups "TiddlyWiki" group. To post to this group, send email to tiddlywiki@googlegroups.com. To unsubscribe from this group, send email to tiddlywiki+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/tiddlywiki?hl=en.
[tw] Catching Ideas....how to start?
Hi All Guess like most people, I often have brilliant ideaswell ideas at leastin the middle of doing something else...and have that conflict between needing to concentrate on what I am doing.or stop and record the idea. .since I live a reasonable part of my life in Firefox (thats a strange concept) I am wondering if it would be possible to build a bookmarkletthat works a bit like TiddlySnip...only instead of grabbing current page details...it simply opens a window that alllows me to write my idea (simple text) and the saves it to a TW in my computadorfor later processing ok course I could just have a TW loaded with Erics QuickNote plugin..open at all times. but a bookmarklet in Firefox would be much more fun. AND I have no idea at all about how to go about building a bookmarklet to do thisany hints/leads/bits of code would be appreciated. Thanks in Advance Skye -- You received this message because you are subscribed to the Google Groups "TiddlyWiki" group. To post to this group, send email to tiddlywiki@googlegroups.com. To unsubscribe from this group, send email to tiddlywiki+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/tiddlywiki?hl=en.
[tw] Re: automatic editing of tiddlers
Hi Again Thanks Eric. so now I have var ref="???"; var tids=store.getMatchingTiddlers(ref); for (var t=0; t>"); var fullref=firstreplace.slice(0,endref); var newtext=fullref+"|\n|Autor||\n|Editora||\n|Fonte|www|\n|Tipo|pdf|\n \n!!Comentarios\n"; return newtext; store.saveTiddler( tids[t].title, tids[t].title, newtext, tids[t].modifier, tids[t].modified,tids[t].tags, tids[t].fields); autoSaveChanges(); story.displayTiddler(tids[t].title,null); } ..yes...in this case I am searching for tag "???" and only want to change the text..in my code I output newtext.and can see that the string manipulation of the original text is correctbut it is still not overwriting the new text.the tiddler still shows the original text...seems the store.saveTiddler part is not functioning...thats the part that I cant get right. You mentioned I could use "text.replace(..)" ... I am not familiar with that function...how does it work...syntax... Thanks Skye -- You received this message because you are subscribed to the Google Groups "TiddlyWiki" group. To post to this group, send email to tiddlywiki@googlegroups.com. To unsubscribe from this group, send email to tiddlywiki+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/tiddlywiki?hl=en.
[tw] automatic editing of tiddlers
Hi Again I am wanting to change the text in a large numer of tiddlersthey follow a simple pattern and the editing of the text is quite straight forward. But I cant get the script to make the changes to the original tidller I have
[tw] saveFile function?
Hi All In a few plugins such as Eric SaveTiddlerToFile ...I see the coding saveFile(target,content).. but when I try a simple bit of code to test this function...it does not work...is saveFile part of the core code...ou defined somewhere in another plugin... more importantly can, and if so, how do I use it?? I know Eric can do magic with TW..and this is some neat trick Can I get in on it Just a refererence to where to read up on this function would be great Thanks Skye -- You received this message because you are subscribed to the Google Groups "TiddlyWiki" group. To post to this group, send email to tiddlywiki@googlegroups.com. To unsubscribe from this group, send email to tiddlywiki+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/tiddlywiki?hl=en.
[tw] Re: Help with javascript out
Thanks Eric... thats clears up the issue, but does not solve my problem..using just your InlineJavascript capabilities... how can I have a user select from a list of options ( as in my initial question) and then use your script to render the output Thanks Skye On Jan 14, 5:41 pm, Eric Shulman wrote: > > > > > > return out; > > > > > ..but when I put that same code inside a HTML form, like this - > > > > > > > I don´t see the output... why doesn´t the script give me the same > > output when inside the > > The ability to *render output* by returning text from a script is an > enhanced feature of my InlineJavascriptPlugin and is not supported by > native HTML form 'onclick' script handling. > > -e -- You received this message because you are subscribed to the Google Groups "TiddlyWiki" group. To post to this group, send email to tiddlywiki@googlegroups.com. To unsubscribe from this group, send email to tiddlywiki+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/tiddlywiki?hl=en.
[tw] Help with javascript out
Hi All Still on a steep learning curve with javascript... for example this code works - var ref="ecoConstrucao"; var out=""; var tids=""; var tids=store.sortTiddlers(store.getMatchingTiddlers(ref),"- modified"); for (var t=0; t
[tw] syntax problem - MatchTagsPlugin
Hi All I am trying to use MatchTagsPlugin like this - var out=""; var materia=config.options.txtMateria; var topico=config.options.txtTopico; var comment="comment"; var tids=store.sortTiddlers(store.getMatchingTiddlers("comment AND materia AND topico"),"-modified"); for (var t=0; t