Lee Kelleher

Archive for posts dated '2009'

  1. January 2009

    1. Tagged by Techn0tic

      Posted on . Estimated read time: 2 minutes (277 words)

      After years of dodging this tag-the-blogger (“you’re it!“) memes, it was Dave Kinsella who finally got me. So with pure fear of a little dead girl climbing out of my TV in 7 days time, I’ll continue the chain. If you are tagged you should: (a) republish these rules Link to your original tagger(s) and list these rules in your post. Share seven facts about yourself in the post. Tag seven people at the end of…

      Tags: , , , ,

  2. February 2009

    1. Convert XmlReader to String

      Posted on . Estimated read time: 2 minutes (286 words)

      I was in the middle of developing a member look-up AJAX function for an Umbraco project, when I ran into a slight problem, (confusion rather), about how to pull the XML back from SQL Server and return it to the browser (AJAX). The SQL statement was straight-forward, very simple, does a LIKE query against the members table, no problem there. Added “FOR XML AUTO” to return the result-set back as an XML data-type ... all…

      Tags: , , , , , ,

  3. April 2009

    1. Umbraco Package – User Control File Tree

      Posted on . Estimated read time: 2 minutes (309 words)

      A few months ago, Tim Geyssens (aka Umbraco rockstar) released a package that gave you access to the *.config files in the /config/ folder. This has been a lifesaver in those few times where I have only had web-access to an Umbraco install and needed to tweak some config settings. Recently I found myself in the same situation, but this time I needed to quickly update a few text changes to an ASCX user-control. Due…

      Tags: , , , ,

    2. Integrating ELMAH with Umbraco

      Posted on . Estimated read time: 5 minutes (667 words)

      Update: For the latest details on how to integrate ELMAH with Umbraco, please read the article over on the Our Umbraco wiki. I have a few Umbraco projects that have a lot of custom .NET code, mostly in they are in the form of user-controls and XSLT extensions.  As far as I’m aware Umbraco doesn’t have an extendable mechanism for exception handling and sending out notification emails, (there is the umbraco.BusinessLogic.Log, which writes to the…

      Tags: , , , ,

  4. June 2009

    1. MySql data-source support for ELMAH

      Posted on . Estimated read time: 4 minutes (540 words)

      Following on from my last post (a couple of months ago) about Integrating ELMAH with Umbraco, I received a comment if it was possible for ELMAH to use MySQL as a back-end data-source. After a few emails back and forth between myself and Rajiv, (as well as Rajiv’s requests over at the ELMAH support group), the advice was to simpily develop some code that implemented the ErrorLog class, (making use of the 3 core methods:…

      Tags: , , , , , ,

    2. Source Code Released for User Control File Tree Umbraco Package

      Posted on . Estimated read time: under a minute (94 words)

      A few months ago I released the User Control File Tree package for Umbraco, this allowed developers to edit the front-end code/mark-up in their ASCX user-controls from the Umbraco back-end, (remotely), rather than editing them directly on the server via a text-editor. Today I have released the source-code on the Umbraco Extensions project (on CodePlex) and created a project page on the new Our Umbraco community website. If you have any comments, feedback or suggestions…

      Tags: , , , ,

  5. July 2009

    1. Robots.txt for use with Umbraco

      Posted on . Estimated read time: 2 minutes (279 words)

      I originally posted this over at the Our Umbraco community wiki. [Robots.txt for use with Umbraco] I am only posting it on my blog as a cross-reference. The Our Umbraco wiki version will evolve with the community’s experience and knowledge. The Robots Exclusion Protocol has been around for many years, yet there are a lot of web-developers who are unaware of the reasons for having a robots.txt file in the root of their websites. There…

      Tags: , ,

    2. Add YouTube Plug-in to Umbraco/TinyMCE

      Posted on . Estimated read time: 3 minutes (427 words)

      Update: Following on from Dirk and Ismail’s comments, I found out that this YouTube plug-in does not work with TinyMCE v3 (which is the default richtext editor in Umbraco v4). This guide is written to works  for Umbraco v3 only, (using TinyMCE v2). If you are looking for similar functionality in Umbraco v4, (TinyMCE v3), then all you need to do is enable the ‘Flash/media’ button in your Richtext editor data-type and embed the YouTube video…

      Tags: , , ,

    3. Robots.txt Editor for Umbraco

      Posted on . Estimated read time: under a minute (227 words)

      Following up on my recent post of using Robots.txt with Umbraco, I decided that it would be nice to be able to edit the robots.txt directly from the Umbraco back-end.  (Also I wanted to play a bit more with the BaseTree/ITree classes). This afternoon I had a few hours to spare – actually I was procrastinating on another job, (don’t tell my client – I’ll finish it off later tonight) – so I got down…

      Tags: , , , , , ,

  6. September 2009

    1. Umbraco: Ultimate Picker XSLT Example

      Posted on . Estimated read time: 6 minutes (755 words)

      Chatting with Dan (my partner-in-code at Bodenko) about the Ultimate Picker data-type in Umbraco, we realised that we couldn’t find any examples of how to use the data in XSLT. So obviously needing an excuse to write-up a new blog post, here we go. If you need a quick overview about the Ultimate Picker data-type, see Tim Geyssens’ blog post. For my example, using a default Umbraco install (with Runway), we will create a new…

      Tags: ,

    2. How to convert NameValueCollection to a (Query) String [Revised]

      Posted on . Estimated read time: under a minute (190 words)

      Following on from a comment on my previous post about converting a NameValueCollection to a (query) string – I have finally got around to revising my code snippet.  Now the method will handle same key multiple values, (it no longer comma-separates them). I have also added extra parameters so that you can define your own delimiter (since the HTTP specification says that you can use both ampersands & and semicolons ;) and there is an…

      Tags: , , , , ,

    3. Putting your ASP.NET Web Application in Maintenance Mode (using ISAPI_Rewrite)

      Posted on . Estimated read time: 2 minutes (331 words)

      Prompted by @slace’s tweet: i wish there was a way to use app_offline but still view from certain ip's — Aaron Powell (@slace) September 29, 2009 I replied with a suggestion that we’ve used in the past. Aaron said I should blog about it… so here I am (again)! A while ago we needed to do an Umbraco upgrade (from v3 to v4) on a production server – in my opinion it was a pretty…

      Tags: , , , , , , , ,

  7. October 2009

    1. WordPress Plugin Development: Beginner’s Guide, by Vladimir Prelovac

      Posted on . Estimated read time: 4 minutes (522 words)

      I have recently finished reading Vladimir Prelovac book on WordPress plug-in development, (WordPress Plug-in Development: Beginner’s Guide, Packt Publishing, 2009). As an experienced WordPress plug-in developer, I was pessimistic at the start – there is already a wealth of documentation and detailed tutorials on the web, who would need a book? However with Vladimir being a well-respected WordPress plug-in developer, I was curious to see his approach on the subject, and you never know –…

      Tags: , , , , ,

  8. November 2009

    1. How to use umbraco.library GetMedia in XSLT

      Posted on . Estimated read time: 4 minutes (513 words)

      From time to time I notice a reoccurring post over at the Our Umbraco forum; how to display an image (from the Media section) in XSLT? A quick answer can be found on the Our Umbraco wiki for the umbraco.library GetMedia method. For most uses, the last example in the wiki works great.  But I want to show you a “super safe” way of dealing with GetMedia in XSLT. Where I find a lot of…

      Tags: , , , ,

Year archive

  1. 2020
    1. January
  2. 2019
    1. January
    2. February
    3. April
    4. August
  3. 2018
    1. January
    2. August
    3. November
    4. December
  4. 2016
    1. March
    2. May
    3. June
    4. July
    5. August
    6. September
    7. October
  5. 2014
    1. March
    2. May
    3. November
  6. 2013
    1. September
    2. October
    3. November
    4. December
  7. 2012
    1. February
  8. 2011
    1. January
    2. June
    3. July
    4. September
    5. October
  9. 2010
    1. January
    2. April
    3. May
    4. August
  10. 2009
    1. January
    2. February
    3. April
    4. June
    5. July
    6. September
    7. October
    8. November
  11. 2008
    1. January
    2. February
    3. March
    4. April
    5. May
    6. June
    7. July
    8. August
    9. November
    10. December
  12. 2007
    1. January
    2. February
    3. March
    4. April
    5. May
    6. June
    7. November
    8. December
  13. 2006
    1. March
    2. April
    3. June
    4. October
    5. November
    6. December

Tag archive

View a weighted tag cloud and a listing of all tags.