hi
i'm not sure i understand.
if you visit *right now* you'll see that the page has the ptv set to [[!Blem3]], and yet the pagelist lists nothing.

here's what i'm doing:

step 1:

pagelist says:
(:pagelist group=Test fmt=#simple-nolinks link=Category.Blem list=all :)

the ptv says:
(:myPtv: [[!Blem3]]:)

result: pagelist is emtpy


step 2:
change the ptv to
(:myPtv: [[!Blem]]:)
and publish/save...

result: the pagelist does not list any page (incorrect)


step 3:
edit the page again, but do nothing to the page, and click publish again

result: the pagelist lists the current page (correct)


it takes two saves to get the pagelist to update pages with link=


am i seeing things?
thx
adam



On 4 Feb 2010, at 12:02 AM, Petko Yotov wrote:

On Thursday 04 February 2010 08:52:21, adam overton wrote :
my i be so bold to ask *why* it is supposed to behave this way?

: )

:-) Because, in the page you changed to "[[!Blem3]]" and in the pagelist you
still had "link=Category.Blem" that is "Blem" and not "Blem3".

If a page does *NOT* link to Category.Blem, then
  (:pagelist link=Category.Blem:) is not supposed to list it.

Why? Because this is the definition of the link= parameter. :-)

Petko

On 3 Feb 2010, at 10:34 PM, Petko Yotov wrote:
On Thursday 04 February 2010 07:09:49, Petko Yotov wrote :
I don't experience this - it doesn't take 2 saves but 1 save - if
I change
 the PTV and save the page, the pagelist is immediately updated and
 contains the page I just modified.

It is beyond my understanding how it is possible that on the same
page, it
works for me and it doesn't work for you. :-)

Aha. Now I see that you just modified the PTV value, not the
pagelist link=
parameter to the new PTV value.

It is supposed to behave this way. :-)

Petko


_______________________________________________
pmwiki-devel mailing list
pmwiki-devel@pmichaud.com
http://www.pmichaud.com/mailman/listinfo/pmwiki-devel

Reply via email to