Showing posts with label moss. Show all posts
Showing posts with label moss. Show all posts

Monday, December 7, 2009

Creating Custom theme in Share Point2007(MOSS 2007)

It is very easy to create custom theme for share point sites. A SharePoint site theme basically consists of three kinds of files:-

1. theme.inf

2. theme.css

3. image files.

Just follow the following steps and you will get your custom theme. Suppose your theme name is "myTheme".

1. Go to the folder "C:Program Files\Common Files\Microsoft Shared\web server extensions\12\TEMPLATE\THEMES" folder. Every Folder under this Folder defines a theme. Just make a copy of any of the the Folders and name it "myTheme". Suppose you copied BELLTOWN folder.

2. Rename BELLTOWN .INF to MYTHEME.INF. Keep in mind the uppercase thing.

3. Open MYTHEME.INF file with notepad and replace all BELLTOWN to myTheme.

4. Open "C:Program Files\Common Files\Microsoft Shared\web server extensions\12\TEMPLATELAYOUTS\1033\SPTHEMES.XML" file with notepad.

5. Add the following lines under tag:

< templates >
<>
myTheme< /templateid >
<>
myTheme< /displayname >
<>
myTheme< /description >
<>images/
myTheme.gif< /thumbnail >
<>images/
myTheme.gif< /preview >
< /templates >

Notice that preview and thumbnail paths are images/thghost.gif. By default, MOSS 2007 and WSS 3.0 will not have such image files.

6. Create a picture to describe your theme and store that in "C:Program Files\Common Files\Microsoft Shared\web server extensions\12\TEMPLATE\IMAGES" folder with myTheme.gif name.

7. Restart IIS.

8. Now go to Site Settings, now choose myTheme theme.

9. Now to edit this theme open SharePoint Designer 2007. Go to "File" -> "Open Site…" and type the URL of your site.

10. In the Left menu you will find a lot of Folder,find a folder named myTheme which is your custom theme.

11. Find myTh-65001.css file in this folder. This is the CSS file for your theme. Edit this according to your need.

12. There is another css file named CORE.CSS in "C:Program Files\Common Files\Microsoft Shared\web server extensions\12\TEMPLATE\LAYOUT\1033\STYLES" which contains styles for all sites. You may need to override some css attributes from this file.



Thursday, November 12, 2009

Microsoft SharePoint : Introduction

Ok,first I confess that I am the least learned person about Microsoft SharePoint in the world and so this attempt might be a disastrous one.But I have to learn it anyway and here I will put all the stuffs I get day by day.

So,what is Microsoft SharePoint? This would be a very bad idea asking this question me rather googling it. Google wouldn't mind telling you about this though Microsoft is their biggest competitor. Anyway what idea I got is,this is a collection of tools and s/w. This is not a single s/w rather it's a platform. Now what they are aimed to do? This integrated system can provide content management, enterprise search, accelerate shared business processes blah blah blah...But to me, most importantly it provides developers a platform and tools they need for server administration, application extensibility, and interoperability. Being a Microsoft product it has a very good integration with .NET. So .Net developers might find it interesting to investigate.

Now there are few keywords one must know before going ahead. I will try to list some of them here(be sure that I have copied them all from internet,none of them is written by me :))

wss(windows sharepoint services) : this is a free product from microsoft (comes with windows server). it gives you all the basic functionality of sharepoint including document libraries, lists, even things like email integration.

moss(microsoft office sharepoint server) : this is an add-on to wss which gives some very cool additional features. some examples are excel services, infopath forms server, ecm (enterprise content management) and moss enterprise search. this is not free(Ooops :(:(:(...)

also you can't just install moss... moss is built on top of wss, so wss is a prerequisite.

web application / web app : also known as a virtual server (in sharepoint v2) and an web site / application pool (in iis), web apps allow for logical separation of sharepoint content. each web app runs under a different process on the iis web server.

two examples of different web apps are the central administrator site which runs on an arbitrary port number and then standard sharepoint sites which typically run on port 80. they both run under separate processes in iis.

site collection / top level site / parent site / spsite : a site collection is a web site that can contain sub-sites (aka webs), which all share the same owner and administrators of the top level site collection.

a site collection controls global settings that sub-sites underneath it inherit. settings can include permissions, storage quotas, and themes, etc...

webs / sub-sites / spweb : these are web sites that live underneath a site collection. these are almost the same thing as a site collection but the difference is the global settings that are applied from the site collection.

webs can have their own independent settings separate from its parent site collection, but it makes it a bit easier to manage for the owner of the site, that's the idea here.

lists : a list is a generic term used to define the different places to store content in a sharepoint site. some built in lists are document libraries (upload and share word docs), picture libraries (upload pics), and custom lists where you define what you want to store.

I think this writing has been big enough to be an introduction. This will surely be edited again after learning some more about SharePoint.