[pmwiki-users] PTVs & pageindex - was: FoxEdit & Category

adam overton a at plus1plus1plus.org
Thu Jun 18 10:23:49 CDT 2009

thank petko
that was just a typing error on my part for the example.
but the main thing i'm writing about, however, still persists.

the following still doesn't show up in the pagelist immediately, and  
i'm wondering if it should?
	(:myPtv: [[!Blem]]:)my category - {$:myPtv}
	pages with Category.Blem
	(:pagelist group=Test fmt=#simple link=Category.Blem list=all :)

i've updated the page for testing: http://www.pmwiki.org/wiki/Test/ 


On 18 Jun 2009, at 1:50 AM, Petko Yotov wrote:

On Thursday 18 June 2009 09:11:43 adam overton wrote:
> when typing in the following code (to a page in group Test) ...
> 	(:myPtv: [[!Blem]]:)myPtv: {$:myPtv}
> 	pages with Category.Blem
> 	(:pagelist group=Test fmt=#simple link=Category.Blem list=all :)
> ... and then saving it the first time, the pagelist comes up empty(!)

You cannot have in a page such a thing :
   myPtv: {$:myPtv}

You are redefining the myPtv variable with itself.

This caused an endless loop in old versions of PmWiki, and was fixed  
in 2.2.0
beta 56. See http://www.pmwiki.org/wiki/PITS/00915 .

In this case, "{$:myPtv}" will and should be empty.

You can have what you expect in two ways :
   myPtv: [[!Blem]]
   this shows exactly what I assume you expect,

or :
   (:myPtv: [[!Blem]]:)
   my Ptv: {$:myPtv}
   note the space in "my Ptv"


-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.pmichaud.com/pipermail/pmwiki-users/attachments/20090618/5b1da809/attachment-0001.html 

More information about the pmwiki-users mailing list