A Tech Log

January 25, 2009

Implementing a Brand in a SharePoint Server 2007 Publishing Site

Filed under: Development — adallow @ 8:21 am
Tags:

http://msdn.microsoft.com/en-us/library/dd221375.aspx

January 24, 2009

Using Telerik RadEditor as a Wiki Editor in MOSS

Filed under: Development — adallow @ 3:31 pm
Tags: ,

Source telerik:

“There have been a number of questions, regarding the RadEditor for MOSS and whether it is possible to use it in the SharePoint 2007 Wiki libraries and sites. The short answer to this question is – yes it’s possible. Here is the long version: Wiki pages in MOSS 2007 are stored as normal document libraries. This means that when you edit a Wiki page, you are actually editing a list item. RadEditor for MOSS  supports this scenario and you can use it to replace the default editor in all major browsers – Internet Explorer, Firefox, Safari, etc.

Here is how to activate the RadEditor for MOSS list items (the same guide is available in the RadEditor for MOSS documentation topic Using RadEditor in List Items):

1. You need to get the latest build of our editor. Go to this page for more info and download details – http://www.telerik.com/products/sharepoint/overview.aspx

2. Install the RadEditor for MOSS in your web farm. Installation instructions are available in the documentation, which comes with the download.

3. Browse to the SharePoint site which, where you want to use the RadEditor in list items and open the Site Settings page. From the Site Settings, navigate to Site Features.

4. Activate the RadEditor features. You can use the editor in all browsers, or you can leave the default rich text editor in Internet Explorer and use ours everywhere else. Here is a screenshot with the RadEditor features:

5. You might need to restart IIS to recycle the SharePoint web application. This step is required since MOSS will cache the default editor the first time it is used.

6. That’s it. You can now use RadEditor for MOSS to edit Wiki pages in your site. Remember that the RadEditor features are local to the site, so if you want to edit list items in a different site, you need to redo steps 3 and 4 for it.

After you have our editor up and running, you might want to customize its appearance/options. You can do that with the editor’s tools and configuration files. By default, they are located at \Program Files\Common Files\Microsoft Shared\web server extensions\wpresources\RadEditorSharePoint\4.1.0.0__1f131a624888eeed\RadControls\Editor\ (where 4.1.0 represents the installed editor build). The files you need to modify are called ListToolsFile.xml and ListConfigFile.xml”

Removing search scope dropdown in Sharepoint (MOSS 2007) using CSS

Filed under: Development — adallow @ 3:13 pm
Tags:

Open your core.css file and find this line: “select.ms-sbscopes” . This is the css class which is responsible for the search scope dropdown in MOSS 2007.

Now just add this line within the class..:

display:none;

.. and you are done!

Note: If you don’t want to edit the core.css, you can also add the following line on any css file which will be loaded on the page  (or direct on the masterpage):

select.ms-sbscopes { display:none; }

(from Gee’s Blog)

How to find out which Sharepoint version you are using

Filed under: Development — adallow @ 3:12 pm
Tags:

Go to Control Panel -> Add and Remove Programs. Select the product (sharepoint server) and then click: Click here for support

Now a window will pop up that displays your current sharepoint version.

November 14, 2008

Sharepoint: useful JavaScript variables

Filed under: Development — adallow @ 12:49 pm
Tags:

below is from: http://webborg.blogspot.com/2008/07/couple-of-useful-javascript-global.html

L_Menu_BaseUrl – the base URL of the site / subsite. Very useful when you need to determine the absolute path of the site in JavaScript. Example: document.location = L_Menu_BaseUrl + ‘lists/calendar/allitems.aspx’ //redirects to Calendar list

L_Menu_LCID – the LCID of the site you’re in. Useful if you need to determine the language of the site. The list of Locale IDs can be found here. I’m using the LCID for localizations in ERTE project. See the example of checking LCID below:

.
L_Menu_SiteTheme – the name of the theme applied to the site.

There is one more useful variable, but this one can’t be used on custom master pages that you created. This one is used in the SharePoint’s default pages:

_spUserId – the ID of the logged in user.

MOSS 2007 Feature review at CMS Matrix

Filed under: Development — adallow @ 8:46 am
Tags:

http://www.cmsmatrix.org/matrix/cms-matrix?func=viewDetail;listingId=9VdIfPwjik3OZ5ZbgyIf_A

How to Create a MOSS 2007 VPC Image

Filed under: Development — adallow @ 8:41 am
Tags:
Part 1: Getting Started, Installing IIS, and Installing .NET Framework 2.0
Part 2: Installing and Configuring POP3 Email
Part 3: Installing and Configuring Outlook 2007
Part 4: Installing and Configuring the .NET Framework
Part 5: Installing SQL Server 2005
Part 6: Configuring SQL Server 2005
Part 7: Installing SQL Server 2005 SP1
Part 8: Creating the MOSS Accounts
Part 9: Installing and Configuring the MOSS 2007 Application
Part 10: Setting Up Internet Explorer Web Browser Security
Part 11: Starting Services
Part 12: Creating a Shared Services Provider
Part 13: Configuring Search Settings
Part 14: Configuring Outgoing E-mail
Part 15: Creating the Portal
Part 16: Installing SharePoint Designer 2007
Part 17: Installing Office 2007 Applications
Part 18: Installing Warm-up Scripts
Part 19: Optimizing the MOSS 2007 VPC Image
Part 20: Creating a Virtual PC Differencing Disk

November 13, 2008

SharePoint web part to ASP.NET web user control

Filed under: Development — adallow @ 11:04 pm
Tags:

SmartPart is a SharePoint web part which can host any ASP.NET web user control. The project is on codeplex:

http://www.codeplex.com/smartpart

example:


Sharepoint WIKI: Uploading and using images in Wiki pages

Filed under: Development — adallow @ 12:19 pm
Tags: ,

“Uploading images to a Wiki might seem like a simple operation, but there are a few tricks to remember.

  1. You need to have your images uploaded to an image library on SharePoint.
  2. You will need to provide the path for that image, so grab the path before you navigate to your wiki to add.
  3. It works best if the name of your image library is one word, not separated by underscores or spaces. So “Images1” is better than “Images for my wiki.”

Once you have created the image library for the images that you want in your wiki, navigate to your wiki page and click the image icon.

You’ll be asked to provide alternate text and the URL. Use the full path to your image, which will be something like ‘http://sharepoint/sites/<site name>/<name of image library>/<name of image>.jpg. It will vary depending on how your administrator has set up the original path (the stuff before <site name>). Confused about the path to your image? You can view the path by right clicking on the image and selecting Properties. There may be extra characters in there. Ignore them, those _t’s and others.”

from: http://sharepoint.microsoft.com/blogs/GetThePoint/Lists/Posts/Post.aspx?List=8d9e2a99%2Df288%2D47c2%2D916b%2D2f32864f7b82&ID=32

September 30, 2008

Linq to Sharepoint

Filed under: Development — adallow @ 12:12 pm
Tags: , ,

David Riddell McGhee, enterprise Account Technology Specialist for Microsoft Australia, has a really interesting blog, full of interesting things. Most recently i was reading about LinqToSharepoint.

This could be really useful for us as sharepoint is essentially our internal ECM system so integrating with it will become more common for us. From his blog:

Codeplex project:

http://www.codeplex.com/LINQtoSharePoint

Link I found this from:

http://dotnetaddict.dotnetdevelopersjournal.com/linq_to_sharepoint.htm

Video:

How Do I: Use LINQ To SharePoint to Retrieve SharePoint Data?

Create a free website or blog at WordPress.com.