This is something I’ve wanted to do since we first started using Tridion at the RSPB – proper field validation. Turns out it’s ridiculously easy but I have never seen it in any Tridion documentation. Chris Van Leeuwen blogged about it back in March 2009. In your Schema, click on the Source tab and locate […]
Caching CSS and JS with auto-timestamping
Probably the most challenging elements of a website to cache correctly are the CSS and Javascript files. Getting the user’s browser to cache these files is a massive speed boost…but it’s absolutely imperative that you can expire the file and deliver an update at a moment’s notice. The only way to do this reliably is […]
Using OrdinalPosition to create self wrapping blocks
Tridion allows your authors to add as many Components to each Page of your website as they like, in any order, using any combination of the templates you provide. For example: Article teaser Article teaser Download with thumbnail Download with thumbnail Download with thumbnail This represents a page containing five Components using two ComponentTemplates. There […]
It’s SVG for iPhone web apps
Just a quickie. If you’re wondering how to create icons (or other graphics) that look decent on both the standard iPhone display and the fancy-schmancy Retina display – don’t create multiple copies – just use SVG. Get a copy of Adobe Illustrator. Export to SVG. Job done. (In Mobile Safari SVG can be used both […]
The state of web fonts
With support for @font-face finally widespread enough to make it useful, a rash of font delivery services have sprung up. Typekit Fontspring Fontdeck FontFonts Fonts.com (out of beta today) Frustratingly, none of the services work the same way. There are several delivery mechanisms in the mix (some using JavaScript, some not), the payment models are […]