Portal Engine Questions on portal engine and web parts.
Version 6.x > Portal Engine > Portal Master Header text not being written View modes: 
User avatar
Member
Member
USATF Blake - 6/27/2012 9:49:56 AM
   
Portal Master Header text not being written
On our Master template on the root of our site, we have some <script> in the Header tab saved. However, that script is not being output into the header, or anywhere on the page where you'd expect it.

From what I can tell /CMSPages/PortalTemplate.aspx is intact and contains <asp:Literal runat="server" ID="tags" EnableViewState="false" /> in the <head> where I would expect that content to be output.

Is there anywhere else I can look to see why this wouldn't be writing out? We are currently running v6.0.4463.


User avatar
Kentico Support
Kentico Support
kentico_radekm2 - 6/28/2012 3:30:14 AM
   
RE:Portal Master Header text not being written
Hello.

The problem is that what is placed on Header tab is bound to the template. If you really load just a master page and its template, it’s there. But – usually you load some content page as typically there is some default alias path opening some content page, as master template does not contain full content. So, instead of root, e.g. Home page is loaded and its template is applied. I would recommend you using Head HTML code web part instead.

Best Regards,
Radek Macalik

User avatar
Member
Member
USATF Blake - 6/28/2012 7:33:44 AM
   
RE:Portal Master Header text not being written
Makes sense. I thought maybe the code for the header would travel up to whichever template was the base one. Thanks for the explanation.

User avatar
Kentico Support
Kentico Support
kentico_radekm2 - 6/28/2012 8:59:09 AM
   
RE:Portal Master Header text not being written
Hello.

I understand your point. However, in current version you could achieve this goal using proper web part and inheriting the template.

Best Regards,
Radek Macalik