Alexander Levenetz <[EMAIL PROTECTED]> said: 

> Hi Alan,
> 
> 
> > The display of articles is controlled by PHP code (usually on style or
pages
> > elements) if this code reads and 'honours' the timing, then you can make
the
> > articles appear and disappear.
> 
> Cool. And what would that code look like? :-)


$obj= mgd_get_article(23);
if (($today > $obj->calstart) &&
    (( $obj->calstart + $obj->caldays) < $today) ) { 
      // print the article as it's dates are correct
}

you can use similar code to do this if you are doing indexes..


> 
> > (actually deleting an article requires authentication - done by
> > creating a dummy user who can delete articles and running mgd_auth
> > prior to the mgd_delete_XXXXX
> 
> Shouldn't be the problem as I have full access - definitely as
> "author" of these articles, I hope?
> 

I'll explain this in response to the other post..



> Alexander
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 
> 



-- 
Technical Director
Linux Center (HK) Ltd.
www.hklc.com



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to