You can look at the function wshChmod() in wikish.php - it allows you to change all types of attr's.
-Peter > -----Original Message----- > From: [EMAIL PROTECTED] [mailto:pmwiki-users- > [EMAIL PROTECTED] On Behalf Of noskule > Sent: Thursday, November 27, 2008 2:26 PM > To: Hans > Cc: PmWiki Users > Subject: Re: [pmwiki-users] setting page attibute acording a publish/drafts ptv > > Am Donnerstag 27 November 2008 12:21:06 schrieb Hans: > > Thursday, November 27, 2008, 10:22:00 AM, noskule wrote: > > > In my blog blog pages I have a Livecycle ptv with values "Draft" or > > > "Publish". So I only want to show published post to the public. I use fox > > > to create the posts. > > > > > > > > > Does anyone have an idea how I could st the read-attribute of the page to > > > author or public group acording to the selected Livecycle value. > > > > > > I'm not shure how to achive this. Could fox change the attribute, or do I > > > script something in config.php. > > > > Fox has no built-in capacity to set page attributes. > > I suppose one could write a filter function for this. > > > > ok I try that, is there an example somwhere how to change attributes of pages > in php? > > grz nos > > _______________________________________________ > pmwiki-users mailing list > [email protected] > http://www.pmichaud.com/mailman/listinfo/pmwiki-users _______________________________________________ pmwiki-users mailing list [email protected] http://www.pmichaud.com/mailman/listinfo/pmwiki-users
