How to configure the footer on the display form of a list item Sharepoint

I'm looking for a way to configure the footer information on a list item in sharepoint on:
I would like to remove the content type and add the item ID.

See screeshot attached.

Please advise.

Who is Participating?
No, that's the listform... I modified CreatedModifiedInfo.

There will be no doco on MSDN for templates... but you can lookup individual controls.

Everything can be changed, it's like HTML.

If you create a new template you can just play around/experiment, no harm will come of it... cos u can deleted it.
This is the "CreatedModifiedInfo" rendering template in C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\12\TEMPLATE\CONTROLTEMPLATES\DefaultTemplates.
Or one of the other rendering templates like CreatedModifiedVersionInfo
Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Too change a template you can:

  • Modify the DefaultTemplate.ascx (not recommended)
  • Create a new MyTemplates.ascx with the same ID as the one you want to change
Just copy the code from DefaultTemplate.ascx  to your new MyTemplates.ascx make changes save in C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\12\TEMPLATE\CONTROLTEMPLATES\

It's real easy.
arnulfoespiAuthor Commented:
How is the list associated with the template?

Once you create a new template does it automatically associates it with the list?

I'm assuming this can be done thru SharePoint Designer?

Please advise
Sharepoint parses all templates in the directory... your template has preferrence over the default.

You have to restart IIS after you make the change.

People who use SharePoint Designer (SPD) really scare me.  SPD is such a pile of junk I ban/prevent it's use on all sites.

You can use it, but just as a file editor... notepad++ would be better.
arnulfoespiAuthor Commented:
I took a look at the DefaultTemplate.ascx
Is the listform section the one you need to modify?
If so is there a reference as to what you can change, it looks a bit complicated
Please advise

<SharePoint:RenderingTemplate ID="ListForm" runat="server">
		<SPAN id='part1'>
			<SharePoint:InformationBar runat="server"/>
			<wssuc:ToolBar CssClass="ms-formtoolbar" id="toolBarTbltop" RightButtonSeparator="&nbsp;" runat="server">
						<SharePoint:NextPageButton runat="server"/>
						<SharePoint:SaveButton runat="server"/>
						<SharePoint:GoBackButton runat="server"/>
			<SharePoint:FormToolBar runat="server"/>
			<TABLE class="ms-formtable" style="margin-top: 8px;" border=0 cellpadding=0 cellspacing=0 width=100%>
			<SharePoint:ChangeContentType runat="server"/>
			<SharePoint:FolderFormFields runat="server"/>
			<Bewise:ListDisplaySettingIterator runat="server"/>
			<SharePoint:ApprovalStatus runat="server"/>
			<SharePoint:FormComponent TemplateName="AttachmentRows" runat="server"/>
			<table cellpadding=0 cellspacing=0 width=100%><tr><td class="ms-formline"><IMG SRC="/_layouts/images/blank.gif" width=1 height=1 alt=""></td></tr></table>
			<TABLE cellpadding=0 cellspacing=0 width=100% style="padding-top: 7px"><tr><td width=100%>
			<SharePoint:ItemHiddenVersion runat="server"/>
			<SharePoint:ParentInformationField runat="server"/>
			<SharePoint:InitContentType runat="server"/>
			<wssuc:ToolBar CssClass="ms-formtoolbar" id="toolBarTbl" RightButtonSeparator="&nbsp;" runat="server">
						<SharePoint:CreatedModifiedInfo runat="server"/>
						<SharePoint:SaveButton runat="server"/>
						<SharePoint:GoBackButton runat="server"/>
		<SharePoint:AttachmentUpload runat="server"/>

Open in new window

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.