Add Editor and Modified to a Publishing Page
I have often been asked how to add the name of the person who updated a page and the date to the footer. This is the first time I have had to do it. Though it is not obvious there is a control that helps with the display of any list column. The control is ListItemProperty. So for “Modified By” and “Last Modified” the fields are “Editor” and “Modified” respectively.
Here is one way to add the Editor and Modified field to a MOSS Publishing Page. There are probably other techniques, but this one appears to work just fine.
<div>Footer:
<SharePointWebControls:ListItemProperty runat="server" id="ListItemProperty1" Property="Editor"/> on <SharePointWebControls:ListItemProperty runat="server" id="ListItemProperty2" Property="Modified"/>
</div>
Ready to start your next project with us? That’s great! Give us a call or send us an email and we will get back to you as soon as possible!
+1.512.539.0322