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 :
- sc:date
- sc:dot
- sc:html
- sc:image
- sc:link
- sc:memo
- sc:sec
- sc:text
- sc:wordstyle
- sc:enableSecurity
- sc:disableSecurity
- sc:editFrame
- 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
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