Asif Maniar

Software Engineer
posts - 18 , comments - 14 , trackbacks - 0

Sitecore

Tricks and Optimizations for you Sitecore website
When working with Sitecore there are some optimizations/configurations I usually repeat in order to make my app production ready. Following is a small list I have compiled from experience, Sitecore documentation, communicating with Sitecore Engineers etc. This is not supposed to be technically complete and might not be fit for all environments. Simple configurations that can make a difference: 1) Configure Sitecore Caches. This is the most straight forward and sure way of increasing the performance ......

Posted On Wednesday, March 21, 2012 5:18 PM | Comments (0) | Filed Under [ ASP.NET Sitecore ]

Using Sitecores pipeline to pre-populate item in current language
Sitecore has a powerful event pipeline infrastructure that you can leverage to plugin commands into various item creation, change, move, publish etc events. Recently I had to add functionality to Sitecore so that when an items version is created all fields from a target language are copied into the newly created version to ease editing. To do this first we add an event handler in the Web.Config file for the versionAdded event. <event name="item:versionAdded"> <handler type="MyNamespace.MyClass, ......

Posted On Monday, December 12, 2011 5:41 PM | Comments (0) | Filed Under [ ASP.NET Sitecore ]

Removing / Restricting Access to Sitecores Interface on Content Delivery Environments
Here are a few steps you can follow if you want to restrict access to Sitecore’s Interface on content delivery environments. 1) Open Internet Information Services (IIS) Manager 2) Expand your Content Delivery website 3) Click on the Sitecore folder 4) Double Click on Authentication in the middle content pane 5) In the Authentication Pane right click Anonymous Authentication and click Disable 6) Try visiting the Sitecore login page on the Content Delivery site and verify that you get an access denied ......

Posted On Monday, October 24, 2011 5:40 PM | Comments (0) | Filed Under [ ASP.NET Sitecore ]

Copying Sitecore Items across Languages
When using multiple languages/cultures in the Sitecore CMS the content of an item isn’t usually copied over from an existing language to a new language version. While working on a multi lingual website after content was added to the primary language (en-US) I had to write a script to copy all fields from the primary language into other languages (Example en-GB). Here is some code that I used for Sitecore 6.2. The following method copies an item from the Source Language to a Target Language provided ......

Posted On Monday, October 25, 2010 5:20 PM | Comments (1) | Filed Under [ ASP.NET Sitecore ]

Powered by: