Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

SDL Tridion UI Using .Net master pages

Tags:

tridion

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

like image 795
johnwinter Avatar asked Nov 04 '22 00:11

johnwinter


1 Answers

To resolve this issue the following steps were taken:

  1. Remove the SiteEdit / UI template building block 'Enable inline editing for Page' from the Master Page Template.
  2. In the DWT for the content pages (where the layout is just <contentplaceholder> tags add the value <!--SITE_EDIT_INIT--> inside the final one.
  3. Republish everything.

Hope this helps.

like image 51
johnwinter Avatar answered Dec 22 '22 04:12

johnwinter