Plone:默认首页没有“添加新"菜单 [英] Plone: Default front page does not have Add New menu

查看:85
本文介绍了Plone:默认首页没有“添加新"菜单的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我们正在使用Plone 4.2(但问题也适用于早期版本).

We are using Plone 4.2 (but problem applies to earlier versions as well).

我们有一个名为新闻的文件夹,其中包含我们所有的新闻项目,并且在导航中具有新闻"选项卡以转到新闻默认值". 通过在/->属性-> default_page中配置Zope管理界面->克隆站点,将站点的默认首页设置为News文件夹.每当用户首次访问我们的网站或单击我们网站顶部的网站"标题时,该功能即起作用,他将看到新闻"默认视图.但是,此新闻"默认视图的顶部没有添加新"菜单.当用户单击导航的新闻"选项卡时,新闻"默认视图具有添加新"菜单,供用户将新新闻项添加到该文件夹​​中.

We have a folder called news containing all our news items, and have a News tab in the navigation to go to the News default . We set the default front page of our site to our News folder, by configuring Zope Management Interface -> Plone site at / -> Properties -> default_page. This works as every time a user first goes to our site or clicks on the Site title at the top of our site, he will see the News default view. However, there is no "Add new" menu at the top of this News default view. When the user clicks on the News tab of navigation, the News default view has the "Add new" menu for user to add new news item to the folder.

是否可以使网站的默认首页显示与导航的新闻"选项卡相同的显示?

Is it possible to make the default front page of the site show the same display as the News tab of the navigation?

非常感谢您的期待.

cmgui

推荐答案

在siteroot上添加内容类型链接",输入您选择的标题并将目标位置设置为"/yourSiteId/yourNewsFolderId",确保已发布,将链接"设置为您网站的默认视图.

On siteroot add a contenttype 'Link', enter a title of your choice and set the destination to '/yourSiteId/yourNewsFolderId', make sure it is published, set the Link as default-view of your site.

这篇关于Plone:默认首页没有“添加新"菜单的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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