Patrick M. Jones

Posts - Page 5 of 9

Sitecore ItemRepeater

It’s funny how almost all the controls we end up building are a list of something. In Sitecore that means lists of Items! If you are doing WebForms you have become familiar with the <asp:Repeater /> control, and might have some solutions for binding FieldRenderer or <sc:Text /> controls. I’ve found that a custom Repeater control that binds child FieldControls (sc:Text, sc:Image, sc:Date, etc.) automatically has reduced my code and time spent slogging through all the controls necessary to build out a site.

Read More

The Crate in the Ocean

I dreamt I was on a beach. I’m watching the water coming in and going out until the water freezes still, totally solid. I walk out, climbing the icy waves. I sort of slide my way until I see the ocean frozen flat in all directions as far as I can see. Below me, under the ice, I still see the jellyfish and others swimming around. Still bigger I see whales, but they’re pure white and swimming slowly in small families. I follow them until I find a boat frozen in the ocean.

Read More

The Pillows

I haven’t been able to sleep properly the past few nights. The main problem was that I knew my pillows were attempting to swap places. I use two pillows to go to sleep: one is a down feather pillow, the other is a shitty normal pillow that should be sent to the fiery pits of hell. It was the second bastard pillow that kept swapping places or was otherwise instigating a positional swap with the down pillow, and it was this pillow that filled me with rage last night.

Read More

LUA, Love2D and Pong

As a software developer who loves playing games, game development has always intrigued me. I have always thought that I could use some of what I already know to build the games that I imagine all the time. I would say that was maybe half true…

Read More

Reset That Sitecore Admin Password

Sometimes we don’t have the password to the sitecore\admin account and need to get in. You can reset the admin password to the default just don’t forget the change it afterwards to something secure. Since I had to do this again today and Emile had the excellent idea of putting it somewhere I wouldn’t forget I decided to post it here. Just change “Sitecore_core” to the name of your Core database. Oh yeah, and don’t forget to back up the database first otherwise you will be thrown into the abyss.

Read More

OEmbed in Sitecore

Recently I’ve seen some interesting approaches to enabling rich content in a Sitecore CMS. Outdated embed codes, renderings, hardcoded gems for the wall-of-shame, javascript plugins of failure, you name it - I saw someone try it. I knew about OEmbed, and it makes sense… if anyone knows how to embed a Youtube video it’s Youtube. More importantly, not just Youtube, but a number of popular providers ranging from video and images to presentations and circuitry diagrams.

Read More