[pmwiki-users] XToDo more help needed

Ben Wilson dausha at gmail.com
Fri Nov 2 12:04:13 CDT 2007


I really should look into rewriting XTodo from scratch . . .

On 11/2/07, Peter K.H. Gragert <p.k.h.gragert at skyaccess.nl> wrote:
>
>  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 ||
>
> || 000001 <http://localhost/TESTpmwiki/pmwiki.php?n=Main.HomePage?action=todo&do=edit-todo-item&todo-item=000001&todo-group=XToDoMain&todo-group-name=Main> ||High ||Low || 5 ||Open || 2007-11-01 || 2007-11-03 ||  ||
>
> || ||Personal (Peter) — todo implementeren  ||||||||||||||
>
> || 000002 <http://localhost/TESTpmwiki/pmwiki.php?n=Main.HomePage?action=todo&do=edit-todo-item&todo-item=000002&todo-group=XToDoMain&todo-group-name=Main> ||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
>
>
>
> _______________________________________________
> pmwiki-users mailing list
> pmwiki-users at pmichaud.com
> http://www.pmichaud.com/mailman/listinfo/pmwiki-users
>
>


-- 
Ben Wilson
"Words are the only thing which will last forever" Churchill
-------------- next part --------------
An HTML attachment was scrubbed...
URL: /pipermail/pmwiki-users/attachments/20071102/0800c897/attachment.html 


More information about the pmwiki-users mailing list