Re: [tw] Removing newlines from automated titlegeneration and adding space between tags (js questions)

2010-01-18 Thread FND
I'm having a hard time relating to this (isolation, minimal test case etc.), so I'll just address the symptoms as mentioned in the topic: Removing newlines from [title] Tiddler titles aren't supposed to contain line breaks, but let's ignore that for now. You want is the trim method, which

[tw] Re: Changing slider button style

2010-01-18 Thread Morris Gray
Depending on where you have the slider this will get rid of the border put this in your StyleSheet .button { border:0px;} .viewer .button { border:0px;} #mainMenu .button { border:0px; background:transparent;} etc. If you want the full Monty use this or modifications of it. e.g.

[tw] Re: Formatting a date string inside foreachtiddler macro

2010-01-18 Thread Morris Gray
Try tiddler.modified.formatString(.0MM.0DD) Morris On Jan 18, 11:33 pm, yardbird trent.jor...@gmail.com wrote: Thanks Alan, I played with this for a while but couldn't get it to work for me as a script. I've realised my bigger problem with what I'd like to do is that, I'd really like

[tw] Re: Formatting a date string inside foreachtiddler macro

2010-01-18 Thread AlanBCohen
If you are using FormTiddlerPlugin (or some other technique) to define HTML forms for data input and retrieval, then this may be helpful; instead of defining the field type=text, use type=date. As referred to at http://dev.w3.org/html5/markup/input.date.html Specifies that its input element is

[tw] Re: Removing newlines from automated titlegeneration and adding space between tags (js questions)

2010-01-18 Thread AlanBCohen
I'm not a heavy JavaScript guy either, but these two lines seem to me to be the problem. var tid=prompt('New title will become:\n\n',tt_alias+who +when.formatString('$1')); var tags=prompt('Write tags here(make space between words) (lesson HAS to be one of them):\n\n',tt_alias+who+lesson);

Re: [tw] Re: How to Upload MPTW to TiddlySpot?

2010-01-18 Thread Neil Olonoff
Mans and all, Regarding your instructions concerning uploading MPTW to TiddlySpot, replacing an existing TiddlyWiki: I do not have the TspotControls tiddler in my MPTW. I have the TspotSetupPlugin which looks tailor-made for what I'm trying to do. Unfortunately, I am such a newbie that I don't

[tw] What if your username isn't a WikiWord?

2010-01-18 Thread Neil Olonoff
Another newbie question: The instructions for including your username say: Your username for signing your edits. Write it as a WikiWord javascript:;(eg JoeBloggs javascript:;) Does it matter if your username isn't a WikiWord? What are the tradeoffs? thanks, Neil Neil Olonoff

[tw] Re: Implement [[hyperlink]] within {{{pre}}}

2010-01-18 Thread TK
Ken, thanks for your reply. I did the following html precode [[link]] code/pre /html but it does not work. The [[link]] does not create a hyperlink to another tiddler. Tony On Jan 18, 7:27 am, Ken Girard ken.gir...@gmail.com wrote: Insert the html inside htmlpre.../pre/html tags.

Re: [tw] Re: Run jQuery code at startup

2010-01-18 Thread Michael Mahemoff
On Sat, Jan 16, 2010 at 6:18 PM, shavinder shavinderpalsi...@gmail.comwrote: The plugin is eval()'d by TiddlyWiki core after .header (and the page) has loaded, so the body of jQuery(.header') never runs. You can just eliminate it in your plugin and do:

[tw] Re: Formatting a date string inside foreachtiddler macro

2010-01-18 Thread yardbird
Thanks Alan, I just tried this, but it didn't seam to help any. Even though I've defined it as type=date in the template tiddler, specifically input name=startdate type=date style=width:100% / When you look at the actual tiddler created the data still seems to be stored as a string. ie you

[tw] Re: Implement [[hyperlink]] within {{{pre}}}

2010-01-18 Thread Morris Gray
If the shell scripts of necessity must be enclosed in triple brackets, you can try using the pretty link method and make a link from whole lot, brackets and script. Like this: [[PrettyLink|TiddlerToOpen]] [[{{{script}}}|TiddlerToOpen]] This should work unless some of your script characters are

[tw] Re: Implement [[hyperlink]] within {{{pre}}}

2010-01-18 Thread Mark S.
Just to be sure ... you did install the HTMLFormattingPlugin from tiddlytools.com, right? On Jan 18, 2:52 pm, TK tonykelly...@gmail.com wrote: Ken, thanks for your reply. I did the following html         precode [[link]] code/pre /html but it does not work. The [[link]] does not create

[tw] Re: Implement [[hyperlink]] within {{{pre}}}

2010-01-18 Thread Morris Gray
On Jan 19, 12:52 pm, Mark S. throa...@yahoo.com wrote: Just to be sure ... you did install the HTMLFormattingPlugin from tiddlytools.com, right? I confirm that this example does work with the HTML plugin installed (Was the TiddlyWiki saved and reloaded?) htmlprecode [[link]] code/pre/html

Re: [tw] What if your username isn't a WikiWord?

2010-01-18 Thread Alex Hough
it doesn't get wikified: this means that the word, when clicked will be a link, to either an non existing tiddler or an existing one with some details about the author should he care to add them. You can use the double brackets if you want you name separated with a space [[First Second]] ALex