Hi David,

Thanks for the reply. This solves the presenting problem, but when you 
Edit an article and submit it, it is back to the unapproved state and
disappears from the site with this type of solution. But if you block it from
replicating the 'life' site will show the last approved article. Another
problem is that even your staging site is not showing your new and unapproved
article.

Regards,
Edwin.

-----Original Message-----
From: David Schmitter [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, August 27, 2003 7:03 PM
To: [EMAIL PROTECTED]
Subject: Re: [midgard-user] Repligard/downgrade functionality

articles, unlike pages, have an "approved" field that stores the date of 
approval, or 0 if not approved. you can toggle this using 
mgd_approve_article. aegir does this if you "approve" an article. so in 
your code that handles the articles, you can check if the "approved" 
field is > 0 and choose not to display unapproved articles.

David

> Dear all,
>  
> As I started a while ago with midgard/aegir I saw the option of approval in
> some parts of Aegir (website, page, article, maybe-I-am-missing-something)
> and with the repligard (life/staging) functionality I thought: 'So only
after
> you approve something, it will show on the life site! very handy'. 
> After setting up de life/staging update I could not figure out why my
> articles where already on the life site while I thought they would be
blocked
> by de Downgrade_unapproved.pl script. {See my e-mails of some weeks ago,
not
> very important right now}
> After careful investigation of the perl scrip I came to the conclusion that
> it only downgraded page's and its belonging elements (and images).
>  
> Am I missing the point and should articles be downgraded in some means or
> other way be blocked if unapproved?
> Has somebody already written something that will downgrade articles before
> repligard does his job (hopefully even with topic approval)?
>  
> Else I will start writing something that does have this functionality. If
> there are any philosophical idea's about what the best way is, I am all
ear.
>  
> With regards,
> Edwin Barendse
> Engineer Data & Telecom
> Muxum Data Communicatie B.V. 
> Europalaan 19
> 5232 BC 's-Hertogenbosch
> tel    +31(0)73-6249800
> fax   +31(0)73-6249801
> mail [EMAIL PROTECTED]
> web www.muxum.nl <http://www.muxum.nl/> 
>  
> 


-- 
David Schmitter, CMS Developer, [EMAIL PROTECTED]
Dataflow Solutions GmbH - Pappelweg 48 - 3013 CH-Bern
[EMAIL PROTECTED] - +41 31 332 01 01


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


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

Reply via email to