在看Community Server 2007项目源码时觉得很难看懂
在default.aspx页面、只有一点代码
<%@ Page %><%-- This page is a placeholder for URL rewriting.The content of this page is defined by the theme associated to this
site and is located at web/themes/[THEME NAME]/common/home.aspx--%>
不知道是怎么和home.aspx挂钩的
在default.aspx页面、只有一点代码
<%@ Page %><%-- This page is a placeholder for URL rewriting.The content of this page is defined by the theme associated to this
site and is located at web/themes/[THEME NAME]/common/home.aspx--%>
不知道是怎么和home.aspx挂钩的
site and is located at web/themes/[THEME NAME]/common/home.aspx不是说了么?
这个页面用来URL rewriting.网站在web/themes/[THEME NAME]/common/home.aspx这里反正大概就是这意思
<SiteUrls>
<location name="roller" path="/roller/" themeDir="roller" >
<url name="rollerhome" path="default.aspx" pattern="default.aspx" physicalPath="##themeDir##" vanity="{2}" page="home.aspx" />
<url name="rollerhome_Group" path="default.aspx?GroupID={0}" pattern="default.aspx" physicalPath="##themeDir##" vanity="{2}" page="home.aspx" />
</location>
<SiteUrls>
这句话是什么意思?怎么实现跳转的功能??
<locations type ="CommunityServer.Components.CSLocation, CommunityServer.Components">
<SiteUrls>
<locations type ="CommunityServer.Components.CSLocation, CommunityServer.Components">
<location name="roller" path="/roller/" themeDir="roller" >
<url name="rollerhome" path="default.aspx" pattern="default.aspx" physicalPath="##themeDir##" vanity="{2}" page="home.aspx" />
<url name="rollerhome_Group" path="default.aspx?GroupID={0}" pattern="default.aspx" physicalPath="##themeDir##" vanity="{2}" page="home.aspx" />
</location>
</locations>
<SiteUrls>
以前好像很火啊