[tw] Using TW as database

2010-08-17 Thread Claudio
Hi All,

To imitate this good app (http://www.thepapertiger.com/), here're
something I want to try.

1. Append "serial number" to a custom field so that when I add a
tiddler, it will be labeled 001, and subsequent tiddlers 002,
003,etc. Better if this field is not user-editable.

2. Optionally display tiddlers as rows, with a "preview" column that
displays the first few lines of the content.
|Serial|Title|Tag|Content|Last Modified|Custom Field 1|Custom Field 2|
|023|Test Tiddler|This is a testing tiddler that...|2010-08-08|CF1|
CF2|

Click on a title displays the tiddler the standard way.


Any ideas?

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To post to this group, send email to tiddlyw...@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: Write down a title and hit create to create a new tiddler

2010-08-17 Thread octw
Further one.

I followed all the steps Eric said. It worked. But the input box
displayed a word 'undefined' in it.
I'd like to change it to the date of today as the default value. So I
add one line in 'SystemTweak':

config.options.txtNewTiddlerName = <>;

This cause an error when reload my TW: SyntaxError: illegal XML
character

Any ideas?

octw

On Aug 18, 9:16 am, octw  wrote:
> Great thanks Eric, you are the man.
>
> Cheers,
> octw
>
> On 8月17日, 下午10時48分, Eric Shulman  wrote:
>
> > > I'm wondering if it is possible to put an input box in front of the
> > > 'new tiddler' button, so one can write down some words in the box then
> > > hit the 'new tiddler' button to open the tiddler with the title 'some
> > > words'?
>
> > This *can* be done.
>
> > 1) create an input field using:
> >    <>
> > The *name* of the option is arbitrary.  The value entered into the
> > input field is stored in
> >    config.options.txtNewTiddlerName
>
> > 2) create the desired newTiddler macro:
> >    <>
> > Note use of the "title:... *evaluated* parameter.  This retrieves the
> > value stored by the <> macro and uses it as the value for the
> > new tiddler.
>
> > HOWEVER
>
> > The <> macro parameters are evaluated when the macro is
> > initially *rendered*, not when the resulting command link is clicked
> > upon.  Thus, by the time you enter the desired new tiddler title into
> > the input field, the value of the title:{{...}} parameter has already
> > been set.
>
> > Fortunately, I've written a plugin that enables *re-calculation* of
> > the macro parameters whenever you CLICK on the rendered command link:
> >    http://www.TiddlyTools.com/#ClickifyPlugin
> > To use, simply change
> >    <>
> > to
> >    <>
>
> > enjoy,
> > -e
> > Eric Shulman
> > TiddlyTools / ELS Design Studios

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To post to this group, send email to tiddlyw...@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: LoadTiddlersPlugin trouble

2010-08-17 Thread Dave Gifford - http://www.giffmex.org/
Would the Spanish characters affect LoadTiddlersPlugin?

Dave

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To post to this group, send email to tiddlyw...@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: SyntaxHighlighter outdated

2010-08-17 Thread Glantucan
Wow!

That was fast :)

Thanks man!

I will check it out tomorrow.
About brushes I would really apreciate actionscript 3

I understand that at the moment the old way is not available. I mean:

// some as3 code




-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To post to this group, send email to tiddlyw...@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: Write down a title and hit create to create a new tiddler

2010-08-17 Thread octw
Great thanks Eric, you are the man.

Cheers,
octw

On 8月17日, 下午10時48分, Eric Shulman  wrote:
> > I'm wondering if it is possible to put an input box in front of the
> > 'new tiddler' button, so one can write down some words in the box then
> > hit the 'new tiddler' button to open the tiddler with the title 'some
> > words'?
>
> This *can* be done.
>
> 1) create an input field using:
>    <>
> The *name* of the option is arbitrary.  The value entered into the
> input field is stored in
>    config.options.txtNewTiddlerName
>
> 2) create the desired newTiddler macro:
>    <>
> Note use of the "title:... *evaluated* parameter.  This retrieves the
> value stored by the <> macro and uses it as the value for the
> new tiddler.
>
> HOWEVER
>
> The <> macro parameters are evaluated when the macro is
> initially *rendered*, not when the resulting command link is clicked
> upon.  Thus, by the time you enter the desired new tiddler title into
> the input field, the value of the title:{{...}} parameter has already
> been set.
>
> Fortunately, I've written a plugin that enables *re-calculation* of
> the macro parameters whenever you CLICK on the rendered command link:
>    http://www.TiddlyTools.com/#ClickifyPlugin
> To use, simply change
>    <>
> to
>    <>
>
> enjoy,
> -e
> Eric Shulman
> TiddlyTools / ELS Design Studios

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To post to this group, send email to tiddlyw...@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] SaveAs without Filename confirm??

