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
Please see the code in my partial. Unable to access CurrentPage, can you please advise any alternatives:
This should work
Many thanks for your help, I am able to almost complete the first site in Umbraco 7 version.
Your videos also helped me a lot to learn:
The problem is that you are starting your view with
The current page property is not available then, because UmbracoViewPage only supports strongly typed content access.
To have the CurrentPage property your view should start with
Then you get access to the dynamic CurrentPage object. But I would discourage you to do that.
Please read this article I wrote for the 24 days in Umbraco which explains the difference between strongly typed and dynamic content access
And if you decide to go with strongly typed content access read this follow up article as well :
Thanks for the post, this has give me an in depth knowledge.
I owe you and Paul Seal a LOT
you guys rock, many thanks for your help
No problem. I'm glad you got it working and you found the videos useful.
is working on a reply...
Write your reply to:
Image will be uploaded when post is submitted