Internet Explorer: How avoid "Allow blocked content" in Internet Explorer

When developing some test html page, maybe containing JavaScript code, Internet Explorer asks to "Allow blocked content" if the file is read directly from the file system instead than from a IIS site.

To avoid this annoying warning, it is enough to add, at the top of the html file, the following line:

<!-- saved from url=(0014)about:internet -->

SharePoint: web part maintenance page

Sometimes web-part added to a web-part page generate run-time exceptions, that doesn't allow the page to be view or even edited.

In this case, a possible solution is to remove the offending web part from page. But how, if the page can't be edited?

The solution is to open the page in "web part maintenance" mode: once opened, it will list the web-parts used in the page, allowing the editor to delete them (none, one or more).

To run the page in "web part maintenance" mode, it is simply possible to retrieve it from a browser window, adding the parameter:

?contents=1

 

The same concept is described in the article Opening WebPart Maintenance Page.

Variations in SharePoint

Variations are very important when developing multi-language sites.

They allow the creation of sites in different languages, typically for publishable content. For example for an international site, in the Swiss site there could be the German site (the main sub-site) and the other variations: French, Italian and eventually English.

The steps to enable variations are:

  • install the operative system language packs for all the desired languages (in the example above, it would be for German, French, Italian and English);
  • install the WSS and SharePoint language packs;
  • from the site settings of the root site, enable variations (in the example above, it would be in the Swiss site);
  • from the site settings of the root site, create variation labels for the desired languages (in this case, it would be for German, the main language, and for the other languages French, Italian and English);
  • from the same previous page, create variations: this will physically create the sub-sites.

 

Enabling variations for SharePoint 2007 is described in the article How to setup variations in MOSS 2007.

Another well done guide for variations in SharePoint 2010 is in the blog post SharePoint Variations – The complete Guide – Part 1 – The Basics.

And finally, for SharePoint 2013, there is the official article from Microsoft Variations overview in SharePoint Server 2013.