Portal Engine Questions on portal engine and web parts.
Version 5.x > Portal Engine > Where is the master page markup and code stored? View modes: 
User avatar
Member
Member
michiel - 6/23/2010 9:30:09 AM
   
Where is the master page markup and code stored?
I have only used the ASPX development mode, so I'm used to having total control over my markup. In Portal mode I want to change the markup in the <head> of the page, but I don't know where to change it.

For instance, where is the pragma meta tag defined (looking at the root node of a blank site).

User avatar
Kentico Support
Kentico Support
kentico_jurajo - 6/24/2010 1:54:30 AM
   
RE:Where is the master page markup and code stored?
Hi,

The physical master page for portal engine is: /CMSPages/PortalTemplate.aspx(.cs)

The header tags are set in the code behind to a literal element:

// Init the header tags
this.ltlTags.Text = this.HeaderTags;

Best regards,
Juraj Ondrus

User avatar
Member
Member
michiel - 6/24/2010 2:55:58 AM
   
RE:Where is the master page markup and code stored?
Ok, got it, thanks!

I found it somewhat confusing to see little pieces of markup in CMS Desk on the Master page tab, since they do not represent either the source code of the masterpage on disk or the rendered output in the browser.