Browsing articles tagged with " Sitecore"
Jan
23
2012

Using XAML controls outside the Sitecore folder

In certain cases you want to offer the end-user a userfriendly interface to manage content, users or anything else. Thanks to Sitecore’s backend flexibility this is possible in more ways than one. In this case I will use the technique which is described in this blogpost by Adam Conn. In the example you can see that a new window is opened by the code below: public override void Execute(CommandContext context) { Assert.ArgumentNotNull(context, "context"); UrlString url [...]

Mar
24
2011

Using ELMAH for error logging within Sitecore

Since a while I use ELMAH for error logging in my custom ASP.NET applications. Normally in a Sitecore project I log all exceptions to the Sitecore log files. But the disadvantage of this is that the exceptions are in the same files as all Sitecore log messages. So I tried to implement ELMAH within my Sitecore installation. What is ELMAH? According to the official site: “ELMAH (Error Logging Modules and Handlers) is an application-wide error [...]

Feb
18
2010

Using JQuery in custom fields

At the moment I’m creating a custom field for tagging content items. I prototyped my custom field in html using JQuery. But when I wanted to convert this to the actual custom field I ran into a problem. As you might know Sitecore uses the Prototype library for all of it’s javascript. And prototype uses the same dollar sign for all of its functions and variables as JQuery does. But JQuery provides a noConflict function [...]

Feb
17
2010

Restricting FieldEditor to specific template based items

In Sitecore 6.2 it is possible to integrate FieldEditors. These are command which enables users edit item settings when they work in the page editor. Personally I think it is a great option when you want editors to only work within the Page Editor, and still let them edit settings. For the blog module that I created I implemented two FieldEditorCommands which let the user edit the blog and entry settings. When you use the [...]

Aug
19
2009

Creating a Item Editor

For a blog module that I am developing I wanted to create an custom item editor. As you might know those are the “tabs” in the Content Editor. 1. Create a aspx file for the item editor user interface. 2. Select the core database in the desktop mode 3. Open the Content Editor and go to the following path /Sitecore/Content/Applications/Content Editor/Editors/Items. 4. You can create an item editor using the /Sitecore Client/Content Editor/Editor data template. 5. You can give your [...]

Pages:123»