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...
Write your reply to:
Upload image
Image will be uploaded when post is submitted
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...