Virtual Happy Hour this month, Jun 28, we'll be getting a sneak preview at our soon to launch SaaS CMS!

Try our conversational search powered by Generative AI!

Render simple url in Xhtmlstring


Anyone who has any idea how to render a pages simple url in a xhtmlstring? When an editor is using the wysiwyg editor and adds a link to another page I want the link to be rendered as the simple URL to the page.

I have looked at using DisplayTemplates but I would like the copy and customize the default displaytemplate for xhtmlstring but can't find it. I'm using EPiServer 7.5. I thougt the default displaytemplates could be found in the installation directory of EPiServer.


Aug 31, 2015 8:47

The default templates can be found in the directory of your website. You have a modules folder for episerver in the root. In that folder you can find zipped catalogs with all episerver stuff. You should be able to find the templates in that folder.

Aug 31, 2015 9:16

Thanks I found it!

Aug 31, 2015 9:28
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.