Sitecoreaustralia's Blog

May 27, 2010

Discovering new things everyday…(Part 4)

Filed under: Uncategorized — jerrong @ 10:58 pm

Hi All,

I have finally found some time to sit down and go through the next 10 cool things that you may not be aware exist in Sitecore.

61. You can set a Default Layout File for all content items. This is useful for the items where you have forgotten to add a layout to an item but you don’t want the default “No Layout” error, you would actually like it to try and show the right thing for if a Layout was specified, it would work.

In your web.config set the “DefaultLayoutFile” setting

62. When you publish content you can have default Publishing Targets set by going to your web.config and setting the “DefaultPublishingTargets” element.

63. Sitecore has a cache watch on the “/layouts” folder so it is a good idea to place your layouts and sublayouts under this folder in the file system.

64. You can set the Maximum structural level of you tree to mandate that content authors can’t go past a certain level. Set the “MaxTreeDepth” element in the web.config.

65. You can speed up performance for using Sitecore Query by specifying the Query.MaxItems to a limited number. If you can make the decision that you will never be bringing back more than 20 items in your query then set this number to 20, it will speed up the search.

66. Don’t want the recycling bin functionality? Set the RecycleBinActive to false.

67. If you know that you have a Sitecore site with only one site then turn the Rendering.SiteResolving to Off.

68. Are all your Sitecore sites from the one solution on the same physical webserver? If to set RequestErrors.UseServerSideRedirect to True as it will conserve server processing and will use Server.Transfer instead of Response.Redirect.

69. Not sure off all the Sitecore Controls that you can use for rendering fields, here they are :

  1. sc:date
  2. sc:dot
  3. sc:html
  4. sc:image
  5. sc:link
  6. sc:memo
  7. sc:sec
  8. sc:text
  9. sc:wordstyle
  10. sc:enableSecurity
  11. sc:disableSecurity
  12. sc:editFrame
  13. sc:feedItem

70. I have saved the best to last. Sitecore comes with a Translator server already built in. Just enable WorldLingo in your web.config and you will see a translate button show up against some different field types within the content editor.

Until next time, keep searching the product as there are so many hidden treasures.

Thanks,

- Tim

Advertisement

1 Comment »

  1. If I had a greenback for each time I came to sitecoreaustralia.wordpress.com.. Great post.

    Comment by Letha Hansen — June 15, 2010 @ 10:01 pm


RSS feed for comments on this post. TrackBack URI

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Connecting to %s

Theme: Silver is the New Black. Blog at WordPress.com.

Follow

Get every new post delivered to your Inbox.