Friday, October 30, 2009

Quick tip – remove “Edit HTML” option for the rich text field

A while ago  (in 2005 actually), I blogged about how to disable HTML tab in the HTML Editor. How it is almost 2010 and it is time to post an update :-)
Well, first thing I would like to point out is that after 4+ years, the approach pretty much has not changed. We changed the rich text editor from CuteEditor to Telerik’s RAD Editor, released a great deal of new functionality, but still preserved the idea of backward compatibility even in such small things as rich text editor configuration!
Isn’t it amazing?

Enough reminiscing, let me cut to the chase! Today with 6.x, you can still disable HTML tab for the RTE by modifying the security permissions on the “HTML View” item in one of the rich text profiles, for example for the “Rich Text Full”: /sitecore/system/Settings/Html Editor Profiles/Rich Text Full/Buttons/HTML View

Two things changed here. All profile definitions migrated to the “core” database and now the container names are a bit different.

In addition to this, as one of our partners noticed, there is another button in Content Editor above the RTE field called “Edit HTML” which needs to have the same rules applied to.
Capture

For that, follow the following steps:
1. Go to the core database, locate the field definition item:
/sitecore/system/Field types/Simple Types/Rich Text/Menu/Edit Html
2. On the Security Tab, click “Assign” and select the role you don’t want this option to be available to. Deny inheritance of this item or specify other security settings that make sense for your needs.
inheritance

That’s it, Folks! Enjoy Sitecore!

Thursday, September 03, 2009

Announcement: Partial (Item) Cache Clearing Module - SitecoreStager

Great news! We have released a shared source component that implements partial cache clearing model. Make sure to download the tool and read more about it. Since it is Shared Source, make sure you understand the support restrictions, etc. first before deploying the tool to production.

This tool does not substitute the Staging module as it provides cache clearing only, not file upload/download functionality.

For the implementations with frequent publish operations enabled (from workflow or single item publishes) and especially for multisite environments, this will significantly improve the performance of the delivery system and take the load off the SQL Server.

What I love about the tool is that the code is available so if there are specific architectural considerations for your implementation, you can reuse the code and implement the solution that fits your needs.

Kudos to Alexey Romaniuha for the actual implementation.

Enjoy and don’t forget to provide feedback!

List of blogs indexed on SDN

Greetings! Some of you asked - here is the list of blogs we currently index on new SDN search.
http://adeneys.wordpress.com/
http://blog.wojciech.org/?cat=5
http://briancaos.wordpress.com/
http://cmsmarketing.blogspot.com/
http://contenttree.blogspot.com/
http://dev-smar.blogspot.com/
http://jefraser.wordpress.com/category/sitecore/
http://kerrybellerose.blogspot.com/
http://km-sitecore.tumblr.com/
http://larsnielsen.blogspirit.com/
http://mcore.wordpress.com/
http://philheltewig.spaces.live.com/
http://richdias.wordpress.com/category/sitecore
http://sharesitecore.wordpress.com/
http://sitecore-on-the-road.blogspot.com/
http://sitecore.alexiasoft.nl/
http://sitecore.blogspirit.com/
http://sitecore.spaces.live.com/
http://sitecoreaustralia.wordpress.com/
http://sitecoredev.blogspot.com/
http://sitecoreexperience.spaces.live.com/
http://sitecoregadgets.blogspot.com/
http://sitecorejm.blogspot.com/
http://sitecorejohn.spaces.live.com/
http://sitecorekh.blogspot.com/
http://sitecoresmoothie.blogspot.com/
http://sitecoresupport.blogspot.com/
http://thesitecoreexperience.blogspot.com/
http://usoniandream.blogspot.com/
http://vasilinenko.blogspot.com/
http://www.alexeyrusakov.com/sitecoreblog
http://www.cassidy.dk/blog/sitecore

If your blog is not in the list, please submit it to the comments below and we will include it in the search.

BTW, the indexing logic is going to be improved soon, with posts only included into the index.
For those of you interested in tech details, it is kinda tricky since the URL format is not normalized, so it is not straightforward to setup the ignore rules and since we don’t have the control over the blog’s meta data, we have to be creative as usual :-)