[pmwiki-users] setting page attibute acording a publish/drafts ptv

noskule noskule at gmx.net
Thu Nov 27 07:25:30 CST 2008

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

More information about the pmwiki-users mailing list