Can you give a bit more information where you are trying to use page names instead of id. And it would be great if you could share that code you have, if you have any.
here is my link http://velocity.staging.synergynetworx.com/
I have just started to build this, but when I preview the page I see the page-id, how do I get the page name instead of ID
At a quick looks at your errors I would say that you are referencing your CSS incorrectly.
If you change your CSS in your layouts to start with a / instead of just CSS then see how it behaves. Making these changes via Chrome Dev Tools when visiting your site caused it to start rendering correctly.
Also check image links and script links as well for the same issue.
how do I use page names instead of Id in Umbraco
how do I use page names instead of Id in Umbraco 7
Hi kaivalya,
Can you give a bit more information where you are trying to use page names instead of id. And it would be great if you could share that code you have, if you have any.
This will make it easier for people to help you.
/Dennis
Hi Dennis,
Thanks for your reply,
here is my link http://velocity.staging.synergynetworx.com/ I have just started to build this, but when I preview the page I see the page-id, how do I get the page name instead of ID
Hi Kaivalya,
I'm guessing a bit here since I can't see any of your code but it looks like you're possibly using a Content Picker and then doing something like:
<a href="@Model.Content.GetPropertyValue("itemLink")">learn more</a>
That will link you to the ID, where what you want to do it get the content Node and it's url like the following:
<a href="@Umbraco.TypedContent(Model.Content.GetPropertyValue("itemLink")).Url">learn more</a>
That's a bit simplified but my guess is that should help you out.
Hi Phill
thanks for sending this out it works but then I am seeing errors on this page
http://velocity.staging.synergynetworx.com when you click on learn more of the first slide it will take you to the http://velocity.staging.synergynetworx.com/products/
Hi Kaivalya,
At a quick looks at your errors I would say that you are referencing your CSS incorrectly.
If you change your CSS in your layouts to start with a / instead of just CSS then see how it behaves. Making these changes via Chrome Dev Tools when visiting your site caused it to start rendering correctly.
Also check image links and script links as well for the same issue.
Nik
Hi Nik,
It works, Thank you very much for your Support and Help
is working on a reply...