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
Dear All,
I want to show the editors a custom label in backoffice.
The label needs to show the URL of the page and a querystring with the value of another property on the page like below:
domain.local/test/?m=xxxx
xxx will be the value of another property.
The editor needs to copy this URL to send it by whatsapp, sms etc.
Could someone help me with that?
Thanks
Just create a custom read-only property editor:
https://our.umbraco.com/documentation/Tutorials/Creating-a-Property-Editor/
Check out the source code for the ‘Limbo SEO’ package to see how you can look up and use the value of another property on the document type to build the URL.
https://github.com/limbo-works/Limbo.Umbraco.Seo/blob/v2/main/src/Limbo.Umbraco.Seo/App_Plugins/Limbo.Umbraco.Seo/Scripts/Controllers/Preview.js
Hi Bora,
You could try the Render Macro label from my Contentment package?
https://github.com/leekelleher/umbraco-contentment/blob/develop/docs/editors/render-macro.md
The Macro would be a Razor view, you'd have access to contextual page data, to display the URL/link as you need it.
Cheers, - Lee
Thank You Lee! This saved the day.
is working on a reply...
Write your reply to:
Upload image
Image will be uploaded when post is submitted
Showing a custom label in backoffice
Dear All,
I want to show the editors a custom label in backoffice.
The label needs to show the URL of the page and a querystring with the value of another property on the page like below:
domain.local/test/?m=xxxx
xxx will be the value of another property.
The editor needs to copy this URL to send it by whatsapp, sms etc.
Could someone help me with that?
Thanks
Just create a custom read-only property editor:
https://our.umbraco.com/documentation/Tutorials/Creating-a-Property-Editor/
Check out the source code for the ‘Limbo SEO’ package to see how you can look up and use the value of another property on the document type to build the URL.
https://github.com/limbo-works/Limbo.Umbraco.Seo/blob/v2/main/src/Limbo.Umbraco.Seo/App_Plugins/Limbo.Umbraco.Seo/Scripts/Controllers/Preview.js
Hi Bora,
You could try the Render Macro label from my Contentment package?
https://github.com/leekelleher/umbraco-contentment/blob/develop/docs/editors/render-macro.md
The Macro would be a Razor view, you'd have access to contextual page data, to display the URL/link as you need it.
Cheers,
- Lee
Thank You Lee! This saved the day.
is working on a reply...