5

I have a question about implementing the new UI within a .net website that is built using master pages.

Our solution uses .NET master pages. Everything is configured as documented here) in that our master page is using the <--INIT_SITE_EDIT--> code at the end of the file to ensure the siteedit /i code is embedded correctly. When we are browsing the website and switch over to the UI interface, the masterpage is actually opened (even though the correct content components are pulled in for editing)... but this makes it impossible for the users to republish the full page within the new UI.

Is there a simple way to fix this that i'm missing? I fear I'm going to have to do some manipulation of the code that is output by the default UI/siteedit code blocks to drop in the correct page tcm-id.

Thanks in advance,

John

4

1 に答える 1

2

この問題を解決するために、次の手順が実行されました。

  1. SiteEdit / UI テンプレート ビルディング ブロック 'ページのインライン編集を有効にする' をマスター ページ テンプレートから削除します。
  2. コンテンツ ページの DWT (レイアウトが単なる<contentplaceholder>タグである場合<!--SITE_EDIT_INIT-->、最終ページ内に値が追加されます。
  3. すべてを再発行します。

お役に立てれば。

于 2012-05-18T16:46:19.733 に答える