Convert web URL to hyperlink in Section page description
답변함Hello Zendesk Team,
I need help with our section page description:
- Is there a way to convert a plain web URL to a hyperlink if whenever I just add an URL like mail.google.com to the Edit Section - page description box?
- How can I also apply the line break in the page description whenever I add a line break in Edit Section - page description box?
This is what I have so far:
For your reference, this is how it looks like in the Edit Section page:
But I want it to look like this (with hyperlink and line break):
Any suggestions would be great!
Many thanks!
-
Hi Frances
Zendesk doesn't support any HTML tags in the description, so URL's etc won't work. The same with linebreaks.
You could add some javascript to the guide template that picks up on URLs and other keywords and transform them when the page renders. Unfortunately, I am not a programmer and can't help you with the actual code. A drawback to this would be that if the script fails for some reason your description would look strange to the end-user.
-
Hey Frances,
You'd most likely need to set this up through custom code in the Guide theme editor as the description field will not render hyperlinks as you described.
This would also need to be applied using custom code in your Guide theme. Perhaps other users can jump in here and offer some guidance as custom code is outside our scope of support here on the Community Team.
I've also attached some useful customization resources for you that may help:
Cheers!
-
Hello Carsten and Brett!
Sorry for the late response but thank you truly for your suggestions.
We won't be pushing through with this for now but hopefully, this feature will be included to the next product updates. :)
Thank you once again for your help!
댓글을 남기려면 로그인하세요.
3 댓글