2010-08-17 Thread skye riquelme
Hi Again

I have asked something simillar before.here's hoping this
time...is it possible to modify SaveAsPlugin (tiddlyTools) so that
the user does not have to confirm the filename and
directory...ie   in the macro call specifies the filename, type,
tags, replaceall the parameters and then clicking the macro
button...just stores away using the parameter information...without
the local navegation and manual confirmation  that happens now

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 tiddlyw...@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.



Re: [tw] Re: Write down a title and hit create to create a new tiddler

2010-08-17 Thread Anthony Muscio
Of course you could use Erics great GotoPlugin.

http://www.TiddlyTools.com/#GotoPlugin

If there is no matching tiddler is found you just hit enter and it creates
the tiddler. This will not use any parameters otherwise possible in a custom
new tiddler but, if your tiddlers are defined more by how they are tagged
than what they contain you can use
http://www.TiddlyTools.com/#TaggedTemplateTweakto
control the "look" of different tiddlers by tag.

Eric,

I wonder if in GoTo Plugin using the filter
eg;
<>

Any Tiddler created this way could be automatically tagged by the filter eg
above "plugininfo"

This makes the GoTo plugin a smart "New Tiddler" giving the users the
ability to avoid duplicates and see similar names first.

eg;
<>

Would allow you to search the titles of all reference tiddlers, optionaly
search all tiddlers for research in the content or create a tiddlers tagged
reference.

Tony

Anthony Muscio
LaSourceProjects.org Open Source Sustainability Projects
LaSource.com.au  Sustainable Products and
Business
SerendipityIdeas.com IT hints and Tips and Website hosting
Like personal Web 2.0 ? see www.tiddlywiki.com



On Wed, Aug 18, 2010 at 00:48, Eric Shulman  wrote:

> > I'm wondering if it is possible to put an input box in front of the
> > 'new tiddler' button, so one can write down some words in the box then
> > hit the 'new tiddler' button to open the tiddler with the title 'some
> > words'?
>
> This *can* be done.
>
>
> 1) create an input field using:
>   <>
> The *name* of the option is arbitrary.  The value entered into the
> input field is stored in
>   config.options.txtNewTiddlerName
>
> 2) create the desired newTiddler macro:
>   <>
> Note use of the "title:... *evaluated* parameter.  This retrieves the
> value stored by the <> macro and uses it as the value for the
> new tiddler.
>
> HOWEVER
>
> The <> macro parameters are evaluated when the macro is
> initially *rendered*, not when the resulting command link is clicked
> upon.  Thus, by the time you enter the desired new tiddler title into
> the input field, the value of the title:{{...}} parameter has already
> been set.
>
> Fortunately, I've written a plugin that enables *re-calculation* of
> the macro parameters whenever you CLICK on the rendered command link:
>   http://www.TiddlyTools.com/#ClickifyPlugin
> To use, simply change
>   <>
> to
>   <>
>
> enjoy,
> -e
> Eric Shulman
> TiddlyTools / ELS Design Studios
>
> --
> You received this message because you are subscribed to the Google Groups
> "TiddlyWiki" group.
> To post to this group, send email to tiddlyw...@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.
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To post to this group, send email to tiddlyw...@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] LoadTiddlersPlugin trouble

2010-08-17 Thread Dave Gifford - http://www.giffmex.org/
The following is what I did:

1. I uploaded my original file from the desktop to 
http://www.giffmex.org/NotasGiffmex.html
2. I downloaded a copy from that URL to folder x.
3. I then made one change to the original file and uploaded it again
to the URL
4. I then opened the copy in folder x and hit 'actualizar' (the
loadtiddlers
macro).

Here is what happened:

1. A box appeared saying I had imported one tiddler.
2. It created a tiddler called NotasGiffmex.org even though I made the
change Eric suggested in the macro.
3. It did NOT import the tiddler I had modified.
4. It did NOT save changes, so when I went to close it told me I
needed to save changes. It's important to me that it not do this.

What might I be doing wrong?

Dave

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To post to this group, send email to tiddlyw...@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: Spread out FeT generated thumbnails to a selection of tiddlers

