Victor Feinman 100% of the short puts don’t go in.

2Sep/100

Sitecore – Encoding Special Characters In Fields

If web standards compliance is one of your top priorities and you have a site core implementation, then you may want to continue reading. Are you tired of seeing & instead of & on your site? Not sure of the best way to encode them? I have created a processor that snaps into the renderField pipeline. The only caveat is that in order for this code to run you need to use the FieldRenderer.Render(Item, FieldName) method. Which, in my opinion, you should always be using anyway.


25Aug/100

Sitecore – FieldRenderer.Render(item, fieldname) returning “” empty string

Today I spent 2 hours trying to debug why FieldRenderer.Render() was returning an empty string.

It was working yesterday and the code didn't change, so what was it?


11Aug/100

WARN Could not create an instance of the counter …

Sitecore log files bigger than they should be? Are you finding "Could not create an instance of the counter" ... numerous times? Well this seems to be a common problem especially if you have manually installed Sitecore. The problem is that the counters are not installed. Sitecore has realized this and created a script to install the necessary performance counters.


23Jun/100

Web controls or sub layouts

We have a client whose current Sitecore implementation includes a lot of sub layouts and no web controls / renderings. At first I thought that was silly because compiled code would be faster than partially compiled code. To get to the bottom of this, I took a simple web control from a previous implementation and made a sub layout out of it, placed both of them in a place holder and used Sitecore Debug to get the rendering times. Consistently the sub layout is getting .04 ms and the web control is getting anywhere from 5 - .5 ms. Now I'm intrigued.

I'm not too sure what to make of this. We are in the early stages of our next implementation and could go with the new way of creating controls or use our traditional approach.


Filed under: Sitecore No Comments
24Sep/090

Sitecore HTML Editor Profiles

If you are stumped on finding the Sitecore HTML Editor Profile settings in the Sitecore Tree. Make sure you are using the core Database by clicking on the small icon on the bottom right of the developer desktop and select Core. Now, you can find the sitecore/system/settings/HTML Editor Profiles node everyone is talking about.


Close
E-mail It