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

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

See screeshot attached.

Please advise.

Thanks!
dispform.JPG
arnulfoespiAsked:
Who is Participating?
 
raybiesCommented:
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.
0
 
raybiesCommented:
This is the "CreatedModifiedInfo" rendering template in C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\12\TEMPLATE\CONTROLTEMPLATES\DefaultTemplates.
0
 
raybiesCommented:
Or one of the other rendering templates like CreatedModifiedVersionInfo
0
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.

 
raybiesCommented:
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.
0
 
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
0
 
raybiesCommented:
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.
0
 
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">
	<Template>
		<SPAN id='part1'>
			<SharePoint:InformationBar runat="server"/>
			<wssuc:ToolBar CssClass="ms-formtoolbar" id="toolBarTbltop" RightButtonSeparator="&nbsp;" runat="server">
					<Template_RightButtons>
						<SharePoint:NextPageButton runat="server"/>
						<SharePoint:SaveButton runat="server"/>
						<SharePoint:GoBackButton runat="server"/>
					</Template_RightButtons>
			</wssuc:ToolBar>
			<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>
			<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">
					<Template_Buttons>
						<SharePoint:CreatedModifiedInfo runat="server"/>
					</Template_Buttons>
					<Template_RightButtons>
						<SharePoint:SaveButton runat="server"/>
						<SharePoint:GoBackButton runat="server"/>
					</Template_RightButtons>
			</wssuc:ToolBar>
			</td></tr></TABLE>
		</SPAN>
		<SharePoint:AttachmentUpload runat="server"/>
	</Template>
</SharePoint:RenderingTemplate>

Open in new window

0
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.