plone

Plone: Up and Down arrows in Contents page of folder missing. Cannot move items up or down

可紊 提交于 2019-12-11 05:05:42
问题 We are using Plone 4.1.3. When we go to the Contents page of a folder, there appears to be Up and Down arrows in the first column of the table in the page for a split second. I suppose these Up and Down arrow are for changing the display order of the items and subfolders inside the folder. Since these arrows are now gone, there is no way we can change the display order of an item in a folder. Instead Up and Down arrows, there is just a icon showing 2 columns x 4 rows of tiny dots which does

How to override template “folder_full_view_item.pt”?

只谈情不闲聊 提交于 2019-12-11 04:15:01
问题 This question is a reformulation of this question which had evolved in a confusing way. Please refer to this question if you search some in depth details or are interested in workarounds and alternative solutions. This question is about the call to template folder_full_view_item.pt in folder_full_view.pt , not about other templates in general! Please avoid workarounds like skin layers, editskinswitcher, etc. I don't want to solve a particular use case here. What I want is to really understand

External Methods for Plone/Zope

丶灬走出姿态 提交于 2019-12-11 04:09:07
问题 I have two instances of Plone running on a server - their locations are /usr/local/Plone/Inst1 and /usr/local/Plone/Inst2. I'm trying to setup external methods, but am having a difficult time figuring out where my "Extensions" folder should be placed. It seems that where ever I place it, the ZMI never sees it. I have tried: /usr/local/Plone/Extensions /usr/local/Plone/Inst1/Extensions ...and various other sub-folders within the "Inst1" directory. When I add an external method, I've tried

IE7 and TinyMCE with Plone

ⅰ亾dé卋堺 提交于 2019-12-11 03:57:30
问题 In an out of the box Plone 4.1.4 (4113) on a windows server, some clientside problems occur on IE7 (I know...). Going to the main site: no problem logging in: IE raises a runtime error: Line 505: Expexted identifier, string or number Adding content: IE raises a runtime error: Line 505: Expexted identifier, string or number and gives a javascript error complaining that there is no "TinyMCE_config". This function doesn't work: TinyMCE refuses to show it's controls and IE7 gives a Javascript

remove spaces and carriage returns from Plone content with Diazo(minimizing html code)

点点圈 提交于 2019-12-11 03:53:39
问题 I have a Plone site, themed with plone.app.theming. how diazo minimizing html content? and remove spaces and carriage returns Content: <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> </head> <body> <div id="content"> <p>Not empty paragraph text</p> <p><span>Not empty paragraph element</span> </div> </body> </html> Output: <html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> </head><body><div id="content"><p>Not empty paragraph

How do I prevent values of custom registry entries to be overwritten on reinstall of my package?

别等时光非礼了梦想. 提交于 2019-12-11 03:49:09
问题 My package introduces registry entries. Changes by site administrator should not be overwritten on reinstall of the package. Many ways to Rome. I chose ftw.upgrade. I like the declarative way of the upgrade step syntax. Its possible to use an upgrade directory for generic setup xml-Files like propertiestool.xml. No need to define handler python code. The upgrade works well. The admin can upgrade from control panel and in my case the new property is added. Insomma: For a new property just

Hints for title line breaks in Plone

天大地大妈咪最大 提交于 2019-12-11 03:38:32
问题 Does HTML support any kind of hinting for (title) line-breaks? The problem is that often page titles or navigational titles have funny line breaking, as they happen to break wherever the current HTML element spacing allows. Manual line-breaks would give much nicer visuals, when line-breaks are needed. The line-break hints should be something the editor can himself/herself enter to an <input type=text> field. 回答1: There's the ­ (soft hyphen) entity and the <wbr> tag (HTML5) for word break

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

How to set `secure` and `httpOnly` for Plones `__ac` cookie?

醉酒当歌 提交于 2019-12-11 02:19:14
问题 I have Plone 4.3.2 (Zope 2.13.21) installed. As mentioned in the documentation (http://plone.org/documentation/kb/securing-plone) cookies should be secure and httpOnly with Zope 2.12 or higher. Also note that the suggested patch has been included in Zope 2.12.0 b1, so Plone 4, which will use Zope 2.12 or higher, won't have this problem But if I log in as admin (or another user that is defined at zope-root) the __ac cookie is not secure and not httpOnly . If I log in as a user created in a

Customize Plone search

守給你的承諾、 提交于 2019-12-11 01:51:38
问题 I'm using Plone 4.3 in a little intranet and the search fiel makes me feel annoying. Live search works fine but when you push enter, the search shows different results. The results can be obtained by adding a " " top the end of the text and then it shows the same results as livesearch. So I ask, is ti possible to insert automatically a " " when pushin enter key in order to achieve the same results as livesearch? thanks pd: my english is not very good, sorry 回答1: As live search is displaying