Plone 4.0.2中的链接类型停止工作 [英] Link type in Plone 4.0.2 stopped working

查看:71
本文介绍了Plone 4.0.2中的链接类型停止工作的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在一个Plone 4.0.2网站上工作,该网站已经有一段时间运行良好了,但是最近Link内容类型已经停止了正常运行.无论是否登录,都不会看到所有显示链接地址为:[目标URL]"的页面.同样,在创建/编辑链接时,通常不会显示您正在查看,因为您具有编辑权限..."的信息消息.我试图重新安装原型并且没有更改occ

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

推荐答案

在portal_skins/plone_content中,有一个称为link_redirect_view脚本的视图(Python) 通常可以完成的工作: 这是文档:

in portal_skins/plone_content there is a view called link_redirect_view a Script (Python) that normally does the job : here is the doc :

Redirect to the Link target URL, if and only if:
  - redirect_links property is enabled in portal_properties/site_properties
 - AND current user doesn't have permission to edit the Link

我将使用/select_default_view检查什么是链接的默认视图. 如果没有可用的link_redirect_view,我会去看Jihaisse所说的portal_types中正在发生的事情.可能是quintagroup.seoptimizer与问题有关吗?它发生在我身上,我有quintagroup.seoptimizer,嗯.

I would check with /select_default_view what is the default view of the link. If there is no link_redirect_view available I would go and see what is going on in portal_types as Jihaisse said. Could it be that quintagroup.seoptimizer has something to do with the problem ? It happened to me and I've got quintagroup.seoptimizer, hmm..

实际上,由于再次发生在我身上(可能是因为卸载quintagroup.seoptimizer),所以我的重定向与以前一样,必须去/@@ types-controlpanel并要求查看链接类型:设置调用诸如..直接重定向"

Actually, since it happened to me again (may because uninstall quintagroup.seoptimizer) To have my redirections in the same way as before I had to go /@@types-controlpanel and ask to see the type Link : there it was a setting call some things like .. "direct redirection"

这篇关于Plone 4.0.2中的链接类型停止工作的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