Skip to main content

Posts Tagged ‘BrainJocks’

Circle From Above@1x.jpg

To The Controller And Back. Part 2 – Validation

In part 1 I looked at how Sitecore routes controllers that the forms POST to. Let’s see how you can go about validating your forms. I will show you traditional POST as well as AJAX forms with HTML fragments and JSON data. Test It Do you test your server side validation? How often did you […]

Round Stairs@1x.jpg

To The Controller And Back. Part 1 – Routing

Martina Welander has recently posted two great articles on POSTing forms with Sitecore MVC (part 1, part 2). I am very excited to see MVC in context of Sitecore being posted about more and more. Here at BrainJocks we fully embraced MVC since the day it came out officially supported in 6.6 and never looked […]

Love@1x.jpg

.update + .config = Love

There are multiple ways you can bring code and content into your Sitecore instance. Here at BrainJocks we are big fans of TDS, Git, cloud infrastructures, and Atlassian toolset – our local deployments are TDS-powered, our continuous build and deployment vehicle is Elastic Bamboo, and with little PowerShell, curl, and Sitecore.Ship we push code and […]

Hole@1x.jpg

Down The Sitecore Query Hole

I believe there is still use for the good old Query.SelectItems. You can do a lot with the content search API and you can do it a lot faster no doubt, but there are cases where you might still decide to use the good old Query. Anyway, even if only to have some fun exploring, […]

Abstract Code@1x.jpg

Sitecore Language Quirks

I am feeling good today and I invite you to read below and smile along with me. [su_note note_color=”#fafafa”]All tests pass as written on Sitecore 7.1 Update 1. Isolation provided by Sitecore.FakeDb[/su_note] The Stage There Is A Language With No Name A Language With No Name Has No Name Is There Really A Language With […]

Pipeline@1x.jpg

Using Event Queue as a Data Pipe

Remote Events Remote events have been part of Sitecore for quite a while. There are built-in events and you can also trigger your own. You queue them up on your CM instance and then receive and re-raise them on the other end of the tunnel – on all your CD instances. I won’t go into […]

Abstract Background@1x.jpg

Proper implementation of background images w/ text inside responsive carousels

I have been asked the question so many times now, I thought it would be a perfect opportunity to post a blog about it. This way I can just forward a link to people instead of blowing air at ’em. Here it is: “Why can’t I just have an image in the foreground with text […]

Help@1x.jpg

Helping TDS some more

A few months ago I blogged about helping TDS clean up after file replacement. Today I learned that TDS needs some more help and decided to give it a hand. Built Files When TDS builds your TDS.Master project it goes through various steps to copy your solution files, do file replacements, perform XML config transforms, […]

Markers@1x.jpg

Chromes are sometimes fragile

Chromes Sitecore uses special markers – chromes – to tell apart placeholders, renderings, fields, and edit frames in the Page Editor. A chrome is server-generated and marks the beginning and the end of a potentially editable section. It also provides all the essential metadata for the client side scripts to rely on: The metadata for […]

Wet Leaf@1x.jpg

Injecting Resources into Sitecore Content and Page Editor

What do you do when you need extra resources (JavaScript, CSS) brought into your Content Editor and Page Editor experience? Maybe you have developed a custom field type that requires Google Maps API. Maybe many of your renderings use an external library or a client side helper of your own when in IsPageEditorEditing(). Whatever the […]

Youtube On A Laptop@1x.jpg

YouTube Video Picker. Part 4 – XML Control

[su_note note_color=”#fafafa”]Now available in the Sitecore Marketplace[/su_note] This will be the last post in the series about creating a custom field type with support for Content and Page Editor (see part1, part2, and part3) Basics There are two main pieces to an XML control: Markup. It will be a simplification but think of it as […]

Youtube On A Cellphone@1x.jpg

YouTube Video Picker. Part 3 – Sitecore Citizenship

[su_note note_color=”#fafafa”]Now available in the Sitecore Marketplace[/su_note] In part 1 I mentioned the requirements for our custom field to become a law abiding Sitecore citizen. In part 2 I built a complete prototype of the YouTube video picker dialog that we will later convert to the XML control. It’s time to apply for passport. TL;DR […]

Load More