2010-08-17 Thread julien23
Thanks a lot it works fine ( except for tidler title with the
character ' )

I just need to do a few adjustments to match my initial layout...

Thus I added

   class='thumbnails'

in

   

but it would not let me define attributes for thumbnails in
[[StyleSheet]]

   .thumbnails {
border:1px solid [[ColorPalette::Foreground]];
}

am I missing something?

Regards

Julien

On Aug 17, 8:46 am, Måns  wrote:
> You might want to change your fET to:
> <     where
>         'tiddler.tags.contains("attachment") &&
> tiddler.tags.contains("$1") && tiddler.text.contains("image") '
>     sortBy
>         tiddler.created
>     descending
>    write
>         '"[img(,12em+)["+tiddler.title+"]] "'>>
>
> and write in your ViewTemplate: 
> to make it work..
>
> Regards Måns Mårtensson
>
> On 16 Aug., 23:15, Måns  wrote:
>
> > Hi Julien23
>
> > On 16 Aug., 18:39, julien23  wrote:> Most of my 
> > tiddlers start with thumbnails with this FeT :
> > ...
> > > Is there a way to automate that ?
>
> > > Could it be something to do with Stylesheet ? Transclusion ?
>
> > There are several ways to "automate" showing the result of your fEt in
> > tiddlers.
> > One idea is to use the tiddlermacro (<>) in your
> > ViewTemplate tiddler.
> > Put your fEt in a tiddler [[thumbnails]] and put it in your
> > ViewTemplate like this:
> > 
>
> > You might also want to use HideWhenPlugin - or TaggedTemplateTweak
> > plugin - to show the fEt only in tiddlers tagged with "SomeTag"
>
> > Regards 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 tiddlyw...@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: Write down a title and hit create to create a new tiddler

2010-08-17 Thread Eric Shulman
> I'm wondering if it is possible to put an input box in front of the
> 'new tiddler' button, so one can write down some words in the box then
> hit the 'new tiddler' button to open the tiddler with the title 'some
> words'?

This *can* be done.


1) create an input field using:
   <>
The *name* of the option is arbitrary.  The value entered into the
input field is stored in
   config.options.txtNewTiddlerName

2) create the desired newTiddler macro:
   <>
Note use of the "title:... *evaluated* parameter.  This retrieves the
value stored by the <> macro and uses it as the value for the
new tiddler.

HOWEVER

The <> macro parameters are evaluated when the macro is
initially *rendered*, not when the resulting command link is clicked
upon.  Thus, by the time you enter the desired new tiddler title into
the input field, the value of the title:{{...}} parameter has already
been set.

Fortunately, I've written a plugin that enables *re-calculation* of
the macro parameters whenever you CLICK on the rendered command link:
   http://www.TiddlyTools.com/#ClickifyPlugin
To use, simply change
   <>
to
   <>

enjoy,
-e
Eric Shulman
TiddlyTools / ELS Design Studios

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To post to this group, send email to tiddlyw...@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: SyntaxHighlighter outdated

2010-08-17 Thread PMario
Have a look at: syntaxhighlighter space [1]
The status is erxperimental, because, if you use expert mode (disabled
by default) a vanilla tw can't render the new code. So, there is no
fallback yet. If you use the default configuration everything should
be fine.

I did test the basics. But any feedback would be welcome.
And it would be interesting if you describe your usecase. Which
languages (brushes), do you want to highlight.

text, css, js, xml are included by default.

to use it, import all tiddlers tagged "syntax" or include
syntaxhighlighter space into your space.

Download [2]

regards Mario
[1] http://syntaxhighlighter.tiddlyspace.com/#SyntaxHighlighterPlugin3Info
[2] http://syntaxhighlighter.tiddlyspace.com/?download=TWHighlightSyntax.html

On Aug 15, 3:04 am, Glantucan  wrote:
> First of all, thanks all for the support you are giving to this
> awesome tool. I just started using it a week ago and I'm loving it.
>
> I found the former plugin to work quite well in genral but the
> different brushes are quite oudated indeed, though there is an up to
> date version here:http://alexgorbatchev.com/SyntaxHighlighter/
>
> I'm not a javascript guru myself (not even a newbe) so I wonder
> whether  there is an easy way to update the TW plugin, or if there is
> someone actually using it.
>
> Thanks in advance
>
> Have fun ;)

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To post to this group, send email to tiddlyw...@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] [HowTo] Write down a title and hit create to create a new tiddler

2010-08-17 Thread octw
Hi there,

I'm wondering if it is possible to put an input box in front of the
'new tiddler' button, so one can write down some words in the box then
hit the 'new tiddler' button to open the tiddler with the title 'some
words'?

Thank for help.

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To post to this group, send email to tiddlyw...@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.