Thursday, February 17, 2011

Simple CSS code to hide Time on the top of each entry in Calendar View.

Hi,

In the Calendar View, by default the time will showed on top of each entry.

If you are entering time at the time of new item creation thats fine. But if you are using only Date field then it shows you as 12:00 AM for each entry. In order to hide that in Month and Week view:

1) Site Actions -> Edit Page-> Add WebPart -> Content Editor WebPart.
2) Modify Shared WebPart -> Source Editor.
3) Paste this code


"style

td.ms-cal-monthitem A NOBR {display:none;}

a.ms-cal-dayitem NOBR {display:none;}

/style"
NOTE: style are HTML tags.
.

Done.


Please Leave a comment if this post is helpful to you. Thanks.

Thursday, February 3, 2011

Two Useful links to configure SSL in WSS 3.0 and Windows Server 2003 IIS 6.0

Steps to setup SSL in Windows Server 2003 (IIS 6.0)

http://www.petri.co.il/configure_ssl_on_your_website_with_iis.htm

Steps to setup SSL for WSS 3.0 Web Application

http://volcane.blogspot.com/2008/05/setting-up-ssl-for-windows-sharepoint.html









Wednesday, February 2, 2011

To open a link in new Window.

Usually we use Anchor tag  to add a link in our webpage.

It opens the link in same page. If you want to open the link in a new window

Add the parameter to you Anchor tag

that is

target="_Blank".

The way to Add dataview webpart with the content form other site.

Hi,

If you are in a situation to display the list in your ASPX page which is from the other site. It is very easy . Only thing you have to do is creating a connection to the site which is having that list.

Here you go,


1) Open the site where your aspx page is.
2) open the page.
3) In the right site tool bar open Data Sources Library tool bar.
4) In the bottom you can see a link "Connect to another Library".
5) Click on it.
6) Click on add button in Manage Library window.
7) Type the url of site in which the list is sitting.
8) Give some name for your identification and click ok.

Done. Now you can see all the lists and libraries of that site. And you can create a data view webpart with those lists content.

The way to Display Richtext box content with out HTML tags in Data View Webpart.

Hi,

If you are trying to display your list which has a Rich Text Box field in dataview webpart. It shows the content of that field with the html tags like
etc...

To avoid those tags and show the text in a regular style.

1) Open that page in Sharepoint Designer in Slit View.
2) Click the cell that has the rich text box content in the dataview webpart.
3) In the Code part it highlights an XSL tag.
4) In that tag add the parameter "Disable-Output-escaping" with its value as "Yes".

Done. Click on the design view. You will see the content with proper styling.