Classified ad life cycle


plugin Classified Ads provides 2 possible lifecycles for classified ads:

A priori validation

Classified ads posted on the site are directly validated and therefore published.
It is possible to refuse or delete these classified ads at a later date.

Post-validation

Classified ads posted on the site will not be validated directly.
A moderator may subsequently validate or reject classified ads.

Setting

To access these lifecycles, copy the files ugc-classified-ads-postvalidation.xml and ugc-classified-ads-prevalidation.xml into your application's WEB-INF/param/workflows file.

In your application's WEB-INF/i18n/messages_*.xml files, add the keys associated with these new workflows.

<message key="WORKFLOW_ugc-classified-ads-prevalidation">Validation à priori</message>
<message key="WORKFLOW_ugc-classified-ads-postvalidation">Validation à posteriori</message>
Back to top

Classified Ads