Posts

Showing posts from April, 2010

Saving extra data to a sitecore field

We use the Shadowbox component on our web site. How we use the shadowbox is whenever an image is displayed the user can decide if they want the image to be clickable to open up a video or other media content (podcast). In our first web site in Sitecore the users had to put the shadowbox parameters inside the html. This was not a good seperation of presentation and content. But our first site had to be up quick, so we went with the easiest albeit harder to maintain approach. Now the users groan whenever they have to enter parameters for a shadowbox link or other html that they must enter into the content. So the goal for our future sites is to seperate presentation from content as much as possible (and have exceptions when necessary). After batting around a few ideas on how to implement the shadowbox parameters needed into Sitecore I came to the following conclusions: I did not want to add a new field type, that would require too much work. I'm pretty lazy :). No, actual