Blog posts

206 results found

206 results in Conferences, Dev, SQL, Umbraco

dev 10 golden rules for becoming a better programmer

Here are my top 10 golden rules for becoming a better programmer

umbraco Simple Umbraco search example

This post shows you how easy it is to use the default Umbraco search functionality in your site. It uses a basic form and then uses razor to display your search results.

umbraco How to create url rewrite rules in Umbraco

This post teaches you how to set rewrite rules for your umbraco site. You may want to force your site to go to a secure url or force it to go to a url with www. at the start. To add these rules, you need to go to the file /config/UrlRewriting.config

umbraco Creating members in Umbraco programmatically

This post gives you the code for creating members programmatically in Umbraco. When you use this code, you can pass in the member's username, name, email address and optionally you can pass in their password and optionally assign them to a role/group.

dev The Pomodoro Technique

I’ve been hearing a lot of good things about the The Pomodoro Technique® for improving productivity. Basically, you work really hard and focus for 25 minutes without interruption and then you have a 5 minute break from it. You then go again for 25 minutes and have a 5 minute break from it, and so on and so on.

dev Maintain scroll position on postback

If you want your site to maintain the current scroll position when the page reloads or when you go to another page, this post should help you. It is ideal for paging, or for sites where you don't want to submit a form using Ajax, but you still want it to stay in position.

dev Lazy loading images

This post gives you the code to allow your page to load faster, by using lower quality images firstly and then replacing them with the higher quality version after the page has loaded.

dev Google maps javascript API example with a styled map and custom pin icon

A lot of websites use google maps to show their location, but they usually leave it with the default style. This post gives you the code I use to generate a map and shows you how to style it. It also shows you how to add a custom map pin icon.

umbraco XML Sitemap in Umbraco website

This post shows you how to create an XML sitemap in your Umbraco website. I will share the code I have used to create my XML sitemap page http://www.codeshare.co.uk/xmlsitemap You will need an XML sitemap when you submit your site to search engines.

umbraco Create a redirect page in Umbraco without editing the config file

If you or your client needs to be able to create short urls or links to other sites without wanting to add it as a redirect in the web config, then this is the post for you. You can create them as umbraco pages that act as fast links or redirects.

dev Font Awesome Social Share Icon Links

You may have noticed the links on my site after each article which let you share the article on social sites like Facebook and Twitter etc. This post gives you the code I used for the icons on my site. Font gives you access to hundreds of icons, and allows you to stack them on top of eachother to create different icons. In this code example you will see I stacked the twitter icon on top of a circle and did the same for the other links.

dev jQuery copy values from one set of textboxes to another

If you ever wanted a simple bit of jQuery to copy values from one set of texboxes, to another set of texboxes, this is the post for you. This is useful for copying billing address details over to the shipping address. I looked everywhere for a post like this to give me the answer, so now that I solved it myself, I created the post for others who are looking for the same answer.