基于 N2 模板创建 Web 表单 N2 CMS 应用程序

发布于 2024-09-07 19:29:06 字数 551 浏览 2 评论 0原文

我已经详细阅读了 N2 CMS 文档,但没有看到任何明显的步骤来完成此操作。

任务是基于N2创建一个新的Web Forms CMS应用程序。基本上是采用条纹主题并对其进行自定义。

我最初下载了完整的源代码,并让它在我的带有 SQL Server 的开发机器上运行。此后,我进行了各种尝试,将运行应用程序所需的文件复制到 wwwroot 中的新 Web Forms 文件夹中。我遇到了很多与其他人遇到的相同的运行时错误,涉及缺少 DLL、浏览器控制适配器等。

我当前的方法,根据“howto_install.txt”,是使用发布功能将所需的文件移动到我的 wwwroot 文件夹。如果我想为三个不同的客户在 CMS 网站上工作,这确实是不可取的 - 想想吧。不管怎样,当我现在在 wwwroot 文件夹中打开新网站时,主页上的主页链接、所有图像链接和所有管理链接现在都已损坏(这是在将网站移动到IIS7)。安装文档提到将“N2管理文件”复制到新文件夹 - 谁能解释这是什么意思?

任何人都可以帮助概述使新的 Web Forms N2 站点在 wwwroot 文件夹中使用完整功能的基本步骤吗?

I have gone through the N2 CMS documentation at length and can see no obvious set of steps to accomplish this.

The task is to create a new Web Forms CMS app based on N2. Basically to take the Stripes theme and customize it.

I originally downloaded the full source code and got it working on my development machine with SQL Server. After this I made various attempts at copying the files necessary to run the application into the new Web Forms folder in wwwroot. I got a lot of the same runtime errors that I see others getting, relating to missing DLLs, browser control adapters, and the like.

My current approach, per the "howto_install.txt", is to use the Publish function to move the required files to my wwwroot folder. This is really not desirable if I want to work on CMS sites for three different clients - think about it. Either way, when I bring up the new site in the wwwroot folder now, the home page link on the home page, all image links, and all admin links are now broken (this happened after moving site to IIS7). The install document mentions copying the "N2 management files" to the new folder - can anyone explain what is meant by this?

Can anyone assist in outlining the basic steps in getting a new Web Forms N2 site working with full functionality in the wwwroot folder?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

忆梦 2024-09-14 19:29:06

我最终通过使用 Web 平台安装程序在我的计算机上安装 Web 部署工具来实现此目的。然后,我从 CodePlex 下载了 N2 CMS 的 Web 表单模板版本,并使用 IIS7 中的导入包链接提取下载的 zip 文件。

我在这里概述了这些步骤 - 感谢 Cristian Libardo 的帮助:

http://www.codersbarn.com/post/2010/07/03/N2CMS.aspx

I finally got this to work by using the Web Platform Installer to install the Web Deployment Tool on my machine. Then I downloaded the Web Form Templates version of N2 CMS from CodePlex and used the Import Package link in IIS7 to pull in the downloaded zip file.

I outlined the steps here - thanks to Cristian Libardo for his help with this:

http://www.codersbarn.com/post/2010/07/03/N2CMS.aspx

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文