The Page title and Navigation Text Items are included using a user control, and the following code is used to retreive them:
node.GetProperty<string>("pageTitle")
Where node is:
umbraco.NodeFactory.Node.GetCurrent
So it would appear for some reason my code thinks we are looking at the 404 page. However Test Page's Master is definately being used, as it's is showing the bodyText Item.
Thanks, Urvish. I've already tried that. I've even tried manually removing the umbraco.config file so the website regenerates it. However this has resulted in no success.
Preview shows a mixture of 2 different content pages
I'm using Umbraco 6.1.1.
When previewing a previously published page, the output appears to be a mixture of items from 2 different content pages.
The page I am previewing is called Test Page. It has the following Items:
When I click preview, I am navigated to /1059.aspx and shown the following output:
It appears to be showing Items from the page I have configured as my 404 page (which uses 404.Master):
The Body Text is included in the Test Page content's Master page like so:
The Page title and Navigation Text Items are included using a user control, and the following code is used to retreive them:
Where node is:
So it would appear for some reason my code thinks we are looking at the 404 page. However Test Page's Master is definately being used, as it's is showing the bodyText Item.
Has anyone else had any issues like this?
Hi,
kindly make different template for 404 and your test page.
i think the template of test page and 404 was miss match so
Current Node
return 404 error.Hope this will help you.
Regards,
Mehul Gajjar.
Thanks for the reply.
The 404 and test page already use different templates.
Hi Jamie,
Republish entire site and try. May be some caching issue.
Or else you can restart application pool and check.
Hope it will help.
Regards,
Urvish Mandaliya
Thanks, Urvish. I've already tried that. I've even tried manually removing the umbraco.config file so the website regenerates it. However this has resulted in no success.
is working on a reply...