简体   繁体   English

如何将现有扩展添加到CKAN主菜单?

[英]How to add existing extension to CKAN main menu?

I'm using CKAN as my open data portal. 我正在使用CKAN作为我的开放数据门户。 It's written in Python using Pylons framework. 它是用Pylons框架用Python编写的。 There is an Apps & Ideas page given by CKAN already. CKAN已经提供了“应用和创意”页面。 It can be accessed via http://data.myckan.com/related . 可以通过http://data.myckan.com/related访问它。 Adding /related to the url will show the page. 添加/关联网址将显示该页面。

How can add this as a menu item to CKAN main menu? 如何将此菜单项添加到CKAN主菜单?

You would need to write your own, very simple, CKAN theme that just has one template that adds a link to the menu. 你需要编写自己的,非常简单的CKAN主题,它只有一个模板,可以添加菜单链接。 See the theming tutorial: http://docs.ckan.org/en/latest/theming 请参阅主题教程: http//docs.ckan.org/en/latest/theming

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM