Browse by Tags

All Tags » customization (RSS)

Create a Zero Code Web-Based Training Site

One of the best tips I've come across recently has been the use of a Creative Commons Attribution 3.0 License javascript library called LyteBox . This library allows you to incorporate some pretty cool effects into SharePoint using a simple content Read More......( read more ) Del.icio.us | Digg It | Technorati | Blinklist | Furl | reddit | DotNetKicks

Hide Edit Page in Site Actions Menu

I had a request from a client to hide the Edit Page option under the Site Actions menu for all users without Full Control permissions. I performed the following steps to remove the edit page option for user's without the managesubwebs right. Open the master page for the site. Find the following lines of code: <SharePoint:MenuItemTemplate runat="server" id="MenuItem_EditPage" Text="<%$Resources:wss,siteactions_editpage%>" Description="<%$Resources:wss,siteactions_editpagedescription%>" ImageUrl="/_layouts/images/ActionsEditPage.gif" MenuGroupId="100" Sequence="200" ClientOnClickNavigateUrl="BLOCKED SCRIPTMSOLayout_ChangeLayoutMode(false);" /> Add to the following lines to the code: PermissionsString="ManageSubwebs" PermissionMode="Any" The code should now look like: <SharePoint:MenuItemTemplate runat="server" id="MenuItem_EditPage" Text="<%$Resources:wss,siteactions_editpage%>" Description="<%$Resources:wss,siteactions_editpagedescription%>" ImageUrl="/_layouts/images/ActionsEditPage.gif" MenuGroupId="100" Sequence="200" ClientOnClickNavigateUrl="BLOCKED SCRIPTMSOLayout_ChangeLayoutMode(false);" PermissionsString="ManageSubwebs" PermissionMode="Any" /> Save the master page and login with an account that does not have Full Control, but is not...

Customize the OOB list menus in SharePoint 2007 lists

Customization in SharePoint List Menus- In SharePoint 2007, as all of us know, portal can be created within very less span of time using the OOB features... but what if the customer is skeptical about certain UI and functionality which cannot be addressed by MOSS OOB features? The only way is to go into SharePoint customizations and it takes a lot of effort to tweak few small things. In the subsequent blog posts I am going to write about the different customizations that we can do in SharePoint 2007 & InfoPath 2007. So start with menubar .... what do we get as OOB? <Figure to add> Its a toolbar defined as a user control ascx. This control takes care of the permissions assigned to user and appropriately allows the menus which are accessible to user. Now, we want to add some other links, menus to the toolbar for our requirement, how should we customize it? <Figure to add> OK - This can be done using FEATURES in SharePoint 2007. Step 1 - Create a list definition for the particular list. Step 2 - Create a feature in C:\Program Files\Common Files\Microsoft Shared\web server extensions\12\TEMPLATE\FEATURES withe the name you want, say "CustomMenu" Step 3 - Then add Feature.xml file to this folder containing - <?xml version="1.0" encoding="utf-8" ?> <Feature Id="{255E99BB-534A-4b93-AE6A-1691C300DF7C}" Title="Custom Menu" Description="This example shows how you can implement custom menu." Version="1...

Programmatically Adding Web Parts to Pages

Today I was working to make modifications to a site that was being provisioned via automation code. The code creates a batch of sites and then uploads various data to the site for review by members of the site. The goal of the automation is to insure Read More......( read more ) Del.icio.us | Digg It | Technorati | Blinklist | Furl | reddit | DotNetKicks

Modify SharePoint Document Icons

Here’s a quick easy way to modify the icons SharePoint displays for different file types. This procedure can also be used to configure an icon for a custom file type you may have. Be sure to back up any files before making any changes! 1. Open the 12 Hive (C:\Program Files\Common Files\Microsoft Shared\web server extensions\12) 2. Browse to the ...\TEMPLATE\XML folder 3. Open the DOCICON.XML file 4. Modify an existing record, or add a new one. Here’s an example of an XML file that a customer of mine...( read more ) Del.icio.us | Digg It | Technorati | Blinklist | Furl | reddit | DotNetKicks
Posted by SharePoint Blogs
Filed under: , , ,

SharePoint 2007 : Customization de la Content Query Web Part et Deploiement

Sans aller jusqu'a dire que la customization de la content query web part requiert un doctorat en manipulation de fichiers XSLT et XML, il y toujours quelques trucs et astuces à connaitre si l'on veut arrivé à ses fins à ce sujet, comme par exemple ce... Mirrored on SharePoint Blogs Posted on SharePoint Blogs...( read more ) Del.icio.us | Digg It | Technorati | Blinklist | Furl | reddit | DotNetKicks

Quick tip about adding new columns to a list

I'm currently creating a rather extensive list for a customer. Extensive as in "contains a lot of columns". We could've created a list based on a spreadsheet but that didn't feel as organic as creating the columns as we go along so I'm doing it one by one. There are two minor gripes with this approach and the problem with minor gripes is that they become major gripes when encountered often enough. First off the "Create new column" link slowly moves down and off the page as the new columns pile up in the list above it. This means that you need to scroll down more and more as you're looking for that link. Secondly you might want to check out the actual form for various reasons and although you can (and should) have a separate tab/window/instance for this I know I'm going to confuse them sooner or later and end up with the "New column" form in both tabs/windows/instances. My solution is to simply drag the link for the new column form to the quick links bar in IE/FF/your favorite browser. It's a lot easier to find and it's a lot easier to hit. Plus it doesn't matter what page I'm on - I can always get to the new column form quickly. Much ado about nothing perhaps but it might make someone's day a bit more endurable. Posted on SharePoint Blogs Del.icio.us | Digg It | Technorati | Blinklist | Furl | reddit | DotNetKicks

Using Firebug to Manage CSS Effectively

I often talk about the benefits of using Firebug for Firefox in the MSDN Design and Customization Forums . Rather than try to type out a long winded article on why it rules, I found a video that should help to convince non believers that it is truly superior to the IE Developers Toolbar: Firebug 1.0 Beta Screencast by Jesse Newland Takes a little bit of time to download the video, but its worth it. Posted on SharePoint Blogs Del.icio.us | Digg It | Technorati | Blinklist | Furl | reddit | DotNetKicks

Top link tab not properly highlighted when selected

I've been struggling with the top link tabs for a customers WSS 3.0 site for some time now. Some of the tabs would be highlighted properly when selected and some would not - reverting to highlighting the first tab in the list when selected....( read more ) Del.icio.us | Digg It | Technorati | Blinklist | Furl | reddit | DotNetKicks
Posted by SharePoint Blogs

Fixing the name.dll ActiveX Problem the Mossman Way

Have you seen this message on public facing SharePoint sites: The Web site wants to run the following add-on: 'Name ActiveX Control' from 'Microsoft Corporation'. If you trust the Web site and the add-on and want to allow it to run, click here... For an example of one (at least until they fix it), check out: http://www.mseventseurope.com/teched/07/itforum/content/Pages/Default.aspx There are quite a few nice examples of internet facing SharePoint 2007 sites on the interwebs these days, however many of them seem to be plagued by this minor annoyance that seems to have slipped through the Microsoft cracks. The problem is compounded by the fact that most developers won't even notice the issue until their portal is available to internet users. This is due to the fact that the problem is seen only in Internet Explorer 7 and only when you are visiting a WSS v3 website that is NOT in your trusted site list for IE. You will not see the message most of the time in your local environment because, by default IE knows you are visiting an intranet site and auto-magically puts the site in your trusted list... then as soon as you visit the site with an external domain name, boom, your see the warning pop up. Apparently, SharePoint is trying to access "Presence" information that is available in Office, and for some reason they decided to name this ActiveX "name.dll", which really couldn't sound more like a trojan horse. Asking for more information on...

MOSS 2007: Customize the Search Result (using XSLT)

Since people have been bugging me to get started with the blogging again, I guess I should just take their advice and get to it. This blogpost will cover the basics of customizing your search results-page using XSLT. I will in a later blogpost also show you how you can use SharePoint Designer as a tool to create the actual XSLT for you in combination with the DataViewer Web Part, and then how you can modify the created XSLT to match whatever specifications...

Easy way of Editing Customized Theme in MOSS 2007

Recently, I have observed that many MOSS 2007 and/or WSS 3.0 administrators want to apply their custom theme to site collections. In my opinion, this is a good practice because you never want to edit the "core.css" file - it is just stupid :) For those who still want to modify the "core.css" file in spite of my advice, the file is in "C:\Program Files\Common Files\Microsoft Shared\web server extensions\12\TEMPLATE\LAYOUTS...