If you find that after creating a custom master page that your search results page shows a different layout this is because it uses the Application.Master not the same master page as your site collection.
In order to get it looking at least similar I modified the core.css file as for some stupid reason it uses the same css but not master page. This gets the general colours etc.. similar, then to change the title graphic, you need to go:
> Site settings > modify all site settings > Title, description, and icon
from here you can specify the icon to use through all the master pages, including the Application.Master.
It seems very strange that Microsoft decided to use a different master page to the one your site collection is using but used the same core.css and 'Title, description, and icon' settings!
Thursday, 27 March 2008
Tuesday, 25 March 2008
Content Query Web Part grid
I'm working on a MOSS 2007 development and had a request from the client to display a custom dashboard/web part that showed the status of a number of systems across a number of geographical locations.
My prototype was to use the OOTB Kpi web part, using the red/green/amber as the indicator as to whether the system was online, offline or intermittent.
This resulted in a view of the systems like so:

This presented a problem in that the view would not cater for the same system across multiple locations. What the client wanted was the following:

I used a Content Query Web Part to achieve this layout, I'll talk about how I did this later but firstly I wanted to explain how I set up the lists and security on those lists to allow the different users edit access just to the systems at their location.
The Lists
I started by creating a few custom lists, these were to hold the locations, the system names and the status values.



I then created a list called 'System Status Dashboard' that would use the above 'lookup' lists. I also set about creating a custom content type for this list - the custom content type would look like this:

So we now have a list that contains a list item for each system/location/status plus some additional details like expected resolution and additional comments. To give you an idea of how the list would work here's the form:

I'm out of time for now but will continue this shortly...
My prototype was to use the OOTB Kpi web part, using the red/green/amber as the indicator as to whether the system was online, offline or intermittent.
This resulted in a view of the systems like so:
This presented a problem in that the view would not cater for the same system across multiple locations. What the client wanted was the following:
I used a Content Query Web Part to achieve this layout, I'll talk about how I did this later but firstly I wanted to explain how I set up the lists and security on those lists to allow the different users edit access just to the systems at their location.
The Lists
I started by creating a few custom lists, these were to hold the locations, the system names and the status values.
I then created a list called 'System Status Dashboard' that would use the above 'lookup' lists. I also set about creating a custom content type for this list - the custom content type would look like this:
So we now have a list that contains a list item for each system/location/status plus some additional details like expected resolution and additional comments. To give you an idea of how the list would work here's the form:
I'm out of time for now but will continue this shortly...
Wednesday, 19 March 2008
When your SharePoint Virtual disk fills up
Before I discovered the vmware provide a product called vmware convertor that allows you to resize your disks I tried many different techniques, some worked, some didn't. Take a look at this post that outlines some ways to do this.
Here's how I use vware convertor to change my disk from 8gb to 50gb, without keeping previous snapshots - it seems that using vmware to do this results in it not saving any snapshots made previously but I wasn't too concerned with this. Maybe someone can advise on this?
1. Download and install vmware convertor
2. Click Import Machine
3. Hit next > next
4. On the Source Type select option three standalone virtual machine > hit next
5. Point to your existing vmware image file
6. Here's the bit your after, select the "select volumes and resize to save or add disk space" radio button.
7. You can now specify a new size for the copy of your image that this will create.
8. After changing your disk size select next
9. Choose vmware standalone virtual machine > hit next
10. Specify a location for your new image file > hit next
11. The following wizard steps allow you to install vmware tools etc.. if required add them, if not continue till you see the finish button.
12. Clicking finish will start the import process and create your newly resized vmware image.
* Remember though that this will not preserve your vmware snapshots, when I figure out how to do this I'll post it right up!
Here's how I use vware convertor to change my disk from 8gb to 50gb, without keeping previous snapshots - it seems that using vmware to do this results in it not saving any snapshots made previously but I wasn't too concerned with this. Maybe someone can advise on this?
1. Download and install vmware convertor
2. Click Import Machine
3. Hit next > next
4. On the Source Type select option three standalone virtual machine > hit next
5. Point to your existing vmware image file
6. Here's the bit your after, select the "select volumes and resize to save or add disk space" radio button.
7. You can now specify a new size for the copy of your image that this will create.
8. After changing your disk size select next
9. Choose vmware standalone virtual machine > hit next
10. Specify a location for your new image file > hit next
11. The following wizard steps allow you to install vmware tools etc.. if required add them, if not continue till you see the finish button.
12. Clicking finish will start the import process and create your newly resized vmware image.
* Remember though that this will not preserve your vmware snapshots, when I figure out how to do this I'll post it right up!
Installing Windows Server 2003 - Bootable Image
This caught me out, when building your SharePoint virtual environment, be it in vmware or virtual pc (I prefer vmware, it's just slicker) make sure that your Windows Server 2003 cd/dvd is bootable. I just burnt our enterprise iso to a disk assuming that would do the trick but then spent hours scratching my head when the virtual environment would not recognise it!
You can use iso buster to do this, this article explains how to do it
Another easier way if you have an .iso for Server 2003 is to point your vmware cd to the .iso directly, to do this in vmware workstation:
1. Choose VM > Removable Devices > CD ROM > Edit
2. Select the use ISO Image radio and point to your iso file
3. When you access your cd rom now your iso image will run - happy days!
You can use iso buster to do this, this article explains how to do it
Another easier way if you have an .iso for Server 2003 is to point your vmware cd to the .iso directly, to do this in vmware workstation:
1. Choose VM > Removable Devices > CD ROM > Edit
2. Select the use ISO Image radio and point to your iso file
3. When you access your cd rom now your iso image will run - happy days!
Subscribe to:
Posts (Atom)