Back up

Code Pharaoh

Redirecting a node to parent page with anchor in Umbraco

#Umbraco #c# #snippet

Using IURLProvider to customise the link to document property for a node.

Read more

Using web.config debug flag to control JavaScript console log output

#Umbraco #JavaScript

By setting a global 'debug' variable linked to the web config debug flag we can ensure that console logs in your JavaScript are not output on the live site.

Read more

IIS7 Rewrite rules stop Umbraco client dependency from working

#Umbraco #snippet

If you are using one ore more rewrite rules in your web config you may find client dependency stops working. Here is a simple rule snippet to ignore client dependency requests from rewrites.

Read more

Adding a loading indicator to your Umbraco 7 packages

#Umbraco #snippet

If you are building a package that fetches data or forces the user to wait for something to load then it is a good idea to display an indicator. After a bit of searching i found the directive you need to use the native Umbraco loader.

Read more

Output alphabet snippet

#snippet #c#

A little loop for outputting the alphabet.

Read more

Creating a custom context menu item in Umbraco 7

#Umbraco #c#

Recently I decided to investigate how easy it would be to create a custom context menu item for Umbraco 7 content items. It turns out that it is pretty simple to do.

Read more