plone-5.x

Plone restart after buildout fails. How to find the error [duplicate]

点点圈 提交于 2020-01-17 15:08:11
问题 This question already has an answer here : plone change in code not visible in development site (1 answer) Closed 2 years ago . lately I have been trying to customize my Plone by adding helpful addons via the eggs section of my buildout.cfg, running buildout and restarting the zeocluster plonectl restart . I have succesfully installed several addons this way. But some stop Plone from working. For example trying to add plone.app.ldap : buildout works fine and also the restart of the server

MigrationError during plone upgrading from 4.3.8 to 5.0.3

怎甘沉沦 提交于 2019-12-25 16:05:01
问题 OS: debian 8.3 I upgraded partially from 4.3.8 to 5.0.3. I get stuck in migration error to Dexterity. The process I did before upgrade in 4.3.8: Disable all add-ons Add a sitecustomize.py in site-package director: import sys sys.setdefaultencoding('utf8') update and re-index all catalog in keti/portal_catalog/manage_main delete 'checkout_workflow_policy' in keti/portal_properties/site_properties/manage_propertiesForm delete all objects in /keti/reference_catalog/manage_catalogView The process

MigrationError during plone upgrading from 4.3.8 to 5.0.3

孤人 提交于 2019-12-25 16:04:53
问题 OS: debian 8.3 I upgraded partially from 4.3.8 to 5.0.3. I get stuck in migration error to Dexterity. The process I did before upgrade in 4.3.8: Disable all add-ons Add a sitecustomize.py in site-package director: import sys sys.setdefaultencoding('utf8') update and re-index all catalog in keti/portal_catalog/manage_main delete 'checkout_workflow_policy' in keti/portal_properties/site_properties/manage_propertiesForm delete all objects in /keti/reference_catalog/manage_catalogView The process

How to customize Plone-5's folder_contents

痞子三分冷 提交于 2019-12-13 17:25:48
问题 I want to customize Plone's folder_contents to add an 'edit'-link to each listed item, like show in the image below. How would one do that? 回答1: There is a file called table.xml but I have not tried it. It is very cumbersome to change something internal in Plone. 回答2: Looks like the right way to do it is loading the module and changing it's prototype: var structure = require('mockup-patterns-structure'); structure.prototype.defaults._default_activeColumns = ["ModificationDate","EffectiveDate"

What is externalEditorEnabled do?

本秂侑毒 提交于 2019-12-13 03:47:10
问题 I have key error with externalEditorEnabled. It appears in Products.ATContentTypes. I think it was used Plone4. But I found script at Plone5. Products.CMFPlone-5.0.8-py2.7.egg/Products/CMFPlone/skins/plone_scripts/externalEditorEnabled.py Products.CMFPlone-5.0.8-py2.7.egg/Products/CMFPlone/skins/plone_scripts/external_edit.py 回答1: Goto Plone Skins Tool at /Plone/portal_skins http://0.0.0.0:8086/Plone/portal_skins/manage_skinLayers And add Layers. custom archetypes ATContentTypes cmfeditions

Obtaining the “default” mockup TinyMCE configuration on Plone 5

谁说我不能喝 提交于 2019-12-11 03:33:17
问题 I'm trying to configure TinyMCE inside Plone 5 template (so: not the z3c.form widget type). Using the TinyMCE Mockup patter you quickly learn how to display a rudimentary TinyMCE configuration (without any i18n support). But how I can get the "default" configuration applied to TinyMCE when it's loaded for default content types like a Plone page? What I'm looking for a way to get the right value for the data-pat-tinymce HTML attribute. 回答1: I think what you're asking for is to do something

Plone5 Mockup Widgets like pat-pickadate not working for dynamically generated content

霸气de小男生 提交于 2019-12-10 13:23:07
问题 Assume the following silly code fragment in a plone 5 page template: <input id="foo" class="pat-pickadate" /> <input id="bar" /> <script type="text/javascript" > $('#bar').click( function () { $('#bar').addClass("pat-pickadate"); }); </script> You will get two inputs. The first is a nice calendar input and the second is empty at start. After clicking the second input its class will be set to "pat-pickadate" - like the first - but no calendar is rendered. I came across this while trying to

How to customize folder_contents on Plone 5?

好久不见. 提交于 2019-12-07 05:13:32
问题 I'm on Plone 5 and I want to modify the number of columns that are shown by default on /folder_contents . If I recall correctly, the whole table is a pattern that gets initialized with quite a huge JSON data-xxx parameter on the corresponding tag. So, should I dig into the JSON or rather put my attention on the JS pattern? Is there any documentation on how to customize it anywhere? A quick google search didn't show up anything relevant to me :-/ 来源: https://stackoverflow.com/questions