Page text variables cannot have embedded spaces in their names.<div>See <a href="http://www.pmwiki.org/wiki/PmWiki/PageTextVariables">http://www.pmwiki.org/wiki/PmWiki/PageTextVariables</a></div><div><a href="http://www.pmwiki.org/wiki/PmWiki/PagelistVariables"></a>and <a href="http://www.pmwiki.org/wiki/PmWiki/PageTextVariables-Talk">http://www.pmwiki.org/wiki/PmWiki/PageTextVariables-Talk</a></div>
<div><br><br><div class="gmail_quote">2009/7/28 edwin marte <span dir="ltr">&lt;<a href="mailto:edwin.marte@leidba.com">edwin.marte@leidba.com</a>&gt;</span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
Another Question just poped here !<br><br>What about long names with spaces with PTV in the pagelist, it seems not to be working like the following:<br><br><br>(:pagelist $:Long Name=TheOption....<br><br><br>Long Name as PTV seems not to be working. I tried   &quot;$:Long Name&quot;  $:&quot;Long Name&quot;  $:&#39;Long Name&#39;  &#39;$:Long Name&#39; , what should be the correct way ?<br>
<font color="#888888">

<br>Edwin</font><div><div></div><div class="h5"><br><br><br><div class="gmail_quote">On Mon, Jul 27, 2009 at 10:42 AM, edwin marte <span dir="ltr">&lt;<a href="mailto:edwin.marte@leidba.com" target="_blank">edwin.marte@leidba.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="border-left:1px solid rgb(204, 204, 204);margin:0pt 0pt 0pt 0.8ex;padding-left:1ex">

It Just Works!! thanks...but, there is always a but :-)<br><br>what about if I want a pagelist with 2 different ptv on it like this -&gt;   (:pagelist $:Var1=opt1 $:Var2=AnotherOption ...<br><br>Any work around to this? It seems to be pagelist only works with only one PTV at a time.<br>



<br>Regards,<br><font color="#888888">Edwin</font><div><div></div><div><br><br><br><div class="gmail_quote">On Sat, Jul 25, 2009 at 12:42 PM, edwin marte <span dir="ltr">&lt;<a href="mailto:edwin.marte@leidba.com" target="_blank">edwin.marte@leidba.com</a>&gt;</span> wrote:<br>


<blockquote class="gmail_quote" style="border-left:1px solid rgb(204, 204, 204);margin:0pt 0pt 0pt 0.8ex;padding-left:1ex">
I&#39;ll test this on monday but I believe that is exactly the hints I needed !!<br><br>Thanks Petko,<br><br>Regadrs, Edwin<div><div></div><div><br><br><div class="gmail_quote">On Sat, Jul 25, 2009 at 7:47 AM, Petko Yotov <span dir="ltr">&lt;<a href="mailto:5ko@5ko.fr" target="_blank">5ko@5ko.fr</a>&gt;</span> wrote:<br>




<blockquote class="gmail_quote" style="border-left:1px solid rgb(204, 204, 204);margin:0pt 0pt 0pt 0.8ex;padding-left:1ex"><div>On Friday 24 July 2009 15:18:02 edwin marte wrote:<br>
&gt; There are a few ones where I use checkboxes so what I then have is<br>
&gt; something like this:    :variable: opt1,opt2,opt3<br>
&gt;<br>
&gt; I need no to do is to make a pagecount for these variables with checkboxes.<br>
&gt; I have not been able to make an accurate count yet. It should be easy,<br>
&gt; probably somebody else hade done already and could give me some hints.<br>
&gt;<br>
&gt; Here is my pagelist to produce a simple Pagecount<br>
&gt;<br>
&gt; (:if false:)<br>
&gt; [[#template]]<br>
&gt; (:template first:)<br>
&gt; (:template each:)<br>
&gt; (:template last:)<br>
&gt; {$$ PageCount}<br>
&gt; [[#templateend]]<br>
&gt; (:if:)<br>
<br>
</div>Hi. If you only need to produce a number, use the built-in, faster &quot;fmt=count&quot;<br>
instead of fmt=#template.<br>
<div><br>
&gt; How can I make the pagelist to count the pages for any combination of the<br>
&gt; options (opt1 only, opt2 Only, opt1 and opt2, opt3 and opt1 , etc) ?<br>
<br>
</div>1. Values starting with &quot;-&quot; are always excluded, like:<br>
<br>
   $:Var=-Opt1    -- the value of :Var: is not &quot;Opt1&quot;<br>
    -- counts :Var:Opt1,Opt2   but not    :Var:Opt1<br>
<br>
   $:Var=-*Opt1*  -- the value of :Var: does not contain &quot;Opt1&quot;<br>
    -- counts neither :Var:Opt1,Opt2   nor   :Var:Opt1<br>
<br>
<br>
2. A comma means inclusive OR, except for 1. above.<br>
<br>
  $:Var=Opt1<br>
   -- counts   :Var:Opt1   but not    :Var:Opt1,Opt2<br>
<br>
  $:Var=*Opt1*<br>
   -- counts   :Var:Opt1   and    :Var:Opt1,Opt2<br>
<br>
  $:Var=Opt1,Opt2<br>
   -- counts   :Var:Opt1   and   :Var:Opt2   but not  :Var:Opt1,Opt2<br>
<br>
  $:Var=*Opt1*,*Opt2*<br>
   -- counts   :Var:Opt1   and   :Var:Opt2  and  :Var:Opt1,Opt2,Opt3<br>
<br>
  $:Var=*Opt1*,*Opt2*,-*Opt3*<br>
   -- counts   :Var:Opt1  and  :Var:Opt1,Opt2  but not  :Var:Opt2,Opt3<br>
<br>
  $:Var=*Opt1*Opt2*,*Opt2*Opt1*  -- contains both Opt2 and Opt1<br>
   -- counts   :Var:Opt1,Opt2  and  :Var:Opt2,Opt1 and :Var:Opt2,Opt3,Opt1<br>
<br>
Thanks,<br>
<font color="#888888">Petko<br>
<br>
</font></blockquote></div><br>
</div></div></blockquote></div><br>
</div></div></blockquote></div><br>
</div></div><br>_______________________________________________<br>
pmwiki-users mailing list<br>
<a href="mailto:pmwiki-users@pmichaud.com">pmwiki-users@pmichaud.com</a><br>
<a 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>____<br><a href="http://kiwiwiki.co.nz">http://kiwiwiki.co.nz</a><br>
</div>