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> &lt;<a href="mailto:p.k.h.gragert@skyaccess.nl">p.k.h.gragert@skyaccess.nl
</a>&gt; 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&nbsp; 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">&nbsp;</span></font></p>

<p><font face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial;" lang="EN-US">$output[] = &quot;(:div
class=&#39;todo-legend&#39;:)\nLegend: P*U: Priority * Urgency\n(:divend:)&quot;;</span></font></p>

<p><font face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial;" lang="EN-US">&nbsp;&nbsp;&nbsp; $tmp = implode(&#39;&#39;, $output);</span></font></p>

<p><font face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial;" lang="EN-US">&nbsp;&nbsp;&nbsp; $tmp2 =
MarkupToHTML($pagename,$tmp);</span></font></p>

<p><font face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial;" lang="EN-US">&nbsp;&nbsp;&nbsp;
$dbg_XToDo-&gt;msgAndMaybeStop(false,&quot;L728 $tmp2
&quot;,&quot;orange&quot;);</span></font></p>

<p><font face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial;" lang="EN-US">&nbsp;&nbsp;&nbsp; //&nbsp;&nbsp;&nbsp; return
FmtPageName(implode(&#39;&#39;, $output), $pagename);</span></font></p>

<p><font face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial;" lang="EN-US">&nbsp;&nbsp;&nbsp; ??? What should work here???? This
not: <br>
&nbsp;&nbsp; return FmtPageName($tmp, $pagename);<br>
<br>
After $ouput[]&nbsp; I inserted 'debugging' info. And $tmp2 is
printed by my $dbg_XToDo (….) and is shown as the table I want to see&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; and
which (nearly) looks like the example in the recipe at PmWiki &nbsp;(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">&nbsp;</span></font></p>

<form action="http://TESTpmwiki/pmwiki.php?action=todo&amp;do=create-todo-item" method="post" enctype="application/x-www-form-urlencoded" target="_blank" onsubmit="return window.confirm(&quot;You are submitting information to an external page.\nAre you sure?&quot;);">


<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">&nbsp;</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&amp;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&nbsp; 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&amp;do=edit-todo-item&amp;todo-item=000001&amp;todo-group=XToDoMain&amp;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 ||&nbsp; || </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>&nbsp; |||||||||||||| </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&amp;do=edit-todo-item&amp;todo-item=000002&amp;todo-group=XToDoMain&amp;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 ||&nbsp; || </span></pre><pre><font face="Courier New" size="2"><span style="font-size: 10pt;" lang="EN-GB">|| ||
<span>Other</span> (Peter) — <span>Geaendert&nbsp; 2 november</span>&nbsp; |||||||||||||| </span></font></pre><pre><font face="Courier New" size="2"><span style="font-size: 10pt;" lang="EN-GB">(:div class=&#39;todo-legend&#39;:)</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">&nbsp;</span></font></p>

<p><font face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial;" lang="EN-GB">&nbsp;</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 &nbsp;(in
this mail editing) eg 000001 opens browser and shows the correct item &nbsp;…
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
..?!&nbsp; <br>
<br>
Greetings</span></font></p>

<p><font face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial;" lang="EN-GB">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
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>&quot;Words are the only thing which will last forever&quot; Churchill