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.
Here’s something about how to create a filter plugin for the jquery datatables plugin and then test it using qunit.
Here’s a simple way to get a zurb foundation accordion to open all its accordion’y goodness on a single button click.
So, I recently went to the smashing mag workshop in London, which was great. Here’s a big brain-dump of stuff I learnt. I’m not saying I agree with everything, but here it is. Continue reading “Front end techniques and tips” »
So, the last post talked about the hubspot set up. This part talks about how we used grunt to automate certain aspects of the build process.
Recently, we’ve started using Hubspot, which is a service that helps companies with their inbound marketing. It provides a content management system (which they call a ‘content optimization system’ :p) that can be hooked in to fairly easily. For me, its syntax is very similar to twig, a popular php templating language. It provides control structures, filters, functions etc. There’s some nice bits and some truly flakey bits – here’s what I’ve learnt so far…
I recently had to do some work with a flat html site that, previously, required loads of copying and pasting identical bits of html (headers, navs, footers). This quickly became tiresome so I turned to good-ol grunt.