Viewing by month: March 2010

Are you using multiple master templates for multiple site collections in SharePoint 2007? By default all search results are sent to "/_layouts/osssearchresults.aspx" for MOSS installs and to "/_layouts/searchresults.aspx" for WSS-only. The result is a search results page using the hardcoded "~/_layouts/application.master" master page and default theme; this is not good.

Solution:

  1. Go to the base of you site collection and "Modify All Site Settings". Near or at the top right you will find "Search Settings".
  2. Select "Use custom scopes"
  3. Enter a new path, I choose to use: /{sitecollectionbase}/SearchCenter
  4. Create new folders via sharepoint designer where nessesary
  5. Copy file osssearchresults.aspx from c:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\12\TEMPLATE\LAYOUTS to your new folder location.
  6. rename osssearchresults.aspx to Results.aspx
  7. Edit Results.aspx to reflect the master template and other required changes needed.

In a previous release of CF Builder there was a bug that some of you may have run into. The result of the bug was getting Eclipse pop-up errors when you tried to copy-n-paste with the keyboard shortcuts in cfm and cfc files. I entered a bug and it was fixed within a couple of days.

However after upgrading from the pre-release version to the latest public release, I will still getting the error. It was not until I blew away the .metadata\.plugins\org.eclipse.core.resources folder and started from scratch with my projects. So if your still hitting this issue or similar, please try this step to resolve it.