hi Dave,
Something like this?
<script>
var out = "" ;
var tmp = null;
for (var i=1; i<7; ++i)
{
tmp = store.getTiddlerText('TiddlerName');
tmp = (tmp)?tmp:'tiddler not found';
out += tmp + '\n';
}
return wikify(out,place) ;
</script>
Descriptions:
[1] http://tiddlywiki.org/wiki/Dev:GetTiddlerText
[2] http://tiddlywiki.org/wiki/Dev:Wikify
Valuable place to find many things
[3]http://www.tiddlytools.com/insideTW/
<<tiddler xx>> produces
<span>xx tiddler text</span>
thats why it didn't work
On Feb 9, 6:31 am, Dave Parker <[email protected]> wrote:
> Good evening...
>
> If I use this script:
>
> <script>
> var out = "" ;
> for (var i=1; i<7; ++i)
> {
> out += "|a|b|\n" ;}
>
> return out ;
> </script>
>
> I get a 6 row table of 2 columns.
>
> But if I use this:
>
> <script>
> var out = "" ;
> for (var i=1; i<7; ++i)
> {
> out += "<<tiddler [[TiddlerName]]\>\>\n" ;}
>
> return out ;
> </script>
> referring to a tiddler "TiddlerName" that has
> |a|b|
> in it,
>
> I get 6 separate two-cell tables. I need to make the tables using the
> <<tiddler TiddlerName>> method. Can anyone tell me why this is
> happening and how to correct it?
>
> Thanks,
> Dave P
--
You received this message because you are subscribed to the Google Groups
"TiddlyWiki" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/tiddlywiki?hl=en.