Sitecore 8 Experience Editor issue when including jQuery

Thought I would mention that apparently the Sitecore 8 Experience Editor (editor formerly known as Page Editor) has issue with jQuery when it’s included on the page. I thought it may have bee related to MVC, but then came across the knowledge article detailing the problem I was having. (I experienced the inability to open modal windows such as the layout details editor).

However, since I did dig into it, I did also find a work-around (other than using noConflict as the kb article details). It was to include the following on your page (I’m using MVC, but could be applicable to a WebForms site–I’m just not going to detail the code).

@if (Sitecore.Context.PageMode.IsPageEditor)

Just thought I’d pass along. The above should probably go just before your </body> tag.

Flattr this!

XBlog for Sitecore 8

A while back I was asked to embed a blog into Sitecore. And, although it’s simple to create in Sitecore, it’s even simpler to add something that was already written. (I’m a developer, we like to follow principles like DRY). Currently on the marketplace there are a couple of big ones, but only one real option that supports the popular technology MVC. That module is known as XBlog, which was written by a couple of XCentium developers (Zac Malmquist & Matt Kloss).

Read More

Flattr this!

Sitecore8-Examples: ServicesClient Release

Simple post, but I just wanted to let everyone know I’ve posted a new project to the Sitecore8-Examples repository on GitHub. This outlines example usages of the ServicesClient (new to Sitecore 7.5), including basic CRUD operations as well as how to create a service of your own.

If you haven’t heard of this API before, I strongly suggest taking a look. It’s a REST-based API built on the ASP WebAPI includes upgrades to security, build in abstract classes (for making it easier to implement your own services) as well as a supporting JavaScript library (out of the box).

As always, if you have any questions, comments or concerns please use the comments form. If you see any problems, please report them as an issue on the repository. And, finally, if you think you can improve upon what’s there I am accepting pull requests.

Flattr this!

Developing in Sitecore 7.5 — Adding Sitecore Rocks

As part of my Developing in Sitecore series, this post is going to review how to get Sitecore Rocks connected to your Sitecore instance (and then how to add that reference to your project).

NOTE: If you are going to be developing on a local Sitecore instance you will want to run your Visual Studio as an administrator (elevated permissions). This is because when you’re creating the connection, Sitecore Rocks will attempt to publish a helper service (Hard Rock Web Service). This is completely optional, but when developing local (and you have the ability to do so) I recommend using the custom data provider (for reasons explained in the previously referenced link).

Read More

Flattr this!

Developing in Sitecore 7.5 — Setup and Installation

In this post I’m going to attempt to outline how to setup Sitecore 7.5 for use in your development environment. I would like to make it clear this is a practical example, but may not follow best practices or Sitecore’s point of view. Also, things may be brief, but this is a development environment after all, so we don’t need to worry too much about optimizations and splitting up server roles.

To preface the directions, Sitecore 7.5 was released this month and can be found on the Sitecore Developer Network. It comes with some new features, but the significant change is the overhaul to the analytics and the introduction of MongoDB. For more information on the changes, please see the Sitecore 7.5 Release Notes.

Read More

Flattr this!

Joining Sitecore

Hello everyone!

I’m writing this message as a formal announcement for my decision to join Sitecore. Sitecore is an enterprise Content Management System (CMS) that allows companies to build (and maintain) websites, intranet portals and marketing campaigns through an easy-to-use interface. I’m very exited to begin as I see a lot of potential for both the product and myself within the company.

From here on, I will continue to provide blog posts detailing problems (and solutions) I’ve come across, though from here on in they’ll most likely be regarding the Sitecore platform.

Here’s to a wonderful new venture and a lot of cool future products!

Flattr this!