How to Insert Email links using Umbraco TinyMce

Add the below script inside the “script” tag in the \umbraco\plugins\tinymce3\insertLink.aspx page

function AppendProperty() {
var sText = $('#href').val();
if (validateEmail(sText)) {
$('#href').val(function (index, value) {
return 'mailto:' + value;
else {
if (sText != "" && (/^http/i.test(sText)) == false) {
$('#href').val(function (index, value) {
return 'http://' + value;

function validateEmail(sEmail) {
var filter = /^([\w-\.]+)@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.)|(([\w-]+\.)+))([a-zA-Z]{2,4}|[0-9]{1,3})(\]?)$/;
if (filter.test(sEmail)) {
return true;
else {
return false;

and modify the input field like the below

<input id="href" style="width: 220px;" type="text" name="href" value="" onchange="document.getElementById('localUrl').value = ''; selectByValue(this.form,'linklisthref',this.value);<strong> AppendProperty();"/>


Visualize XSLT issue on Umbraco 4.9.1

Modify “editXslt.aspx” xsltVisualize function as follow

Change UmbEditor._editor.selection() to UmbEditor._editor.getSelection();

FYI: You can find “editXslt.aspx” under “umbraco/developer/Xslt” folder

Solution for Umbraco CMS Preview issue

Solution for Umbraco CMS Preview issue

This is an issue with Umbraco 4.7.1  and It’s been fixed but only in the latest nightly builds of umbraco.

  1. Download that fix from and select the build “”
    go directly to the build
  2. Unzip/Extract the zip file
  3. Take a backup of your old “Umbraco.dll” which has the preview issue, for your safety.
  4. Replace the “Umbraco.dll” with the newly downloaded file

Force non-www URLs to www URLs Umbraco CMS

You need to add:  redirectMode=”Permanent”

               <add name=""
                 ignoreCase="true" rewriteUrlParameter="IncludeQueryStringForRewrite"
                 destinationUrl="$1" />