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
can anybody help me with this, I have sliders on my homepage and there is a learn more button where I am using content picker for the user to pick the link
http://velocity.staging.synergynetworx.com/home
here I am getting the node id instead of url name, I want to have the url name
| am using this code but no luck with getting the url name
@Umbraco.TypedContent(Model.Content.GetPropertyValue ("slider1ButtonLink")).Url"
Hi Kaivalya,
This code seems correct. If I look at the link that you provided it seems okay to me as well.
Dave
Hi Dave
Thanks yes, its working, one simple call can you tell me, is there anyway to remove / at the end of the link generated by the content picker?
Hi,
Yes this is possible. Go to your umbracoSettings.config file and change the setting addTrailingSlash to false
See docs : https://our.umbraco.org/documentation/Reference/Config/umbracoSettings/
Thanks Dave it works, Thanks again or your support
Don't forget to mark this topic as a solution. So others can find it as well.
is working on a reply...
Write your reply to:
Upload image
Image will be uploaded when post is submitted
how to get the link name while using Content picker
can anybody help me with this, I have sliders on my homepage and there is a learn more button where I am using content picker for the user to pick the link
http://velocity.staging.synergynetworx.com/home
here I am getting the node id instead of url name, I want to have the url name
| am using this code but no luck with getting the url name
@Umbraco.TypedContent(Model.Content.GetPropertyValue ("slider1ButtonLink")).Url"
Hi Kaivalya,
This code seems correct. If I look at the link that you provided it seems okay to me as well.
Dave
Hi Dave
Thanks yes, its working, one simple call can you tell me, is there anyway to remove / at the end of the link generated by the content picker?
Hi,
Yes this is possible. Go to your umbracoSettings.config file and change the setting addTrailingSlash to false
See docs : https://our.umbraco.org/documentation/Reference/Config/umbracoSettings/
Dave
Thanks Dave it works, Thanks again or your support
Don't forget to mark this topic as a solution. So others can find it as well.
Dave
is working on a reply...