sitecoregadgets.blogspot.com
Sitecore Gadgets: Ensure valid Sitecore Internal Links in Page Editor
http://sitecoregadgets.blogspot.com/2011/06/ensure-valid-sitecore-internal-links-in.html
This blog is a collection of challenges that I had a chance to work through in Sitecore. Tuesday, June 28, 2011. Ensure valid Sitecore Internal Links in Page Editor. Updated on Dec 9, 2011). Refer to this post. Updated on July 27, 2011). A workaround developed for one of our customers incited me to blog about it as I can see how many other may get affected by this issue. System.Text.RegularExpressions;. Sitecore.Data.Fields;. Sitecore.Data.Items;. Sitecore.Pipelines.Save;. 160; public. 160; {. 160;...
sitecoregadgets.blogspot.com
Sitecore Gadgets: Rich Text auto-save
http://sitecoregadgets.blogspot.com/2011/11/rich-text-auto-save.html
This blog is a collection of challenges that I had a chance to work through in Sitecore. Monday, November 28, 2011. Another customization to address rising demand for auto save functionality in Rich Text fields. Per Derek’s. EditorPage.aspx – added some JS changes and changed class inheritance to a custom one. EditorPage.js – made some JS changes. EditorWindow.aspx – made some JS changes. Keep in mind that the package contains a DLL so that app pool will be recycled during the package installation. There...
sitecoregadgets.blogspot.com
Sitecore Gadgets: September 2012
http://sitecoregadgets.blogspot.com/2012_09_01_archive.html
This blog is a collection of challenges that I had a chance to work through in Sitecore. Thursday, September 20, 2012. Interacting with Content Editor in Sitecore 6. I recently stumbled across an interesting challenge. The issue was to programmatically select an item from within a custom item editor tab. In Sitecore 5.x it was quite easy to do. All you need to code was this. Quite simple, huh? Here is the way it should be done in Sitecore 6. ItemId); Sitecore.Web.UI.Sheer. SheerResponse. Heat Maps Module...
sitecoregadgets.blogspot.com
Sitecore Gadgets: July 2010
http://sitecoregadgets.blogspot.com/2010_07_01_archive.html
This blog is a collection of challenges that I had a chance to work through in Sitecore. Friday, July 2, 2010. Teach User Manager how to search by email. This is how it looks:. Namespace Sitecore.SharedSource.Security.Accounts. Public class UserProvider : Sitecore.Security.Accounts.UserProvider. GetUsersByName(int pageIndex, int pageSize, string userNameToMatch). Return FindUsers(pageIndex, pageSize, userNameToMatch);. FindUsers(int pageIndex, int pageSize, string userNameToMatch). Users = null;. Return ...
sitecoregadgets.blogspot.com
Sitecore Gadgets: November 2009
http://sitecoregadgets.blogspot.com/2009_11_01_archive.html
This blog is a collection of challenges that I had a chance to work through in Sitecore. Wednesday, November 25, 2009. Working with Lucene Search Index in Sitecore 6. Part III - Code examples. If you read my previous posts about Lucene search index, then you already know how to configure it and how it works in Sitecore application. In this part we will take a look at API to see what can be achieved using the search index. Additional layer of API for new search index resides under Sitecore.Search. To sear...
sitecoregadgets.blogspot.com
Sitecore Gadgets: Ensure valid Sitecore Internal Links in Page Editor (Update)
http://sitecoregadgets.blogspot.com/2011/12/ensure-valid-sitecore-internal-links-in.html
This blog is a collection of challenges that I had a chance to work through in Sitecore. Friday, December 9, 2011. Ensure valid Sitecore Internal Links in Page Editor (Update). A while back I published a solution to ensure correct links in page editor. Some folks used it and provided a valuable feedback suggesting improvements for RegEx statements to match links. This post is intended to update the solution with suggested improvements. The suggested RegEx looks like this :. You can get from here. Quick T...
sitecoregadgets.blogspot.com
Sitecore Gadgets: November 2011
http://sitecoregadgets.blogspot.com/2011_11_01_archive.html
This blog is a collection of challenges that I had a chance to work through in Sitecore. Monday, November 28, 2011. Another customization to address rising demand for auto save functionality in Rich Text fields. Per Derek’s. EditorPage.aspx – added some JS changes and changed class inheritance to a custom one. EditorPage.js – made some JS changes. EditorWindow.aspx – made some JS changes. Keep in mind that the package contains a DLL so that app pool will be recycled during the package installation. Times...
sitecoregadgets.blogspot.com
Sitecore Gadgets: August 2010
http://sitecoregadgets.blogspot.com/2010_08_01_archive.html
This blog is a collection of challenges that I had a chance to work through in Sitecore. Tuesday, August 31, 2010. Adding custom fields to the index. In this post I want to show how to address a missing feature that was a part of “old” lucene index implementation. This article will provide an example how one can customize Lucene search configuration so that it’s possible to add custom fields to the index. Sitecore.Search.Index, Sitecore.Kernel. Description of configuration attributes:. I created a custom...
sitecoregadgets.blogspot.com
Sitecore Gadgets: December 2011
http://sitecoregadgets.blogspot.com/2011_12_01_archive.html
This blog is a collection of challenges that I had a chance to work through in Sitecore. Friday, December 9, 2011. Ensure valid Sitecore Internal Links in Page Editor (Update). A while back I published a solution to ensure correct links in page editor. Some folks used it and provided a valuable feedback suggesting improvements for RegEx statements to match links. This post is intended to update the solution with suggested improvements. The suggested RegEx looks like this :. You can get from here. Quick T...
sitecoregadgets.blogspot.com
Sitecore Gadgets: October 2009
http://sitecoregadgets.blogspot.com/2009_10_01_archive.html
This blog is a collection of challenges that I had a chance to work through in Sitecore. Friday, October 2, 2009. Working with Lucene Search Index in Sitecore 6. Part I - Why/When to use. How often did you stress yourself thinking on the question "What's the most efficient way to retrieve Sitecore items? Here are possible ways to do it:. SQL custom stored procedures. Let's take a look at each option briefly. The most popular way to get an item. All you need is an item ID and simple call of GetItem(.
SOCIAL ENGAGEMENT