[pmwiki-users] XToDo more help needed
Peter K.H. Gragert
p.k.h.gragert at skyaccess.nl
Fri Nov 2 11:41:52 CDT 2007
Hallo one step further wit XToDo
but not yet finished ;-(
Thanks to Petko (a missing s in 'directive' ) I am one step further .
BUT now I am stuck again.
In XToDoDisplay function at the end have the following:
$output[] = "(:div class='todo-legend':)\nLegend: P*U: Priority *
Urgency\n(:divend:)";
$tmp = implode('', $output);
$tmp2 = MarkupToHTML($pagename,$tmp);
$dbg_XToDo->msgAndMaybeStop(false,"L728 $tmp2 ","orange");
// return FmtPageName(implode('', $output), $pagename);
??? What should work here???? This not:
return FmtPageName($tmp, $pagename);
After $ouput[] I inserted 'debugging' info. And $tmp2 is printed by my
$dbg_XToDo (..) and is shown as the table I want to see and which
(nearly) looks like the example in the recipe at PmWiki (Cookbook/ToDo)
But at the real place it looks like this .????
||align=center cellpadding=0 cellspacing=0 class=todo-list
||! ID ||! Priority ||! Urgency ||! P*U ||! Status ||! Created ||! Due ||!
Completed ||
||
<http://localhost/TESTpmwiki/pmwiki.php?n=Main.HomePage?action=todo&do=edit-
todo-item&todo-item=000001&todo-group=XToDoMain&todo-group-name=Main> 000001
||High ||Low || 5 ||Open || 2007-11-01 || 2007-11-03 || ||
|| ||Personal (Peter) - todo implementeren ||||||||||||||
||
<http://localhost/TESTpmwiki/pmwiki.php?n=Main.HomePage?action=todo&do=edit-
todo-item&todo-item=000002&todo-group=XToDoMain&todo-group-name=Main> 000002
||Low ||Low || 1 ||Open || 2007-11-01 || 2007-11-02 || ||
|| ||Other (Peter) - Geaendert 2 november ||||||||||||||
(:div class='todo-legend':)
Legend: P*U: Priority * Urgency
(:divend:)
So I do not understand the markup-machinery fully ;-(
By the way a klick locally on the links (in this mail editing) eg 000001
opens browser and shows the correct item . to 'update' . ;-)
.
And the wiki/Cookbook/ToDo page is password protected ..?!
Greetings
PKHG
-------------- next part --------------
An HTML attachment was scrubbed...
URL: /pipermail/pmwiki-users/attachments/20071102/078e75c6/attachment.html
More information about the pmwiki-users
mailing list