By now you are aware that there are a million ways to do anything in Sharepoint, and that the published Best Practices have nothing to do with actual Practice. This is okay. Here are some Secret Words. You want them, because without them, you will hand-edit every page title.
These are the Secret Words to call up the property for your current subsite's real name, as in the Title for the subsite, as versus for the page itself.
<SharePoint:ProjectProperty Property="Title" runat="server" />
This is distinct from what the edit panel lets you change:
<PublishingWebControls:EditModePanel runat="server" CssClass="edit-mode-panel"><SharePointWebControls:TextField runat="server" FieldName="Title" /></PublishingWebControls:EditModePanel>
The former just sticks the site's actual title on your page. The latter lets you edit the page title field. The more you know, the more you want to drink bleach. Happy Monday, here's a PJ Harvey video.
No comments:
Post a Comment