0

サイト用の静的な.sitemapファイルがあります。各メインカテゴリ(@Products )に5つのサブカテゴリを追加して、メニューに表示されるようにしたい(メニューは機能するカスタムヘルパーです。実行時にいくつかのページに追加するだけです...)これは可能ですか?Sitemap.Provider

サイトマップ:

<?xml version="1.0" encoding="utf-8" ?>
<siteMap>
  <node controller="Home" action="Index" title="Home" description="Homepage">
    <node controller="Newsroom" action="Index" title="News" description="" />
    <node controller="Products" action="Index" title="Products" description="">
      <node controller="Products" action="MainCat1" title="MainCat1" isDynamic="true" dynamicParameters="category" />
      <node controller="Products" action="MainCat2" title="MainCat2" isDynamic="true" dynamicParameters="category" />
      <node controller="Products" action="MainCat3" title="MainCat3" isDynamic="true" dynamicParameters="category" />
    </node>
  </node>
</siteMap>
4

1 に答える 1

1

カスタムを作成することになりましたSiteMapProvider

于 2010-01-11T21:11:01.127 に答える