I have made the following macro, and everything works fine except
<<notes>>, which renders with the error "tiddler has no properties" in
the resulting tiddler where I call <<PageText 1>>
//{{{
config.macros.PageText = {};
config.macros.PageText.handler = function
(place,macroName,params,wikifier,paramString,tiddler){
var pagenumber = params[0];
var pagecontent = "";
pagecontent = "{{pages{\n| Page " + pagenumber + " | Notes |\n|
<<tiddler [[Entire Text##Page " + pagenumber + "]]>>|<<notes>>|
\n}}}";
wikify(pagecontent, place);
};
//}}}
Typed manually into a tiddler, the following code works fine:
{{pages{
| Page 1 | Notes |
|<<tiddler [[Entire Text##Page 1]]>>|<<notes>>|
}}}
Anyone understand why my macro produces an error?
Thanks,
Matthew
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---