So, I created a hubspot blog post layout element in orchard for a recent project (which I intend to write a post about later). I was then asked to make it personalised by country, so users would see different blog posts based on which country they were in. This is how I did it…
I’ve been enjoying my baptism of fire into the Orchard CMS recently. Here’s how I implemented owl carousel into it.
This post extends part 1 and talks about how to get all the already submitted reviews, display them, and enable rating and commenting functionality on them, all using knockout js. This includes using knockout templates, adding additional functions/observables to pre-mapped view models, extending knockout binding handlers, and implementing a ‘show more’ function to dynamically load another page of results. Continue reading “Umbraco, knockout js and forms part 2” »
This post is about how to implement Umbraco MVC forms with Unobtrusive bootstrap validation and use knockout js to perform data binding. It also covers adding additional functions and properties to mapped observables without having to add them to your c# view models.
What were the lessons learned whilst carrying out the re-design of the leicester city council website in 2014/15? Here’s a giant brain-dump, mainly so I don’t forget stuff for the next time I’m involved in this kind of thing. Continue reading “Leicester.gov.uk redesign reflections” »
I’ve implemented the wonderful Hybrid Framework for Umbraco and got it upgraded to Umbraco 7. All good. But…as the site continues to grow and gets more complex, I’m feeling more and more scared of doing big development. This post looks at how I set up unit testing using NUnit, Microsoft Fakes and Moq. I used help from Andy Butlands post on using Microsoft Fakes, so kudos there!
I recently had to create a REST service using .net’s web api. The only problem was that it was outputting the class name and properties ‘as-is’ and the root node was just was ‘ArrayOfClassName.’ This post is about outputting custom elements, attributes and root nodes using Xml serialization.
This post is a continuation of this one. It discusses how to output a generic content page that loops through all properties of that page and outputs them automatically. So, for document types that are quite similar, only 1 template is required instead of 1 for each. Also, I’ve been looking at the zurb foundation reveal component, specifically using ajax to load content into it.
This post is extending the one about the angular property editor. I’ve developed the property editor and functionality to create a content lister that shows child pages on the front end using MVC webgrids and allows the user to configure which properties are sortable, filterable etc.