plone

Plone Intranet workflow and group permissions

做~自己de王妃 提交于 2019-12-24 02:07:25
问题 Now, granted, this may be due to a misunderstanding of the roles/permissions model in Plone, as it's a little different than many systems I've worked with in the past, but here's the situation and where I'm getting stuck. -- Client needs a Plone site (4.3.3) to be restricted to logged-in users only, with the option to make selected content visible to not logged in users. Easy enough, the Intranet workflow suits this purpose, allowing them to publish externally what they wish, and keep the

TinyMCE-dialogs of Plone site are not translated

有些话、适合烂在心里 提交于 2019-12-24 00:12:09
问题 The main issue is a dialog for links: for external links the target dialog is empty. But the issue itself seems to be that this dialog and also other dialogs of TinyMCE and the control panel for TinyMCE is in english, not the language of the website, which is not english. Any hint where to start debugging? Plone 4.3.11 , TinyMCE 1.3.23 default for Plone 4.3.11 german 回答1: Looks like the translation-files aren't compiled and that you ran into https://github.com/plone/Products.TinyMCE/issues

Only site administrators should be able to set default display view of folders on Plone 4.3

孤人 提交于 2019-12-23 21:30:11
问题 All logged-in members of my plone site have the permission to edit, create and publish content. Unfortunately, they are also able to change the default display view of a folder. This leads to a lot of problems as the site members sometimes - accidentically - change to a view template that a folder is not suitable for. How can I change plone the way that only role administrator is able to set the default view of all folders? Normal site members should not be able. Since I trust my members

How to hide the plone 4.3 site default logo

不问归期 提交于 2019-12-23 19:43:05
问题 I need to to know how to replace/hide plone 4.3 default logo using my own viewlet. my viewlets.xml file is under profiles/default and i registered viewlets using generic setup like <genericsetup:registerProfile name="default" title="bdr.theme" directory="profiles/default" description="Installs the bdr.theme package" provides="Products.GenericSetup.interfaces.EXTENSION" /> But it does not call the viewlets.xml file to hide the default plone site plone logo. What i have to do for achieving my

How to replace <b> with <strong> in TinyMCE for Plone

ぐ巨炮叔叔 提交于 2019-12-23 17:11:17
问题 I would like to replace bold tag, , with strong tag, in TinyMCE. How to do it in Plone using Products.TinyMCE? I read TinyMCE document, http://www.tinymce.com/wiki.php/Configuration:valid_elements. Below is how to do it in TinyMCE: tinyMCE.init({ ... valid_elements : "strong/b" }); Thanks. 回答1: I never tested this change, however you can try what you learned patching "tiny_mce_init.js". To do this I suggest to use z3c.jbot (see also http://blog.keul.it/2011/06/z3cjbot-magical-with-your-skins

Plone 4.3.4 - ImportError: No module named dexterity.localcommands.dexterity

旧巷老猫 提交于 2019-12-23 15:05:15
问题 On a vanilla Plone 4.3.4 site (Unified Installer on Ubuntu 14.04.1LTS), and after updating buildout.cfg with the zopeskel and paster boiler plate stuff and running buildout, I successfully created a dexterity package in my src folder: $ cd src $ ../bin/zopeskel dexterity my.package After updating buildout.cfg (adding my.package to the eggs section and src/my.package to the develop section) and running buildout, I tried to add content to my new package, like I have done so many times in Plone

How to check, if my product is already installed, when installing it?

和自甴很熟 提交于 2019-12-23 12:46:42
问题 I want to execute parts of my code in an import-step, only if the product itself hasn't been installed, yet. I tried with the 'listInstalledProduct's-method of the quickinstaller-tool. However, this will return all installed prods but not my own one itself. How can I check, if my product has already been installed in the site? 回答1: With the right hint of Anne Walther (a.k.a. 'awello'), I could find a solution: from Products.CMFCore.utils import getToolByName def myMethod(context): qi =

Moving existing fields/behaviors in dexterity [duplicate]

随声附和 提交于 2019-12-23 12:30:12
问题 This question already has an answer here : Moving fields between fieldsets on Dexterity (1 answer) Closed 3 years ago . How can move an existing field (IDublinCore.rights) into another fieldset, after a specific field - Without writing my own Behavior (a copy of IDublinCore)? "Rights" fields should be appear after "image_caption" (own contenttype) This isn't working form.order_after(rights='image_caption') 回答1: How about using Jquery? (Since the fieldsets are using Jquery anyway) For example

zc.buildout 2.0.0 release somehow ends up breaking Plone buildouts

房东的猫 提交于 2019-12-23 12:01:32
问题 I am trying to run old Plone 3.3 buildout.cfg. In [versions] I pin down buildout as the following: cat buildout.cfg|grep -i zc.buildout zc.buildout = 1.4.3 However, for some reason bootstrap.py generated bin/buildout ends up using the latest 2.0.0 release: cat bin/buildout|grep -i zc.buildout '/srv/plone/x/eggs/zc.buildout-2.0.0-py2.4.egg', Which fails when trying to run bin/buildout: An internal error occured due to a bug in either zc.buildout or in a recipe being used: Traceback (most

Link type in Plone 4.0.2 stopped working

南楼画角 提交于 2019-12-23 10:03:01
问题 I'm working on a Plone 4.0.2 website that for awhile has been running smoothly, but just recently the Link contenttype has stopped functioning as it should. Regardless of being logged in or not all that is ever seen is the page saying "The link address is :[target URL]". Also when creating/editing a link the info message that usually says "you're seeing this because you have permission to edit..." isn't showing up. I've attempted to reinstall archetypes and no change occ 回答1: in portal_skins