Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
erp5
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Xiaowu Zhang
erp5
Commits
b5bd8ece
Commit
b5bd8ece
authored
Feb 07, 2023
by
Xiaowu Zhang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
erp5_web: add web campaign
parent
7a2c616e
Changes
54
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
54 changed files
with
8377 additions
and
1 deletion
+8377
-1
bt5/erp5_web/ActionTemplateItem/portal_types/Web%20Campaign%20Module/view.xml
...emplateItem/portal_types/Web%20Campaign%20Module/view.xml
+83
-0
bt5/erp5_web/ActionTemplateItem/portal_types/Web%20Campaign/configuration.xml
...emplateItem/portal_types/Web%20Campaign/configuration.xml
+85
-0
bt5/erp5_web/ActionTemplateItem/portal_types/Web%20Campaign/view.xml
...b/ActionTemplateItem/portal_types/Web%20Campaign/view.xml
+83
-0
bt5/erp5_web/ModuleTemplateItem/web_campaign_module.xml
bt5/erp5_web/ModuleTemplateItem/web_campaign_module.xml
+98
-0
bt5/erp5_web/PortalTypeAllowedContentTypeTemplateItem/allowed_content_types.xml
...eAllowedContentTypeTemplateItem/allowed_content_types.xml
+3
-0
bt5/erp5_web/PortalTypeBaseCategoryTemplateItem/base_category_list.xml
...PortalTypeBaseCategoryTemplateItem/base_category_list.xml
+3
-0
bt5/erp5_web/PortalTypePropertySheetTemplateItem/property_sheet_list.xml
...rtalTypePropertySheetTemplateItem/property_sheet_list.xml
+3
-0
bt5/erp5_web/PortalTypeTemplateItem/portal_types/Web%20Campaign%20Module.xml
...TypeTemplateItem/portal_types/Web%20Campaign%20Module.xml
+108
-0
bt5/erp5_web/PortalTypeTemplateItem/portal_types/Web%20Campaign.xml
...eb/PortalTypeTemplateItem/portal_types/Web%20Campaign.xml
+70
-0
bt5/erp5_web/PortalTypeWorkflowChainTemplateItem/workflow_chain_type.xml
...rtalTypeWorkflowChainTemplateItem/workflow_chain_type.xml
+4
-0
bt5/erp5_web/SkinTemplateItem/portal_skins/erp5_web_campaign.xml
...5_web/SkinTemplateItem/portal_skins/erp5_web_campaign.xml
+26
-0
bt5/erp5_web/SkinTemplateItem/portal_skins/erp5_web_campaign/Base_getWebCampaignValue.py
...ortal_skins/erp5_web_campaign/Base_getWebCampaignValue.py
+22
-0
bt5/erp5_web/SkinTemplateItem/portal_skins/erp5_web_campaign/Base_getWebCampaignValue.xml
...rtal_skins/erp5_web_campaign/Base_getWebCampaignValue.xml
+62
-0
bt5/erp5_web/SkinTemplateItem/portal_skins/erp5_web_campaign/WebCampaignModule_viewWebCampaignList.xml
...p5_web_campaign/WebCampaignModule_viewWebCampaignList.xml
+139
-0
bt5/erp5_web/SkinTemplateItem/portal_skins/erp5_web_campaign/WebCampaignModule_viewWebCampaignList/listbox.xml
...ampaign/WebCampaignModule_viewWebCampaignList/listbox.xml
+116
-0
bt5/erp5_web/SkinTemplateItem/portal_skins/erp5_web_campaign/WebCampaign_asPredicate.py
...portal_skins/erp5_web_campaign/WebCampaign_asPredicate.py
+4
-0
bt5/erp5_web/SkinTemplateItem/portal_skins/erp5_web_campaign/WebCampaign_asPredicate.xml
...ortal_skins/erp5_web_campaign/WebCampaign_asPredicate.xml
+62
-0
bt5/erp5_web/SkinTemplateItem/portal_skins/erp5_web_campaign/WebCampaign_getDefaultPageReference.py
.../erp5_web_campaign/WebCampaign_getDefaultPageReference.py
+1
-0
bt5/erp5_web/SkinTemplateItem/portal_skins/erp5_web_campaign/WebCampaign_getDefaultPageReference.xml
...erp5_web_campaign/WebCampaign_getDefaultPageReference.xml
+70
-0
bt5/erp5_web/SkinTemplateItem/portal_skins/erp5_web_campaign/WebCampaign_init.py
...teItem/portal_skins/erp5_web_campaign/WebCampaign_init.py
+1
-0
bt5/erp5_web/SkinTemplateItem/portal_skins/erp5_web_campaign/WebCampaign_init.xml
...eItem/portal_skins/erp5_web_campaign/WebCampaign_init.xml
+62
-0
bt5/erp5_web/SkinTemplateItem/portal_skins/erp5_web_campaign/WebCampaign_render.py
...Item/portal_skins/erp5_web_campaign/WebCampaign_render.py
+12
-0
bt5/erp5_web/SkinTemplateItem/portal_skins/erp5_web_campaign/WebCampaign_render.xml
...tem/portal_skins/erp5_web_campaign/WebCampaign_render.xml
+62
-0
bt5/erp5_web/SkinTemplateItem/portal_skins/erp5_web_campaign/WebCampaign_view.xml
...eItem/portal_skins/erp5_web_campaign/WebCampaign_view.xml
+151
-0
bt5/erp5_web/SkinTemplateItem/portal_skins/erp5_web_campaign/WebCampaign_view/listbox.xml
...rtal_skins/erp5_web_campaign/WebCampaign_view/listbox.xml
+269
-0
bt5/erp5_web/SkinTemplateItem/portal_skins/erp5_web_campaign/WebCampaign_view/listbox_content.xml
...ns/erp5_web_campaign/WebCampaign_view/listbox_content.xml
+278
-0
bt5/erp5_web/SkinTemplateItem/portal_skins/erp5_web_campaign/WebCampaign_view/listbox_delivery_start_date.xml
...campaign/WebCampaign_view/listbox_delivery_start_date.xml
+2386
-0
bt5/erp5_web/SkinTemplateItem/portal_skins/erp5_web_campaign/WebCampaign_view/listbox_destination_title.xml
...b_campaign/WebCampaign_view/listbox_destination_title.xml
+296
-0
bt5/erp5_web/SkinTemplateItem/portal_skins/erp5_web_campaign/WebCampaign_view/my_aggregate_title.xml
...erp5_web_campaign/WebCampaign_view/my_aggregate_title.xml
+158
-0
bt5/erp5_web/SkinTemplateItem/portal_skins/erp5_web_campaign/WebCampaign_view/my_render_method_id.xml
...rp5_web_campaign/WebCampaign_view/my_render_method_id.xml
+106
-0
bt5/erp5_web/SkinTemplateItem/portal_skins/erp5_web_campaign/WebCampaign_view/my_start_date_range_max.xml
...web_campaign/WebCampaign_view/my_start_date_range_max.xml
+84
-0
bt5/erp5_web/SkinTemplateItem/portal_skins/erp5_web_campaign/WebCampaign_view/my_start_date_range_min.xml
...web_campaign/WebCampaign_view/my_start_date_range_min.xml
+84
-0
bt5/erp5_web/SkinTemplateItem/portal_skins/erp5_web_campaign/WebCampaign_view/my_title.xml
...tal_skins/erp5_web_campaign/WebCampaign_view/my_title.xml
+89
-0
bt5/erp5_web/SkinTemplateItem/portal_skins/erp5_web_campaign/WebCampaign_view/my_translated_validation_state_title.xml
...WebCampaign_view/my_translated_validation_state_title.xml
+272
-0
bt5/erp5_web/SkinTemplateItem/portal_skins/erp5_web_campaign/WebCampaign_viewPredicate.xml
...tal_skins/erp5_web_campaign/WebCampaign_viewPredicate.xml
+185
-0
bt5/erp5_web/SkinTemplateItem/portal_skins/erp5_web_campaign/WebCampaign_viewPredicate/listbox.xml
...s/erp5_web_campaign/WebCampaign_viewPredicate/listbox.xml
+558
-0
bt5/erp5_web/SkinTemplateItem/portal_skins/erp5_web_campaign/WebCampaign_viewPredicate/listbox_identity.xml
...b_campaign/WebCampaign_viewPredicate/listbox_identity.xml
+298
-0
bt5/erp5_web/SkinTemplateItem/portal_skins/erp5_web_campaign/WebCampaign_viewPredicate/my_membership_criterion_base_category_list.xml
...wPredicate/my_membership_criterion_base_category_list.xml
+277
-0
bt5/erp5_web/SkinTemplateItem/portal_skins/erp5_web_campaign/WebCampaign_viewPredicate/my_membership_criterion_category_list.xml
...n_viewPredicate/my_membership_criterion_category_list.xml
+310
-0
bt5/erp5_web/SkinTemplateItem/portal_skins/erp5_web_campaign/WebCampaign_viewPredicate/my_membership_criterion_document_list.xml
...n_viewPredicate/my_membership_criterion_document_list.xml
+328
-0
bt5/erp5_web/SkinTemplateItem/portal_skins/erp5_web_campaign/WebCampaign_viewPredicate/my_multimembership_criterion_base_category_list.xml
...icate/my_multimembership_criterion_base_category_list.xml
+277
-0
bt5/erp5_web/SkinTemplateItem/portal_skins/erp5_web_campaign/WebPage_viewAsEmbeddedWeb.xml
...tal_skins/erp5_web_campaign/WebPage_viewAsEmbeddedWeb.xml
+146
-0
bt5/erp5_web/SkinTemplateItem/portal_skins/erp5_web_campaign/WebPage_viewAsEmbeddedWeb/text_content.xml
...5_web_campaign/WebPage_viewAsEmbeddedWeb/text_content.xml
+194
-0
bt5/erp5_web/TestTemplateItem/portal_components/test.erp5.testWebCampaign.py
...mplateItem/portal_components/test.erp5.testWebCampaign.py
+305
-0
bt5/erp5_web/TestTemplateItem/portal_components/test.erp5.testWebCampaign.xml
...plateItem/portal_components/test.erp5.testWebCampaign.xml
+133
-0
bt5/erp5_web/bt/template_action_path_list
bt5/erp5_web/bt/template_action_path_list
+3
-0
bt5/erp5_web/bt/template_module_id_list
bt5/erp5_web/bt/template_module_id_list
+1
-0
bt5/erp5_web/bt/template_portal_type_allowed_content_type_list
...rp5_web/bt/template_portal_type_allowed_content_type_list
+1
-0
bt5/erp5_web/bt/template_portal_type_base_category_list
bt5/erp5_web/bt/template_portal_type_base_category_list
+1
-0
bt5/erp5_web/bt/template_portal_type_id_list
bt5/erp5_web/bt/template_portal_type_id_list
+2
-0
bt5/erp5_web/bt/template_portal_type_property_sheet_list
bt5/erp5_web/bt/template_portal_type_property_sheet_list
+1
-0
bt5/erp5_web/bt/template_portal_type_workflow_chain_list
bt5/erp5_web/bt/template_portal_type_workflow_chain_list
+2
-0
bt5/erp5_web/bt/template_skin_id_list
bt5/erp5_web/bt/template_skin_id_list
+1
-0
bt5/erp5_web/bt/template_test_id_list
bt5/erp5_web/bt/template_test_id_list
+2
-1
No files found.
bt5/erp5_web/ActionTemplateItem/portal_types/Web%20Campaign%20Module/view.xml
0 → 100644
View file @
b5bd8ece
<?xml version="1.0"?>
<ZopeData>
<record
id=
"1"
aka=
"AAAAAAAAAAE="
>
<pickle>
<global
name=
"ActionInformation"
module=
"Products.CMFCore.ActionInformation"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
action
</string>
</key>
<value>
<persistent>
<string
encoding=
"base64"
>
AAAAAAAAAAI=
</string>
</persistent>
</value>
</item>
<item>
<key>
<string>
categories
</string>
</key>
<value>
<tuple>
<string>
action_type/object_list
</string>
</tuple>
</value>
</item>
<item>
<key>
<string>
category
</string>
</key>
<value>
<string>
object_list
</string>
</value>
</item>
<item>
<key>
<string>
condition
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
description
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
icon
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
view
</string>
</value>
</item>
<item>
<key>
<string>
permissions
</string>
</key>
<value>
<tuple>
<string>
View
</string>
</tuple>
</value>
</item>
<item>
<key>
<string>
portal_type
</string>
</key>
<value>
<string>
Action Information
</string>
</value>
</item>
<item>
<key>
<string>
priority
</string>
</key>
<value>
<float>
1.0
</float>
</value>
</item>
<item>
<key>
<string>
title
</string>
</key>
<value>
<string>
View
</string>
</value>
</item>
<item>
<key>
<string>
visible
</string>
</key>
<value>
<int>
1
</int>
</value>
</item>
</dictionary>
</pickle>
</record>
<record
id=
"2"
aka=
"AAAAAAAAAAI="
>
<pickle>
<global
name=
"Expression"
module=
"Products.CMFCore.Expression"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
text
</string>
</key>
<value>
<string>
string:${object_url}/WebCampaignModule_viewWebCampaignList
</string>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
bt5/erp5_web/ActionTemplateItem/portal_types/Web%20Campaign/configuration.xml
0 → 100644
View file @
b5bd8ece
<?xml version="1.0"?>
<ZopeData>
<record
id=
"1"
aka=
"AAAAAAAAAAE="
>
<pickle>
<global
name=
"ActionInformation"
module=
"Products.CMFCore.ActionInformation"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
action
</string>
</key>
<value>
<persistent>
<string
encoding=
"base64"
>
AAAAAAAAAAI=
</string>
</persistent>
</value>
</item>
<item>
<key>
<string>
categories
</string>
</key>
<value>
<tuple>
<string>
action_type/object_view
</string>
</tuple>
</value>
</item>
<item>
<key>
<string>
category
</string>
</key>
<value>
<string>
object_view
</string>
</value>
</item>
<item>
<key>
<string>
condition
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
description
</string>
</key>
<value>
<none/>
</value>
</item>
<item>
<key>
<string>
icon
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
configuration
</string>
</value>
</item>
<item>
<key>
<string>
permissions
</string>
</key>
<value>
<tuple>
<string>
View
</string>
</tuple>
</value>
</item>
<item>
<key>
<string>
portal_type
</string>
</key>
<value>
<string>
Action Information
</string>
</value>
</item>
<item>
<key>
<string>
priority
</string>
</key>
<value>
<float>
2.0
</float>
</value>
</item>
<item>
<key>
<string>
title
</string>
</key>
<value>
<string>
Configuration
</string>
</value>
</item>
<item>
<key>
<string>
visible
</string>
</key>
<value>
<int>
1
</int>
</value>
</item>
</dictionary>
</pickle>
</record>
<record
id=
"2"
aka=
"AAAAAAAAAAI="
>
<pickle>
<global
name=
"Expression"
module=
"Products.CMFCore.Expression"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
text
</string>
</key>
<value>
<string>
string:${object_url}/WebCampaign_viewPredicate
</string>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
bt5/erp5_web/ActionTemplateItem/portal_types/Web%20Campaign/view.xml
0 → 100644
View file @
b5bd8ece
<?xml version="1.0"?>
<ZopeData>
<record
id=
"1"
aka=
"AAAAAAAAAAE="
>
<pickle>
<global
name=
"ActionInformation"
module=
"Products.CMFCore.ActionInformation"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
action
</string>
</key>
<value>
<persistent>
<string
encoding=
"base64"
>
AAAAAAAAAAI=
</string>
</persistent>
</value>
</item>
<item>
<key>
<string>
categories
</string>
</key>
<value>
<tuple>
<string>
action_type/object_view
</string>
</tuple>
</value>
</item>
<item>
<key>
<string>
category
</string>
</key>
<value>
<string>
object_view
</string>
</value>
</item>
<item>
<key>
<string>
condition
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
description
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
icon
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
view
</string>
</value>
</item>
<item>
<key>
<string>
permissions
</string>
</key>
<value>
<tuple>
<string>
View
</string>
</tuple>
</value>
</item>
<item>
<key>
<string>
portal_type
</string>
</key>
<value>
<string>
Action Information
</string>
</value>
</item>
<item>
<key>
<string>
priority
</string>
</key>
<value>
<float>
1.0
</float>
</value>
</item>
<item>
<key>
<string>
title
</string>
</key>
<value>
<string>
View
</string>
</value>
</item>
<item>
<key>
<string>
visible
</string>
</key>
<value>
<int>
1
</int>
</value>
</item>
</dictionary>
</pickle>
</record>
<record
id=
"2"
aka=
"AAAAAAAAAAI="
>
<pickle>
<global
name=
"Expression"
module=
"Products.CMFCore.Expression"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
text
</string>
</key>
<value>
<string>
string:${object_url}/WebCampaign_view
</string>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
bt5/erp5_web/ModuleTemplateItem/web_campaign_module.xml
0 → 100644
View file @
b5bd8ece
<module>
<id>
web_campaign_module
</id>
<permission_list>
<permission
type=
'tuple'
>
<name>
Access Transient Objects
</name>
<role>
Assignee
</role>
<role>
Assignor
</role>
<role>
Associate
</role>
<role>
Auditor
</role>
<role>
Author
</role>
<role>
Manager
</role>
</permission>
<permission
type=
'tuple'
>
<name>
Access contents information
</name>
<role>
Anonymous
</role>
<role>
Assignee
</role>
<role>
Assignor
</role>
<role>
Associate
</role>
<role>
Auditor
</role>
<role>
Author
</role>
<role>
Manager
</role>
</permission>
<permission
type=
'tuple'
>
<name>
Access session data
</name>
<role>
Assignee
</role>
<role>
Assignor
</role>
<role>
Associate
</role>
<role>
Auditor
</role>
<role>
Author
</role>
<role>
Manager
</role>
</permission>
<permission
type=
'tuple'
>
<name>
Add portal content
</name>
<role>
Assignor
</role>
<role>
Author
</role>
<role>
Manager
</role>
</permission>
<permission
type=
'tuple'
>
<name>
Add portal folders
</name>
<role>
Assignor
</role>
<role>
Author
</role>
<role>
Manager
</role>
</permission>
<permission
type=
'tuple'
>
<name>
Change local roles
</name>
<role>
Assignor
</role>
<role>
Manager
</role>
</permission>
<permission
type=
'tuple'
>
<name>
Copy or Move
</name>
<role>
Assignee
</role>
<role>
Assignor
</role>
<role>
Associate
</role>
<role>
Auditor
</role>
<role>
Author
</role>
<role>
Manager
</role>
</permission>
<permission
type=
'tuple'
>
<name>
Delete objects
</name>
<role>
Assignor
</role>
<role>
Manager
</role>
</permission>
<permission
type=
'tuple'
>
<name>
List folder contents
</name>
<role>
Assignee
</role>
<role>
Assignor
</role>
<role>
Associate
</role>
<role>
Auditor
</role>
<role>
Author
</role>
<role>
Manager
</role>
</permission>
<permission
type=
'tuple'
>
<name>
Modify portal content
</name>
<role>
Assignor
</role>
<role>
Manager
</role>
</permission>
<permission
type=
'tuple'
>
<name>
View
</name>
<role>
Assignee
</role>
<role>
Assignor
</role>
<role>
Associate
</role>
<role>
Auditor
</role>
<role>
Author
</role>
<role>
Manager
</role>
</permission>
<permission
type=
'tuple'
>
<name>
View History
</name>
<role>
Assignee
</role>
<role>
Assignor
</role>
<role>
Associate
</role>
<role>
Auditor
</role>
<role>
Author
</role>
<role>
Manager
</role>
</permission>
</permission_list>
<portal_type>
Web Campaign Module
</portal_type>
<title>
Web Campaigns
</title>
</module>
\ No newline at end of file
bt5/erp5_web/PortalTypeAllowedContentTypeTemplateItem/allowed_content_types.xml
View file @
b5bd8ece
...
...
@@ -4,6 +4,9 @@
<item>
Image
</item>
<item>
Role Definition
</item>
</portal_type>
<portal_type
id=
"Web Campaign Module"
>
<item>
Web Campaign
</item>
</portal_type>
<portal_type
id=
"Web Page"
>
<item>
Embedded File
</item>
</portal_type>
...
...
bt5/erp5_web/PortalTypeBaseCategoryTemplateItem/base_category_list.xml
View file @
b5bd8ece
...
...
@@ -7,6 +7,9 @@
<item>
aggregate
</item>
<item>
caching_policy
</item>
</portal_type>
<portal_type
id=
"Web Campaign"
>
<item>
aggregate
</item>
</portal_type>
<portal_type
id=
"Web Page"
>
<item>
predecessor
</item>
<item>
publication_section
</item>
...
...
bt5/erp5_web/PortalTypePropertySheetTemplateItem/property_sheet_list.xml
View file @
b5bd8ece
...
...
@@ -7,6 +7,9 @@
<item>
WebSectionUpgradeConstraint
</item>
<item>
WebSitePreference
</item>
</portal_type>
<portal_type
id=
"Web Campaign"
>
<item>
Task
</item>
</portal_type>
<portal_type
id=
"Web Page"
>
<item>
Reference
</item>
<item>
SortIndex
</item>
...
...
bt5/erp5_web/PortalTypeTemplateItem/portal_types/Web%20Campaign%20Module.xml
0 → 100644
View file @
b5bd8ece
<?xml version="1.0"?>
<ZopeData>
<record
id=
"1"
aka=
"AAAAAAAAAAE="
>
<pickle>
<global
name=
"Base Type"
module=
"erp5.portal_type"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
_property_domain_dict
</string>
</key>
<value>
<persistent>
<string
encoding=
"base64"
>
AAAAAAAAAAI=
</string>
</persistent>
</value>
</item>
<item>
<key>
<string>
content_icon
</string>
</key>
<value>
<string>
folder_icon.gif
</string>
</value>
</item>
<item>
<key>
<string>
factory
</string>
</key>
<value>
<string>
addFolder
</string>
</value>
</item>
<item>
<key>
<string>
group_list
</string>
</key>
<value>
<tuple>
<string>
module
</string>
</tuple>
</value>
</item>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
Web Campaign Module
</string>
</value>
</item>
<item>
<key>
<string>
portal_type
</string>
</key>
<value>
<string>
Base Type
</string>
</value>
</item>
<item>
<key>
<string>
type_class
</string>
</key>
<value>
<string>
Folder
</string>
</value>
</item>
</dictionary>
</pickle>
</record>
<record
id=
"2"
aka=
"AAAAAAAAAAI="
>
<pickle>
<global
name=
"PersistentMapping"
module=
"Persistence.mapping"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
data
</string>
</key>
<value>
<dictionary>
<item>
<key>
<string>
short_title
</string>
</key>
<value>
<persistent>
<string
encoding=
"base64"
>
AAAAAAAAAAM=
</string>
</persistent>
</value>
</item>
<item>
<key>
<string>
title
</string>
</key>
<value>
<persistent>
<string
encoding=
"base64"
>
AAAAAAAAAAQ=
</string>
</persistent>
</value>
</item>
</dictionary>
</value>
</item>
</dictionary>
</pickle>
</record>
<record
id=
"3"
aka=
"AAAAAAAAAAM="
>
<pickle>
<global
name=
"TranslationInformation"
module=
"Products.ERP5Type.TranslationProviderBase"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
domain_name
</string>
</key>
<value>
<string>
erp5_ui
</string>
</value>
</item>
<item>
<key>
<string>
property_name
</string>
</key>
<value>
<string>
short_title
</string>
</value>
</item>
</dictionary>
</pickle>
</record>
<record
id=
"4"
aka=
"AAAAAAAAAAQ="
>
<pickle>
<global
name=
"TranslationInformation"
module=
"Products.ERP5Type.TranslationProviderBase"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
domain_name
</string>
</key>
<value>
<string>
erp5_ui
</string>
</value>
</item>
<item>
<key>
<string>
property_name
</string>
</key>
<value>
<string>
title
</string>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
bt5/erp5_web/PortalTypeTemplateItem/portal_types/Web%20Campaign.xml
0 → 100644
View file @
b5bd8ece
<?xml version="1.0"?>
<ZopeData>
<record
id=
"1"
aka=
"AAAAAAAAAAE="
>
<pickle>
<global
name=
"Base Type"
module=
"erp5.portal_type"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
content_icon
</string>
</key>
<value>
<none/>
</value>
</item>
<item>
<key>
<string>
description
</string>
</key>
<value>
<none/>
</value>
</item>
<item>
<key>
<string>
factory
</string>
</key>
<value>
<string>
addXMLObject
</string>
</value>
</item>
<item>
<key>
<string>
group_list
</string>
</key>
<value>
<tuple/>
</value>
</item>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
Web Campaign
</string>
</value>
</item>
<item>
<key>
<string>
init_script
</string>
</key>
<value>
<none/>
</value>
</item>
<item>
<key>
<string>
permission
</string>
</key>
<value>
<none/>
</value>
</item>
<item>
<key>
<string>
portal_type
</string>
</key>
<value>
<string>
Base Type
</string>
</value>
</item>
<item>
<key>
<string>
type_class
</string>
</key>
<value>
<string>
Predicate
</string>
</value>
</item>
<item>
<key>
<string>
type_interface
</string>
</key>
<value>
<tuple/>
</value>
</item>
<item>
<key>
<string>
type_mixin
</string>
</key>
<value>
<tuple/>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
bt5/erp5_web/PortalTypeWorkflowChainTemplateItem/workflow_chain_type.xml
View file @
b5bd8ece
...
...
@@ -23,6 +23,10 @@
<type>
Static Web Site
</type>
<workflow>
category_publication_workflow, edit_workflow
</workflow>
</chain>
<chain>
<type>
Web Campaign
</type>
<workflow>
edit_workflow, publication_workflow
</workflow>
</chain>
<chain>
<type>
Web Page
</type>
<workflow>
document_conversion_interaction_workflow, document_security_interaction_workflow, edit_workflow, processing_status_workflow, publication_workflow
</workflow>
...
...
bt5/erp5_web/SkinTemplateItem/portal_skins/erp5_web_campaign.xml
0 → 100644
View file @
b5bd8ece
<?xml version="1.0"?>
<ZopeData>
<record
id=
"1"
aka=
"AAAAAAAAAAE="
>
<pickle>
<global
name=
"Folder"
module=
"OFS.Folder"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
_objects
</string>
</key>
<value>
<tuple/>
</value>
</item>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
erp5_web_campaign
</string>
</value>
</item>
<item>
<key>
<string>
title
</string>
</key>
<value>
<string></string>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
bt5/erp5_web/SkinTemplateItem/portal_skins/erp5_web_campaign/Base_getWebCampaignValue.py
0 → 100644
View file @
b5bd8ece
from
DateTime
import
DateTime
if
(
context
.
getPortalType
()
not
in
context
.
getPortalDocumentTypeList
())
or
getattr
(
context
.
REQUEST
,
'is_web_section_default_document'
,
False
):
tmp_context
=
context
.
getWebSectionValue
().
asContext
()
else
:
tmp_context
=
context
.
asContext
()
tmp_context
.
edit
(
start_date
=
DateTime
()
)
web_campaign_list
=
context
.
portal_domains
.
searchPredicateList
(
context
=
tmp_context
,
portal_type
=
'Web Campaign'
,
sort_key_method
=
lambda
x
:
x
.
getStartDateRangeMin
()
)
if
web_campaign_list
:
if
batch
:
return
web_campaign_list
# get the newest one
return
web_campaign_list
[
-
1
]
bt5/erp5_web/SkinTemplateItem/portal_skins/erp5_web_campaign/Base_getWebCampaignValue.xml
0 → 100644
View file @
b5bd8ece
<?xml version="1.0"?>
<ZopeData>
<record
id=
"1"
aka=
"AAAAAAAAAAE="
>
<pickle>
<global
name=
"PythonScript"
module=
"Products.PythonScripts.PythonScript"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
_bind_names
</string>
</key>
<value>
<object>
<klass>
<global
name=
"_reconstructor"
module=
"copy_reg"
/>
</klass>
<tuple>
<global
name=
"NameAssignments"
module=
"Shared.DC.Scripts.Bindings"
/>
<global
name=
"object"
module=
"__builtin__"
/>
<none/>
</tuple>
<state>
<dictionary>
<item>
<key>
<string>
_asgns
</string>
</key>
<value>
<dictionary>
<item>
<key>
<string>
name_container
</string>
</key>
<value>
<string>
container
</string>
</value>
</item>
<item>
<key>
<string>
name_context
</string>
</key>
<value>
<string>
context
</string>
</value>
</item>
<item>
<key>
<string>
name_m_self
</string>
</key>