Plone文件夹订购:没有拖动挂钩

时间:2014-04-30 20:11:23

标签: plone

我支持大约十几个Plone站点,都运行了一些版本的Plone 4.2,而且只有一个我有这个问题。这个特殊网站正在运行Plone 4.2.6(4212)。

显示 ... / folder_contents 时,对于任何文件夹,每个成员对象只有文件夹排序的向上/向下箭头,而不是draggingHook。

如果我在 portal_javascripts / manage_jsForm 中打开 开发模式 ,一切都会正确显示,但我几乎不想连续这样做。我已经尝试将每个javascript文件都设置为Mergable并且我已经尝试将Compression设置为None(独立 - 我还没有将它们放在一起,但是)。这些都不起作用。

那么,我的实际问题是哪个脚本负责设置 draggingHook 类? grepping我的整个egg目录只显示plone.app.kss,但这不是portal_javascripts的一部分,这让我想知道如何设置开发模式可以有所作为。

jsregistry.xml

<?xml version="1.0"?>
<object name="portal_javascripts" meta_type="JavaScripts Registry">
 <javascript authenticated="False" bundle="default" cacheable="True"
    compression="none" conditionalcomment="" cookable="True" enabled="True"
    expression="" id="++resource++plone.app.jquery.js" inline="False"/>
 <javascript authenticated="False" bundle="default" cacheable="True"
    compression="safe" conditionalcomment="" cookable="True" enabled="True"
    expression="" id="jquery-integration.js" inline="False"/>
 <javascript authenticated="False" bundle="default" cacheable="True"
    compression="none" conditionalcomment="" cookable="True" enabled="True"
    expression="" id="++resource++plone.app.jquerytools.js" inline="False"/>
 <javascript authenticated="False" bundle="default" cacheable="True"
    compression="none" conditionalcomment="" cookable="True" enabled="False"
    expression="" id="++resource++plone.app.jquerytools.validator.js"
    inline="False"/>
 <javascript authenticated="False" bundle="default" cacheable="True"
    compression="none" conditionalcomment="" cookable="True" enabled="False"
    expression="" id="++resource++plone.app.jquerytools.rangeinput.js"
    inline="False"/>
 <javascript authenticated="False" bundle="default" cacheable="True"
    compression="none" conditionalcomment="" cookable="True" enabled="True"
    expression="" id="++resource++plone.app.jquerytools.dateinput.js"
    inline="False"/>
 <javascript authenticated="False" bundle="default" cacheable="True"
    compression="none" conditionalcomment="" cookable="True" enabled="False"
    expression="" id="++resource++plone.app.jquerytools.plugins.js"
    inline="False"/>
 <javascript authenticated="False" bundle="default" cacheable="True"
    compression="safe" conditionalcomment="" cookable="True" enabled="True"
    expression="" id="++resource++plone.app.jquerytools.overlayhelpers.js"
    inline="False"/>
 <javascript authenticated="False" bundle="default" cacheable="True"
    compression="none" conditionalcomment="" cookable="True" enabled="True"
    expression="" id="++resource++plone.app.jquerytools.form.js"
    inline="False"/>
 <javascript authenticated="False" bundle="default" cacheable="True"
    compression="safe" conditionalcomment="" cookable="True" enabled="True"
    expression="" id="register_function.js" inline="False"/>
 <javascript authenticated="False" bundle="default" cacheable="True"
    compression="safe" conditionalcomment="" cookable="True" enabled="True"
    expression="" id="plone_javascript_variables.js" inline="False"/>
 <javascript authenticated="False" bundle="default" cacheable="True"
    compression="safe" conditionalcomment="" cookable="True" enabled="True"
    expression="" id="modernizr.js" inline="False"/>
 <javascript authenticated="False" bundle="default" cacheable="True"
    compression="safe" conditionalcomment="" cookable="True" enabled="True"
    expression="" id="nodeutilities.js" inline="False"/>
 <javascript authenticated="False" bundle="default" cacheable="True"
    compression="safe" conditionalcomment="" cookable="True" enabled="True"
    expression="" id="cookie_functions.js" inline="False"/>
 <javascript authenticated="False" bundle="default" cacheable="True"
    compression="full" conditionalcomment="" cookable="True" enabled="True"
    expression="" id="livesearch.js" inline="False"/>
 <javascript authenticated="False" bundle="default" cacheable="True"
    compression="safe" conditionalcomment="" cookable="True" enabled="True"
    expression="" id="++resource++search.js" inline="False"/>
 <javascript authenticated="False" bundle="default" cacheable="True"
    compression="safe" conditionalcomment="" cookable="True" enabled="True"
    expression="" id="select_all.js" inline="False"/>
 <javascript authenticated="False" bundle="default" cacheable="True"
    compression="safe" conditionalcomment="" cookable="True" enabled="True"
    expression="" id="dragdropreorder.js" inline="False"/>
 <javascript authenticated="False" bundle="default" cacheable="True"
    compression="safe" conditionalcomment="" cookable="True" enabled="True"
    expression="" id="mark_special_links.js" inline="False"/>
 <javascript authenticated="False" bundle="default" cacheable="True"
    compression="full" conditionalcomment="" cookable="True" enabled="True"
    expression="" id="collapsiblesections.js" inline="False"/>
 <javascript authenticated="False" bundle="default" cacheable="True"
    compression="safe" conditionalcomment="" cookable="True" enabled="True"
    expression="" id="collapsibleformfields.js" inline="False"/>
 <javascript authenticated="False" bundle="default" cacheable="True"
    compression="safe" conditionalcomment="" cookable="True" enabled="True"
    expression=""
    id="++resource++plone.app.discussion.javascripts/comments.js"
    inline="False"/>
 <javascript authenticated="False" bundle="default" cacheable="True"
    compression="safe" conditionalcomment="" cookable="True" enabled="True"
    expression="" id="form_tabbing.js" inline="False"/>
 <javascript authenticated="False" bundle="default" cacheable="True"
    compression="safe" conditionalcomment="" cookable="True" enabled="True"
    expression="" id="popupforms.js" inline="False"/>
 <javascript authenticated="False" bundle="default" cacheable="True"
    compression="safe" conditionalcomment="" cookable="True" enabled="True"
    expression="" id="first_input_focus.js" inline="False"/>
 <javascript authenticated="False" bundle="default" cacheable="True"
    compression="full" conditionalcomment="" cookable="True" enabled="True"
    expression="" id="accessibility.js" inline="False"/>
 <javascript authenticated="False" bundle="default" cacheable="True"
    compression="safe" conditionalcomment="" cookable="True" enabled="True"
    expression="" id="jquery.highlightsearchterms.js" inline="False"/>
 <javascript authenticated="False" bundle="default" cacheable="True"
    compression="safe" conditionalcomment="" cookable="True" enabled="True"
    expression="" id="styleswitcher.js" inline="False"/>
 <javascript authenticated="False" bundle="default" cacheable="True"
    compression="safe" conditionalcomment="" cookable="True" enabled="True"
    expression="" id="toc.js" inline="False"/>
 <javascript authenticated="True" bundle="default" cacheable="True"
    compression="safe" conditionalcomment="" cookable="True" enabled="True"
    expression="" id="dropdown.js" inline="False"/>
 <javascript authenticated="True" bundle="default" cacheable="True"
    compression="safe" conditionalcomment="" cookable="True" enabled="True"
    expression="" id="table_sorter.js" inline="False"/>
 <javascript authenticated="True" bundle="default" cacheable="True"
    compression="safe" conditionalcomment="" cookable="True" enabled="True"
    expression="" id="calendar_formfield.js" inline="False"/>
 <javascript authenticated="True" bundle="default" cacheable="True"
    compression="safe" conditionalcomment="" cookable="True" enabled="True"
    expression="" id="formUnload.js" inline="False"/>
 <javascript authenticated="True" bundle="default" cacheable="True"
    compression="safe" conditionalcomment="" cookable="True" enabled="True"
    expression="" id="formsubmithelpers.js" inline="False"/>
 <javascript authenticated="True" bundle="default" cacheable="True"
    compression="safe" conditionalcomment="" cookable="True" enabled="True"
    expression="" id="unlockOnFormUnload.js" inline="False"/>
 <javascript authenticated="True" bundle="default" cacheable="True"
    compression="safe" conditionalcomment="" cookable="True" enabled="True"
    expression="" id="jquery.tinymce.js" inline="False"/>
 <javascript authenticated="True" bundle="default" cacheable="True"
    compression="safe" conditionalcomment="" cookable="True" enabled="True"
    expression="" id="tiny_mce_gzip.js" inline="False"/>
 <javascript authenticated="False" bundle="default" cacheable="True"
    compression="safe" conditionalcomment="" cookable="True" enabled="True"
    expression="python:not context.restrictedTraverse('@@plone_portal_state').anonymous() or (getattr(portal, 'kupu_library_tool', None) and portal.kupu_library_tool.isKupuEnabled(REQUEST=request))"
    id="sarissa.js" inline="False"/>
 <javascript authenticated="False" bundle="default" cacheable="True"
    compression="none" conditionalcomment="" cookable="True" enabled="True"
    expression="python: not here.restrictedTraverse('@@plone_portal_state').anonymous() and here.restrictedTraverse('@@kss_devel_mode').ison()"
    id="++resource++kukit.js" inline="False"/>
 <javascript authenticated="False" bundle="default" cacheable="True"
    compression="none" conditionalcomment="" cookable="True" enabled="False"
    expression="python: not here.restrictedTraverse('@@plone_portal_state').anonymous() and here.restrictedTraverse('@@kss_devel_mode').ison()"
    id="++resource++kukit-devel.js" inline="False"/>
 <javascript authenticated="False" bundle="default" cacheable="True"
    compression="safe" conditionalcomment="" cookable="True" enabled="True"
    expression="" id="++resource++dropdown-menu.js" inline="False"/>
 <javascript authenticated="False" bundle="default" cacheable="True"
    compression="safe" conditionalcomment="" cookable="True" enabled="True"
    expression="" id="++resource++vPIP/vpip.js" inline="False"/>
 <javascript authenticated="False" bundle="default" cacheable="True"
    compression="safe" conditionalcomment="" cookable="True" enabled="True"
    expression="" id="++resource++vPIP/vpipit.js" inline="False"/>
 <javascript authenticated="False" bundle="default" cacheable="True"
    compression="safe" conditionalcomment="" cookable="True" enabled="True"
    expression="" id="++resource++flowplayer-html/flowplayer-3.2.2.min.js"
    inline="False"/>
 <javascript authenticated="False" bundle="default" cacheable="True"
    compression="safe" conditionalcomment="" cookable="True" enabled="True"
    expression="" id="++resource++collective.js.moment/moment.js"
    inline="False"/>
 <javascript authenticated="False" bundle="default" cacheable="True"
    compression="safe" conditionalcomment="" cookable="True" enabled="True"
    expression="" id="collective.js.jqueryui.custom.min.js" inline="False"/>
</object>

1 个答案:

答案 0 :(得分:0)

您可以将您的plone站点升级到Plone 4.3.2(与此同时Plone 4.3.3)。 在Plone 4.3中,他们删除了kss并将其替换为一些基于jQuery的js。

因此,使用kss不再实现folder_contents上的D'n'D功能。

我遇到过与Plone 4.2.x类似的问题,升级到Plone 4.3解决了这个问题。