<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv=Content-Type content="text/html; charset=us-ascii">
<meta name=Generator content="Microsoft Word 11 (filtered medium)">
<!--[if !mso]>
<style>
v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style>
<![endif]-->
<style>
<!--
/* Font Definitions */
@font-face
        {font-family:"MS Mincho";
        panose-1:2 2 6 9 4 2 5 8 3 4;}
@font-face
        {font-family:"\@MS Mincho";
        panose-1:2 2 6 9 4 2 5 8 3 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman";}
a:link, span.MsoHyperlink
        {color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {color:purple;
        text-decoration:underline;}
pre
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:10.0pt;
        font-family:"Courier New";}
span.E-mailStijl17
        {mso-style-type:personal-compose;
        font-family:Arial;
        color:windowtext;}
@page Section1
        {size:595.3pt 841.9pt;
        margin:70.85pt 70.85pt 70.85pt 70.85pt;}
div.Section1
        {page:Section1;}
-->
</style>
<!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang=NL link=blue vlink=purple>
<div class=Section1>
<p class=MsoNormal><font size=2 face=Arial><span lang=EN-US style='font-size:
10.0pt;font-family:Arial'>Hallo one step further wit XToDo<br>
but not yet finished ;-(<br>
<br>
Thanks to Petko (a missing s in ‘directive’ ) I am one step further
…<br>
BUT now I am stuck again.<br>
In XToDoDisplay function at the end have the following:<br>
<br>
<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span lang=EN-US style='font-size:
10.0pt;font-family:Arial'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span lang=EN-US style='font-size:
10.0pt;font-family:Arial'>$output[] = "(:div
class='todo-legend':)\nLegend: P*U: Priority * Urgency\n(:divend:)";<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span lang=EN-US style='font-size:
10.0pt;font-family:Arial'> $tmp = implode('', $output);<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span lang=EN-US style='font-size:
10.0pt;font-family:Arial'> $tmp2 =
MarkupToHTML($pagename,$tmp);<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span lang=EN-US style='font-size:
10.0pt;font-family:Arial'>
$dbg_XToDo->msgAndMaybeStop(false,"L728 $tmp2
","orange");<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span lang=EN-US style='font-size:
10.0pt;font-family:Arial'> // return
FmtPageName(implode('', $output), $pagename);<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span lang=EN-US style='font-size:
10.0pt;font-family:Arial'> ??? What should work here???? This
not: <br>
return FmtPageName($tmp, $pagename);<br>
<br>
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)<br>
<br>
But at the real place it looks like this …????<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span lang=EN-US style='font-size:
10.0pt;font-family:Arial'><o:p> </o:p></span></font></p>
<form action="/TESTpmwiki/pmwiki.php?action=todo&do=create-todo-item"
method=post enctype="application/x-www-form-urlencoded">
<table class=MsoNormalTable border=0 cellspacing=0 cellpadding=0>
<tr>
<td style='padding:0cm 0cm 0cm 0cm'>
<p class=MsoNormal><font size=3 face="Times New Roman"><span lang=EN-GB
style='font-size:12.0pt'><o:p> </o:p></span></font></p>
</td>
<td style='padding:0cm 0cm 0cm 0cm'>
<p class=MsoNormal><font size=3 face="Times New Roman"><span
style='font-size:12.0pt'><INPUT TYPE="submit" ACTION="/TESTpmwiki/pmwiki.php?action=todo&do=create-todo-item" METHOD="post"><o:p></o:p></span></font></p>
</td>
</tr>
</table>
</form>
<pre><font size=2 face="Courier New"><span lang=EN-GB style='font-size:10.0pt'>||align=center cellpadding=0 cellspacing=0 class=todo-list <o:p></o:p></span></font></pre><pre><font
size=2 face="Courier New"><span lang=EN-GB style='font-size:10.0pt'>||! ID ||! Priority ||! Urgency ||! P*U ||! Status ||! Created ||! Due ||! Completed ||<o:p></o:p></span></font></pre><pre><font
size=2 face="Courier New"><span lang=EN-GB style='font-size:10.0pt'>|| </span><a
href="http://localhost/TESTpmwiki/pmwiki.php?n=Main.HomePage?action=todo&do=edit-todo-item&todo-item=000001&todo-group=XToDoMain&todo-group-name=Main"><span
lang=EN-GB>000001</span></a></font><span lang=EN-GB> ||High ||Low || 5 ||Open || 2007-11-01 || 2007-11-03 || || <o:p></o:p></span></pre><pre><font
size=2 face="Courier New"><span lang=EN-GB style='font-size:10.0pt'>|| ||<span
class=todo-category-text>Personal</span> (Peter) — <span
class=todo-description-text>todo implementeren</span> |||||||||||||| <o:p></o:p></span></font></pre><pre><font
size=2 face="Courier New"><span lang=EN-GB style='font-size:10.0pt'>|| </span><a
href="http://localhost/TESTpmwiki/pmwiki.php?n=Main.HomePage?action=todo&do=edit-todo-item&todo-item=000002&todo-group=XToDoMain&todo-group-name=Main"><span
lang=EN-GB>000002</span></a></font><span lang=EN-GB> ||Low ||Low || 1 ||Open || 2007-11-01 || 2007-11-02 || || <o:p></o:p></span></pre><pre><font
size=2 face="Courier New"><span lang=EN-GB style='font-size:10.0pt'>|| ||<span
class=todo-category-text>Other</span> (Peter) — <span
class=todo-description-text>Geaendert 2 november</span> |||||||||||||| <o:p></o:p></span></font></pre><pre><font
size=2 face="Courier New"><span lang=EN-GB style='font-size:10.0pt'>(:div class='todo-legend':)<o:p></o:p></span></font></pre><pre><font
size=2 face="Courier New"><span lang=EN-GB style='font-size:10.0pt'>Legend: P*U: Priority * Urgency<o:p></o:p></span></font></pre><pre><font
size=2 face="Courier New"><span lang=EN-GB style='font-size:10.0pt'>(:divend:)<o:p></o:p></span></font></pre>
<p class=MsoNormal><font size=2 face=Arial><span lang=EN-GB style='font-size:
10.0pt;font-family:Arial'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span lang=EN-GB style='font-size:
10.0pt;font-family:Arial'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span lang=EN-GB style='font-size:
10.0pt;font-family:Arial'>So I do not understand the markup-machinery fully ;-(<br>
<br>
<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span lang=EN-GB style='font-size:
10.0pt;font-family:Arial'>By the way a klick locally on the links (in
this mail editing) eg 000001 opens browser and shows the correct item …
to ‘update’ … ;-) <br>
…<br>
<br>
<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span lang=EN-GB style='font-size:
10.0pt;font-family:Arial'>And the wiki/Cookbook/ToDo page is password protected
..?! <br>
<br>
Greetings<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span lang=EN-GB style='font-size:
10.0pt;font-family:Arial'>
PKHG<br>
<br>
<br>
<o:p></o:p></span></font></p>
</div>
</body>
</html>