Site structure
Version 5.x > Site structure > Master Page Layout View modes: 
User avatar
Member
Member
William Awaji - 10/3/2011 9:13:21 AM
   
Master Page Layout
Hi, i edit the <Head> tag, master page layout on the CMSDesk (in MaterPage tab).

Now, i created a page that cannot inherit the master layout, but the code inside de <head> tag on master appear in may page. Can i ignore this part of code?

User avatar
Kentico Developer
Kentico Developer
kentico_ondrejv - 10/10/2011 4:09:13 AM
   
RE:Master Page Layout
Hello,

The Head section from the Master page tab is inherited all the time. To omit the Head section on sub pages, you will need to add that code via the Head HTML code web part (in the Design tab). This way, the Do not inherit any content option plays its role.

Best regards
Ondrej Vasil

User avatar
Member
Member
Asdrubal - 1/19/2012 3:16:33 PM
   
RE:Master Page Layout
I add a HTML Webcontrol to my page but it didn't work

I can still see what I set in head section of Master Page!

What I'm looking for is to create a blank page that inherit No content from Master Page!


User avatar
Kentico Support
Kentico Support
kentico_radekm - 1/23/2012 3:43:13 AM
   
RE:Master Page Layout
Hello.

Did you remove that code from Head section and moved it into Head HTML code web part? It is not like placing that web part in page template fix what is in Head section. The point is you can move required code from Head section to web part and it is bound to page template then, so when page does not inherit that template, the code is not used.

Best Regards,
Radek Macalik