Portal Engine
Version 2.x > Portal Engine > How to place CHARSET first, right after the <HEAD> ? View modes: 
User avatar
Member
Member
Thomas - 9/3/2009 6:42:01 AM
   
How to place CHARSET first, right after the <HEAD> ?
I'm using version 2.3a and I'd like to speficy the charset right after the <HEAD> unfortunately the first thing that comes after the head is the TITLE.

FYI TITLE has been entered on the PROPERTIES/METADATA box of the document HOME. After "TITLE" then come those 2 ligns which are present on the MASTER PAGE of our site:

<meta id="metaNoCache" http-equiv="pragma" content="no-cache" />
<link id="metaCssFile" type="text/css" rel="stylesheet" href="/CMSPages/GetCSS.aspx?stylesheetname=something" />

I've managed to move the TITLE from the METADATA box to a webpart called HEADHTML but I still have those 2 ligns of the masterpage.

Any idea?


User avatar
Kentico Developer
Kentico Developer
kentico_martind - 9/13/2009 5:43:45 AM
   
RE:How to place CHARSET first, right after the <HEAD> ?
Hi Thomas,

You can put the code into <head> section of ~\CMSPages\PortalTemplate.aspx template that is used as basic template for all pages in PortalEngine.

Best Regards,

Martin Dobsicek