Creating a CSS or JS Razor Component Template for multimedia components in Tridion

Today was a rough day. I’ve got a new Tridion implementation that I’m working with, and I was feeling a little defeated by DD4T. It’s no beef on the framework, it’s just a lot to wrap my head around. So I decided to do something that I thought should be an easy win: Create a component template for the CSS and JavaScript.

Then I realized that the last time I wrote a Razor CT for this, the CSS and JavaScript were managed as code components, not multimedia components. So… crud. How do I do this?
Read More

A Neat Tridion Trick With the Pub Up Bookmarklet

Just a short while ago, I announced a tiny lil’ Tridion bookmarklet called Pub Up!™. It was a very simple bookmarklet that left you in your current location in your folders, and just took you one publication higher. Well, when I announced this to the SDL Tridion MVP chat room, Nuno (AKA The King of Tridion), had a simple reply,

oh shiny
what about taking you to the owner publication?
select an item, get the item’s owning pub, go there

It’s been a while, so my memory is fuzzy on exactly how I responded, but it was something to the effect of, “programming is hard”.

With that, Nuno shared a neat trick. And, well, it sure is neat. Let’s discuss. Read More

DS4T++: Now including forms

The Default Schemas 4 Tridion project is my favorite pet Tridion project. And like my other pets, I hope other people like it as much as I do… and they forgive it for shedding so much. A good while back, I was tasked with setting up all the schemas for Tridion, without so much as having a clue when it would be implemented, or what the content models were. That inspired me to first whip up DS4T.  Then, I got inspired to make DS4T more atomic. And then, an over-caffeinated Frank documented it. Now, more recently, Tahzoo had three separate clients that wanted to build forms with Tridion. And all of a sudden, we all got inspired to whip up some form schemas.

Read More

Default Schemas for Tridion: Now with documentation!

Default Schemas for Tridion (DS4T) got an update this evening. We’ve got quite a few changes in this build, but it’s all in the name of getting from 0 to implemented that much faster. And it’s following in the theme of Atomic Schemas that began with the last update. DS4T aims to give you more of the pieces that you need to build the schemas that you want.  Read More

A Tiny Tool for HTML5’s localStorage and sessionStorage

I was talking to a colleague recently about the release of McSandy, and he mentioned that he had a project coming up that would require manipulation of HTML5’s LocalStorage API. I pointed him to a small gist that I’d put up on Github. And then I thought, “hey, maybe I should mention this to other folks, too.”

Read More