Category: Code

Intercepting Umbraco Events

Umbraco allows you to extend the core functionality by exposing a number of back-office events through its API. It’s actually quite easy to do intercept and extend these events – the hardest part is knowing which event you want to

Tagged with: ,

Formatting Dates in AngularJS

Here’s a cheeky little trick for you – if you have a date property that you want to format in your view, you can use this simple bit of AngularJS markup to do just that: {{MyObject.MyDate | date:"dd/MM/yyyy HH:mm"}} This

Tagged with: ,

Using Custom Routes in Umbraco

So if you come from a .Net MVC background and you’re building an Umbraco project, one of the first things you’re going to want to do is add your own custom routes. You create your custom controller and add your

Tagged with: , ,

How to create a login for a SQL Azure database

I tend to use SQL Azure databases to power most of the Umbraco websites I build, and for each database I set up a new user account (security is king etc!). However on SQL Azure you have to script them

Tagged with: ,

Simple AngularJS Lists

I like lists. No hang on – I LOVE lists! And luckily for me, creating lists of things in AngularJS is pretty straight forward, and incredibly useful to have in your code toolbox! In this post I’m going to run

Tagged with: ,
Top