Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
Hi,
How can I set the page title for each blog post? i.e. This bit: <title></title> - at the moment it is empty
Hi Claran,
With this code you should get the name from the content tree in your title tag.
If you are using MVC then use
@Umbraco.Field("pageName")
If you are using webforms use then
<title><umbraco:Item field="pageName" runat="server"/></title>
Hope this helps,
/Dennis
Thanks Dennis - I already knew this, this was just me being a bit stupid!!
is working on a reply...
This forum is in read-only mode while we transition to the new forum.
You can continue this topic on the new forum by tapping the "Continue discussion" link below.
Continue discussion
Page title on blog posts
Hi,
How can I set the page title for each blog post? i.e. This bit: <title></title> - at the moment it is empty
Hi Claran,
With this code you should get the name from the content tree in your title tag.
If you are using MVC then use
If you are using webforms use then
Hope this helps,
/Dennis
Thanks Dennis - I already knew this, this was just me being a bit stupid!!
is working on a reply...
This forum is in read-only mode while we transition to the new forum.
You can continue this topic on the new forum by tapping the "Continue discussion" link below.