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
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Thomas Gambier
erp5
Commits
45fa23e5
Commit
45fa23e5
authored
Dec 08, 2011
by
Ivan Tyagov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
All this is managed by bt5 in
410fcbdb
parent
410fcbdb
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 addition
and
22 deletions
+1
-22
bt5/erp5_km_ui_test/SkinTemplateItem/portal_skins/erp5_km_ui_test/WebSiteModule_createKMSite.xml
...rtal_skins/erp5_km_ui_test/WebSiteModule_createKMSite.xml
+0
-21
bt5/erp5_km_ui_test/bt/revision
bt5/erp5_km_ui_test/bt/revision
+1
-1
No files found.
bt5/erp5_km_ui_test/SkinTemplateItem/portal_skins/erp5_km_ui_test/WebSiteModule_createKMSite.xml
View file @
45fa23e5
...
...
@@ -58,27 +58,6 @@ portal = context.getPortalObject()\n
# setup DMS settings\n
portal.Zuite_setupDMS()\n
\n
# publish web site so anonymous user may access it\n
km_web_site = portal.web_site_module.km_test_web_site\n
if km_web_site.getValidationState()!=\'published\':\n
km_web_site.publish()\n
\n
# publish the test web page so we can use it in tests for setting default WEb Section page\n
for reference in (\'minimal_km_footer\', \'km.web.site.test.page\',):\n
km_page = portal.portal_catalog.getResultValue(portal_type = \'Web Page\',\n
reference = reference)\n
if km_page.getValidationState()==\'draft\':\n
km_page.publish()\n
\n
# publish default knowledge pad \n
pad = portal.restrictedTraverse("knowledge_pad_module/erp5_km_public_front_pad")\n
if pad.getValidationState()!=\'public\':\n
pad.visible()\n
pad.public()\n
for box in pad.objectValues():\n
box.visible()\n
box.public()\n
\n
# clear cache so UI is regenarated\n
portal.portal_caches.clearAllCache()\n
\n
...
...
bt5/erp5_km_ui_test/bt/revision
View file @
45fa23e5
159
\ No newline at end of file
160
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment