A Guide to Tags and Tagging

March 11th, 2010 fbis No comments

Modern websites and blogs often provide a feature called a ‘Tag Cloud’. It contains a series of words that are common across the site and sized according to how many times they are used. Larger words are more common, smaller ones less so.

When people initially start tagging they tend to use the wrong words and overuse the tags system to relate items together. This leads to a tag cloud that isn’t as useful as it could be. Read more…

Categories: Application Design Tags:

Jayrock – Converting to string and back

February 15th, 2010 fbis No comments

I always seem to forget how to do this so I’m just leaving a note for myself :)

To convert to string:

Jayrock.Json.Conversion.JsonConvert.ExportToString([object]);

To convert back again

([object])Jayrock.Json.Conversion.JsonConvert.Import(typeof([object]), result);
Categories: Asp.Net, Javascript Tags:

CMS Update – Preparing for BETA!

February 4th, 2010 fbis No comments

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…

Categories: Asp.Net, cms Tags:

Working with vague dates (90’s, Sept 2000 etc.)

December 16th, 2009 fbis No comments

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…

Categories: c# Tags:

Automatic ellipsis via css!

December 3rd, 2009 fbis No comments

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;
Categories: css Tags:

IE7/8 and hover on empty elements

November 17th, 2009 fbis No comments

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…

Categories: css Tags: