according to an old thread
http://lists.nuxeo.com/pipermail/cps-users/2005-July/001398.html
I added Blog, Documents and Files to the Properties in portal_trees
I did it for workspaces, not for sections, so die publishing
disadvantage is no problem for me
">/
/>/that's right, this option is only available in "folder contents" mode.
/>/
/>/The portlet uses CPSNavigation so you'll have to add the portal types to
/>/list to portal_trees > sections > Properties
/>/
/>/it contains by default:
/>/
..//
/>/
/>/and rebuild the tree cache.
/>/
/>//JM
/>/
/>//
Not a good idea, actually since CPS will make these documents look like
folders, and you'll be able to publish document into them in the
publication form...
so the option is not currently available please open a bug in the
tracker for CPSPortlets and tag it as "enhancement""
This way I got a Blog shown direct as a tab, when workspace members do
login. I inserted the Blog directly in the workspace folder.
Unfortunately, the people cannot access the blog, when they click the
tab or the Icon in the Navtree, they are asked to login again and I get
the error "Unauthorized: You are not allowed to access 'getContent' in
this context", full text see below. Of course, I gave the group
Blog-Manager and Blog-Poster permissions.
Is there a way to get a Blog in a workspace to be accessed directly via
a tab?
I am using CPS 3.4.3.
Thanks Frank
Site Error
An error was encountered while publishing this resource.
*Unauthorized*
Sorry, a site error occurred.
Traceback (innermost last):
* Module ZPublisher.Publish, line 194, in publish_module_standard
* Module Products.Localizer, line 58, in new_publish
* Module ZPublisher.Publish, line 146, in publish
* Module Zope2.App.startup, line 222, in zpublisher_exception_hook
* Module ZPublisher.Publish, line 115, in publish
* Module ZPublisher.mapply, line 88, in mapply
* Module ZPublisher.Publish, line 41, in call_object
* Module Shared.DC.Scripts.Bindings, line 311, in __call__
* Module Shared.DC.Scripts.Bindings, line 348, in _bindAndExec
* Module Products.CMFCore.FSPageTemplate, line 195, in _exec
* Module Products.CMFCore.FSPageTemplate, line 134, in pt_render
* Module Products.PageTemplates.PageTemplate, line 104, in pt_render
*<FSPageTemplate at /portal/blog_view used for
/portal/workspaces/templates/task-4-2-blog-reference>*
* Module TAL.TALInterpreter, line 238, in __call__
* Module TAL.TALInterpreter, line 281, in interpret
* Module TAL.TALInterpreter, line 749, in do_useMacro
* Module TAL.TALInterpreter, line 281, in interpret
* Module TAL.TALInterpreter, line 457, in do_optTag_tal
* Module TAL.TALInterpreter, line 442, in do_optTag
* Module TAL.TALInterpreter, line 437, in no_tag
* Module TAL.TALInterpreter, line 281, in interpret
* Module TAL.TALInterpreter, line 749, in do_useMacro
* Module TAL.TALInterpreter, line 281, in interpret
* Module TAL.TALInterpreter, line 507, in do_setLocal_tal
* Module Products.PageTemplates.TALES, line 221, in evaluate
*URL: file:CPSSkins/skins/cpsskins_cps3/main_template.pt*
*Line 9, Column 0*
*Expression: <PythonExpr atool.listFilteredActionsFor(here)>*
*Names:*
{'container': <CPSDefaultSite at /portal>,
'context': <ProxyBTreeFolderishDocument at
/portal/workspaces/templates/task-4-2-blog-reference>,
'default': <Products.PageTemplates.TALES.Default instance at 0xb7267b4c>,
'here': <ProxyBTreeFolderishDocument at
/portal/workspaces/templates/task-4-2-blog-reference>,
'loop': <Products.PageTemplates.TALES.SafeMapping object at 0xb17a1a8c>,
'modules': <Products.PageTemplates.ZRPythonExpr._SecureModuleImporter
instance at 0xb720e64c>,
'nothing': None,
'options': {'args': ()},
'repeat': <Products.PageTemplates.TALES.SafeMapping object at 0xb17a1a8c>,
'request': <HTTPRequest,
URL=http://www.inno-vention-collaborationplatform.de/portal/workspaces/templates/task-4-2-blog-reference/blog_view>,
'root': <Application at >,
'template': <FSPageTemplate at /portal/blog_view used for
/portal/workspaces/templates/task-4-2-blog-reference>,
'traverse_subpath': [],
'user': <CPSUser typicalpartner>}
* Module Products.PageTemplates.ZRPythonExpr, line 47, in __call__
__traceback_info__: atool.listFilteredActionsFor(here)
* Module Python expression "atool.listFilteredActionsFor(here)",
line 1, in <expression>
* Module Products.CMFCore.ActionsTool, line 156, in
listFilteredActionsFor
* Module Products.CMFCore.ActionProviderBase, line 107, in
listActionInfos
* Module Products.CMFCore.ActionInformation, line 87, in __getitem__
* Module Products.CMFCore.ActionInformation, line 116, in
_checkCondition
* Module Products.CMFCore.ActionInformation, line 236, in testCondition
* Module Products.CMFCore.Expression, line 44, in __call__
* Module Products.PageTemplates.ZRPythonExpr, line 47, in __call__
__traceback_info__: object.hasCommentAction()
* Module Python expression "object.hasCommentAction()", line 1, in
<expression>
* Module Products.CMFCore.FSPythonScript, line 108, in __call__
* Module Shared.DC.Scripts.Bindings, line 311, in __call__
* Module Shared.DC.Scripts.Bindings, line 348, in _bindAndExec
* Module Products.CMFCore.FSPythonScript, line 164, in _exec
* Module None, line 13, in hasCommentAction
*<FSPythonScript at /portal/hasCommentAction used for
/portal/workspaces/templates/task-4-2-blog-reference>*
*Line 13*
Unauthorized: You are not allowed to access 'getContent' in this context
(Also, the following error occurred while attempting to render the
standard error message, please see the event log for full details: You
are not allowed to access 'getContent' in this context)
_______________________________________________
cps-users mailing list
[email protected]
http://lists.nuxeo.com/mailman/listinfo/cps-users