I really should look into rewriting XTodo from scratch . . .<br><br><div><span class="gmail_quote">On 11/2/07, <b class="gmail_sendername">Peter K.H. Gragert</b> <<a href="mailto:p.k.h.gragert@skyaccess.nl">p.k.h.gragert@skyaccess.nl
</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div link="blue" vlink="purple" lang="NL">
<div>
<p><font face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial;" lang="EN-US">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>
</span></font></p>
<p><font face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial;" lang="EN-US"> </span></font></p>
<p><font face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial;" lang="EN-US">$output[] = "(:div
class='todo-legend':)\nLegend: P*U: Priority * Urgency\n(:divend:)";</span></font></p>
<p><font face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial;" lang="EN-US"> $tmp = implode('', $output);</span></font></p>
<p><font face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial;" lang="EN-US"> $tmp2 =
MarkupToHTML($pagename,$tmp);</span></font></p>
<p><font face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial;" lang="EN-US">
$dbg_XToDo->msgAndMaybeStop(false,"L728 $tmp2
","orange");</span></font></p>
<p><font face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial;" lang="EN-US"> // return
FmtPageName(implode('', $output), $pagename);</span></font></p>
<p><font face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial;" lang="EN-US"> ??? 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 …????</span></font></p>
<p><font face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial;" lang="EN-US"> </span></font></p>
<form action="http://TESTpmwiki/pmwiki.php?action=todo&do=create-todo-item" method="post" enctype="application/x-www-form-urlencoded" target="_blank" onsubmit="return window.confirm("You are submitting information to an external page.\nAre you sure?");">
<table border="0" cellpadding="0" cellspacing="0">
<tbody><tr>
<td style="padding: 0cm;">
<p><font face="Times New Roman" size="3"><span style="font-size: 12pt;" lang="EN-GB"> </span></font></p>
</td>
<td style="padding: 0cm;">
<p><font face="Times New Roman" size="3"><span style="font-size: 12pt;"><input action="http://TESTpmwiki/pmwiki.php?action=todo&do=create-todo-item" method="post" type="submit"></span></font></p>
</td>
</tr>
</tbody></table>
</form>
<pre><font face="Courier New" size="2"><span style="font-size: 10pt;" lang="EN-GB">||align=center cellpadding=0 cellspacing=0 class=todo-list </span></font></pre><pre><font face="Courier New" size="2"><span style="font-size: 10pt;" lang="EN-GB">
||! ID ||! Priority ||! Urgency ||! P*U ||! Status ||! Created ||! Due ||! Completed ||</span></font></pre><pre><font face="Courier New" size="2"><span style="font-size: 10pt;" lang="EN-GB">|| </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" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
<span lang="EN-GB">000001</span></a></font><span lang="EN-GB"> ||High ||Low || 5 ||Open || 2007-11-01 || 2007-11-03 || || </span></pre><pre><font face="Courier New" size="2"><span style="font-size: 10pt;" lang="EN-GB">|| ||
<span>Personal</span> (Peter) — <span>todo implementeren</span> |||||||||||||| </span></font></pre><pre><font face="Courier New" size="2"><span style="font-size: 10pt;" lang="EN-GB">|| </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" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
<span lang="EN-GB">000002</span></a></font><span lang="EN-GB"> ||Low ||Low || 1 ||Open || 2007-11-01 || 2007-11-02 || || </span></pre><pre><font face="Courier New" size="2"><span style="font-size: 10pt;" lang="EN-GB">|| ||
<span>Other</span> (Peter) — <span>Geaendert 2 november</span> |||||||||||||| </span></font></pre><pre><font face="Courier New" size="2"><span style="font-size: 10pt;" lang="EN-GB">(:div class='todo-legend':)</span>
</font></pre><pre><font face="Courier New" size="2"><span style="font-size: 10pt;" lang="EN-GB">Legend: P*U: Priority * Urgency</span></font></pre><pre><font face="Courier New" size="2"><span style="font-size: 10pt;" lang="EN-GB">
(:divend:)</span></font></pre>
<p><font face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial;" lang="EN-GB"> </span></font></p>
<p><font face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial;" lang="EN-GB"> </span></font></p>
<p><font face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial;" lang="EN-GB">So I do not understand the markup-machinery fully ;-(<br>
<br>
</span></font></p>
<p><font face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial;" lang="EN-GB">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>
</span></font></p>
<p><font face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial;" lang="EN-GB">And the wiki/Cookbook/ToDo page is password protected
..?! <br>
<br>
Greetings</span></font></p>
<p><font face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial;" lang="EN-GB">
PKHG<br>
<br>
<br>
</span></font></p>
</div>
</div>
<br>_______________________________________________<br>pmwiki-users mailing list<br><a onclick="return top.js.OpenExtLink(window,event,this)" href="mailto:pmwiki-users@pmichaud.com">pmwiki-users@pmichaud.com</a><br><a onclick="return top.js.OpenExtLink(window,event,this)" href="http://www.pmichaud.com/mailman/listinfo/pmwiki-users" target="_blank">
http://www.pmichaud.com/mailman/listinfo/pmwiki-users</a><br><br></blockquote></div><br><br clear="all"><br>-- <br>Ben Wilson<br>"Words are the only thing which will last forever" Churchill