Spent this weekend working on the cms and made good progress. Got the core page rendering working with masterpages and themes. Tested it with Db and normal aspx pages. I’m wondering whether I’ve over abstracted everything atm! Just added the…Continue Reading →
Was explaining to a friend how to cope with duplicates today so thought I’d just stick a quick note up for him to refer too. Finding duplicates in SQL is relatively easy when dealing with one field, we just need…Continue Reading →
I’ve now written 4 cms’ and have decided as a personal project to create a core system that can easily be adapted to many tasks. Over the past 4 cms’ I’ve used the same code a lot and created a…Continue Reading →
Just a couple of udf to handle paths in sql server, not very solid but if your paths are valid they work well. CREATE FUNCTION dbo.GetFileName (@Path varchar(512)) RETURNS varchar(255) AS BEGIN Return RIGHT(@Path, LEN(@Path) – dbo.LAST_INDEX(@Path, ‘\’)) END
This is the start of a jQuery carousel. I’ve used a few carousels but they require a lot of css editing to get them to change widths etc. I wanted one that could easily adapt to displaying different numbers of…Continue Reading →
Selectors in JQuery are extremely powerful. This is a simple page to test them and as a quick reminder as to what’s available.