Sunday, March 29, 2009, 5:07:10 PM, Frank wrote: > What's wrong with:
> $old = RetrieveAuthPage('Test.Page1', 'read'); > if ($old) { > $new = $old; > $new['text'] = "x".$old['text']; > $pn='Test.Page1'; > UpdatePage($pn,$old,$new); > } I does look okay to me. Perhaps you need to call HandleBrowse or HandleDispatch to see the page after the update. HandleDispatch() can load a page with varous actions supplied, and also any message for display via (:messages:) markup: HandleDispatch($pn,'browse',$msg); HandleBrowse($pn) will just display the page. Hans _______________________________________________ pmwiki-devel mailing list pmwiki-devel@pmichaud.com http://www.pmichaud.com/mailman/listinfo/pmwiki-devel