Posts Tagged ‘Sitecore’

Using profile with the Rich Text Editor

// November 5th, 2008 // 1 Comment » // Sitecore

Regularly I see topics on the SDN5 forums where people ask if it is possible to use a custom Rich Text editor. Wll, yes it is. You can use so called profiles with the Rich Text editor. These profiles are stored in the Core database under /sitecore/system/Settings/Html Editor Profiles/. There are some default pre-configurated profile which you van duplicate and customize to your own needs.

To use these profile you need to set the source value of an rich text field in your template.

Sitecore 5 Rich Text Editor

Disable Sitecore publishing

// October 20th, 2008 // 1 Comment » // Sitecore

To avoid problems during the development of an Sitecore site it could be useful to disable the Sitecore Publishing method.

This can be done by editing the following web.config rule:

<site name=”website” virtualFolder=”/” physicalFolder=”/” rootPath=”/sitecore/content” startItem=”/home” database=”web” domain=”extranet” allowDebug=”true” cacheHtml=”true” htmlCacheSize=”10MB” enablePreview=”true” enableWebEdit=”true” enableDebugger=”true” disableClientData=”false”/>

These are the settings of your current site. The database key contains the database name from where the site needs to get its content. By setting this to the master database you do not need to publish your content anymore.

Copy & Paste Layout Settings

// May 13th, 2008 // 1 Comment » // Sitecore

While developing a Sitecore website there are lots of situations where you want multiple items to have the same Presentation Settings (renderings/sublayouts/layout). The ideal case is that your item Masters have these settings included but sometimes this isn’t the case.

You can copy and paste the settings all at one time this way:

1. Navigate to the source item in the Content Editor (or Template Manager)

2. On the ‘View’ Ribbon (Menu tab on top of the screen) select Standard Fields and Raw Values

3. Copy the (raw) Renderings field value (in the layout section of the content of the item)

4. Paste it into the destination item Renderings Field.

5. Disable Raw values and standard fields if necessary.

There also is a (unsupported) Sitecore Module for this action. Check it out Layout copy pastehere.

Sitecore Validation Rules

// May 13th, 2008 // No Comments » // Sitecore

In Sitecore you can use validation rules. By default there are three validations rules on each template:

  • Is Integer
  • Max Length 40
  • Requirer

You can modify or add new rules in the sitecore\system\settings\validation\field section in the content editor

With the use of an multilist you can set the rules for your template.

ATTENTION: Validation rules are already built in for version 5.3.1 but you can’t use them. Therefore you need to upgrade to version 5.3.2, which costs about an our. You can use regular expressions in version 5.3.1

Rich Text Editor

// May 13th, 2008 // 1 Comment » // Sitecore

One of the most annoying things about Sitecore is that the Rich Text Editor needs to be opent in an seperate web page dialog.

But you can customize this behavior!

  • Go to the Control Panel > Preferences > Change Your Application Options
  • Tab Rich Text Editor
  • Select editable

You see that the Content Editor got expanded with the tab “Rich Text”