Last change
on this file since 1314 was
1239,
checked in by mylan, 15 years ago
|
Moved conditional adding IPossibleWeblogEntry to Document objects on adding it in the weblog, based on content rules and workflow transition. Tests updated
|
File size:
610 bytes
|
Line | |
---|
1 | <?xml version="1.0"?> |
---|
2 | <contentrules> |
---|
3 | <rule name="rule-1" title="Add_blog_content" description="" enabled="True" |
---|
4 | event="zope.app.container.interfaces.IObjectAddedEvent" |
---|
5 | stop-after="False"> |
---|
6 | <conditions> |
---|
7 | <condition type="plone.conditions.PortalType"> |
---|
8 | <property name="check_types"> |
---|
9 | <element>Document</element> |
---|
10 | </property> |
---|
11 | </condition> |
---|
12 | </conditions> |
---|
13 | <actions> |
---|
14 | <action type="plone.actions.Workflow"> |
---|
15 | <property name="transition">update_layout</property> |
---|
16 | </action> |
---|
17 | </actions> |
---|
18 | </rule> |
---|
19 | <assignment name="rule-1" bubbles="True" enabled="True" location=""/> |
---|
20 | </contentrules> |
---|
Note: See
TracBrowser
for help on using the repository browser.