Caching In: Revisiting Data Sharing across Templates

A while back I wrote a post on using Context Variables as a templating cache. When I came across some requirements to cache data between templates on a recent project I revisited this concept, but found some limitations with Context Variables which I had not realized before. As such I ended up implementing a different approach to caching

Continue reading

Custom Renderer – Index Keyword Key in SmartTarget

keywords in SmartTargetI found out how to use a new CM-side extension point today; Renderers. I had been struggling for a while with the fact that SmartTarget does not index the Keyword key – which was precisely what I wanted to set up some promotion content selection filters on. It turns out to be quite easy, and indeed gives a generic method for messing with the content that SmartTarget indexes without having to fiddle about on the Delivery side with Java or Kettle.

Continue reading

Intro to the Event System

rear-view-mirrorAn event, in any computer system, is an interruption in the current process. The computer is busy doing what it should be doing, and then something happens to stop it and send it in a different direction. In old systems this was limited to the user clicking a keyboard key or a mouse button. Now, with much more complex systems, it can include state changes, network events, new data, and nearly everything else. Continue reading

My first Alchemy Plugin

abort-publishing-iconSo I wanted to make a really simple Alchemy plugin to test out the amazing new SDL Web plugin store that my colleagues have been working on this year.  It’s a simple plugin where I inject a little bit of javascript into the publish dialog to permanently check the ‘Abort Publishing’ check-box button, but it’s a great learning experiment plus its a nice example if you’re looking to write a plugin that simply adds a bit of javascript or css etc.

Continue reading

SDL Web Design Pattern: “Slicing”

As a Tridion an SDL Web developer, you’ve very likely converted a single block of HTML design into appropriate Tridion Building Blocks. The idea of breaking a page into types of content, represented in Tridion as Component Presentations, is not new to you. But have you “sliced” a Component by sets of fields?

A few months back, Damian Jewett, explored the idea of multiple Template Layout Building blocks. I’m following up with a potential use case for this approach along with a parallel idea with Component Templates instead. We can call this slicing, where we have a consistently used subset of fields out of a collection of Component fields.*

*I first heard the term “slice,” in a slightly different context, from a French design agency after they learned how Tridion worked.

First read Damian’s post. Continue reading

A Quick Word on Category Webdavs

I’m sure this is well documented somewhere, but I couldn’t for the life of me find it, so I thought I’d try to save someone some time and frustration.

Most people have probably used a WebDav URL to reference a Tridion object sometime in the course of their development. WebDav URLs are usually of the format:

/webdav/030C Account Center Content/Building Blocks/Content Continue reading

Edit AJAX loaded content with Experience Manager… really?

To be honest I had been a bit lazy. In all the conversations I had had on the subject of editing AJAX loaded content with Experience Manager I had been told it could not be done, so I didn’t even try. Until Jaime told me it was possible and I found out that its not even difficult. Continue reading