Skip to main content


Showing posts from April, 2012

Umbraco - Richtext TinyMCE editor not showing or disappeared in the Contect Section

1)  Test: if you change the property Type in your DocType to MultiTextBox and go back you should now see the HTML version of your content.  Now, change the Type Back to a RichTextEditor.

2) Dowload another version of Umbraco, or find another install of Umbraco from a live site.

3) Copy the tinyMceConfig.config and write over the one in your broken Umbraco instance. The file is in the Folder website rout--> Config

4) Test the Site

5) If that has not sorted it, copy the folder tinymce3 (dependant on version) from your working version and overwrite the folder in your broken version.   The folder can be found in: web site rout--> umbraco_client

Umbraco Macro for IFrame when Embedding Video, Vimeo Universal Player, or other types of IFrame on to a Page XSLT version and Razor Version

Vimeo Uneversal Player is cross platform compatiable, and uses IFrames, so you need a Macro to Embedd a video from Vimeo in to Umbraco:

Part A: Create the XSLT File and Macro  (If you want to use Razor instead of xslt, the Razor code is at the bottom of this post)

1) Create a New Clean XSLT File and tick Create Macro.

2) Give the Macro a Name, such as: Vimeo IFrame Embedd for Vimeo Universal Player

3) Paste in the following Code:

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE xsl:Stylesheet [ <!ENTITY nbsp "&#x00A0;"> ]>
    exclude-result-prefixes="msxml umbraco.library">

<xsl:output method="xml" omit-xml-declaration="yes"/>
<xsl:param name="currentPage"/…

Umbraco - XSLT - Create a link using a Node Number.

In Umbraco XSLT you can create a link using a node number, instead of the actual node name / page url.  This can help when you may be creating static code to link to a page.  Using the node number means, if a user changes the name of the page, the link will not break!

1) So, instead of having something like this on your XSLT:

<li><a href="news.aspx" title="News">View All News</a></li>

2) You would have this: (Using the Node Number in a Link)
<li><a href="1569.aspx" title="News">View All News</a></li>

However, this will show 1596.aspx in the address bar.

3) So, use the following to show the proper url, such as news.aspx you would use the Local Link property in Umbraco:
<li><a href="/{locallink:1569.aspx}" title="News">View All News</a></li>
(You can get the node number of a page by hovering over it in Umbraco).

Other examples:
<xsl:value-of select="umbr…