The CompleteSharepoint.NET app that I wrote (CMS on top of WSS) has this 
capability. My approach was to create a custom content type (called 
CompleteSharepoint.NET Article Page that is based from Document base content 
type - not MOSS Article Page because it's meant to work on top of WSS) and has 
some additional fields including Meta Keywords and Meta Description.

In MOSS scenario, you can add your own article page base that's based on MOSS 
Article Page content type and add your custom fields on it. All of your 
publishing pages should inherit from this base type and not from MOSS Article 
Page directly. You can definitely add more fields (such as My Custom Head 
Section, etc) and then in your master page you have a custom control that read 
the value of SPContext.Current.ListItem["YourCustomHeadSection"] field and spit 
out the content inside your <HEAD> tag.

Will this work?

From: ozmoss@ozmoss.com [mailto:ozm...@ozmoss.com] On Behalf Of Paul Noone
Sent: Friday, 13 March 2009 1:29 PM
To: ozmoss@ozmoss.com
Subject: Per page custom HEAD content

I'm looking for a method to allow additional scripts, meta tags or CSS to be 
added to a page's head via the UI. Either through PageSettings.aspx or 
CreatePage.aspx/EditForm.aspx.

I know that scripts and CSS can be added via a CEWP but this is very inelegant 
and tends to affect validation.

Has anyone toyed with adding a custom placeholder to a master page's HEAD 
section and mapping it to a custom column for the Page content type? Something 
akin to the PlaceHolderAdditionalPageHead but editable from the UI.

Any ideas on how to approach this?

Kind regards,

Paul

________________________________
Support procedure: https://www.codify.com/lists/support
List address: ozmoss@ozmoss.com
Subscribe: ozmoss-subscr...@ozmoss.com
Unsubscribe: ozmoss-unsubscr...@ozmoss.com
List FAQ: http://www.codify.com/lists/ozmoss
Other lists you might want to join: http://www.codify.com/lists
--------------------------------------------------------------------------------
Support procedure: http://www.codify.com/lists/support
List address: ozmoss@ozmoss.com
Subscribe: ozmoss-subscr...@ozmoss.com
Unsubscribe: ozmoss-unsubscr...@ozmoss.com
List FAQ: http://www.codify.com/lists/ozmoss
Other lists you might want to join: http://www.codify.com/lists

Reply via email to