简体   繁体   English

N2 CMS-所有链接在树状视图中均为绿色

[英]N2 CMS - all links are green in tree view

I have an existing ASP.NET MVC 3 website, and I installed N2 CMS using NuGet packages. 我有一个现有的ASP.NET MVC 3网站,并且使用NuGet软件包安装了N2 CMS。 All links are green in tree view, but in MVC Minimal Example only upload folder is green and all other links are black. 在树状视图中,所有链接均为绿色,但在MVC Minimal Exampleupload文件夹为绿色,所有其他链接为黑色。 Can I change that in code/web.config? 我可以在code / web.config中更改它吗?

Any help would be greatly appreciated! 任何帮助将不胜感激!

If you look at classes applied to site tree, you will see that Upload folder has class "day", defined in a file framed.css to be green color with code 393. In the same file, on the next line, there is definition of class "week", again green color but with different code 363. 如果查看应用于站点树的类,您将看到Upload文件夹具有class“ day”,在文件framed.css中定义为绿色,代码为393。在同一文件的下一行,有定义“周”类,再次为绿色,但代码为363。

Judging by the names, I would say, these two colors represent site tree items modified during last 24hr and during last 7 days. 从名称来看,这两种颜色代表过去24小时和过去7天修改的站点树项目。

This means that all your green tree nodes should become black in a week. 这意味着您所有的绿树节点应在一周内变黑。 Of course, this is just a hypothesis, please test it and let me know what are the results. 当然,这只是一个假设,请检验一下,然后让我知道结果如何。

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

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