It’s been a bit quite round here recently! Don’t be fooled! The CMS is more or less finished. Just refactoring and preparing bits and bobs.
The actual core itself hasn’t really changed in 6 months and isĀ independentĀ from the CMS, it handles all the page, content and control creation with a single base class that you can implement to create page renderers for any page type. Current renderers are the LiveEdit renderer, Content Block, File Include and Rss (Mobile next).
Read more…
On a recent project I had to allow users to upload their memories. Memories are vague things and I had to enable users to upload and assign incomplete dates. They needed to be able to enter ‘The 90’s’ or ‘September 2000′ as well as complete dates ‘1st Feb 2009′.
Read more…
I consider myself pretty good with css. Doesn’t take me long to convert a photoshop design into working html so I was surprised to find today that there was an easy way to ellipsis to truncated text! Works in all browsers bar FireFox!
overflow:hidden;
text-overflow: ellipsis;
white-space: nowrap;
I had an annoying problem with IE8 today. In the CMS, toolbars appear when you hover over a content block or the page content. All I’ve done is user div:hover.
IE though does not recognise the object if its background is set to transparent and is empty. If you set a background colour then it fires the hover. I tried giving it hasLayout but that made no difference! Very strange behaviour!
Read more…
Whilst working on the CMS I needed to be able to pass back the html a control will render when the user first adds it. The control doesn’t exist on the page yet as the sections are added via javascript. It was very easy to pass in StringWriter to the render function to get the html
Read more…
Coming from a .net background I must admit to missing many of the features that the framework provides like Hastables,
Dictionaries and Lists. I've just come up with a really simple dictionary class that I use to hold results from my id parsing routine.
Read more...