Buzzword Bingo + MOSS 2007/WSS v3

Hold on to your hats while I step you (as best I can right now) through the anatomy of a MOSS 2007 Internet Facing WCM capable Variations based site in a light hearted and educationally confusing way …

I wanted to share this whirlwind of information the same way I seem to be learning it.
My Buzzword Bingo Version of Customizing a Variations Based, Internet Facing, WCM/Publishing site in MOSS 2007/WSS v3.

Once you have found the central administration, made your way to the application managment, figured out how to change the web application/port you can then create a site collection, of course this is no regular site, it must be an “Internet Facing, WCM capable publishing site” – keep that in mind when selecting a template.
Next we need to make it multilingual (variations) based, create our variation labels and finally create the heirarchy so that we can actually “begin”.

Content is king we are told so lets start by identifiying the unique pages in our site. These can be represented as Content Types which have Columns within them representing the actual bits of content. Again remember “publishing site” so be sure to choose “Publishing Capable” column types.

We may as well “do something” with our newly created content types so why not created Page Layouts based on them? Great Idea! We can do this via the UI in the browser, or through SharePoint Designer 2007, woo-hoo I love options!

This is great we have a multilingual internet facing wcm capable site that has content types to represent the unique pages and (publishing capable) columns within them to represent the content.

Great we have some building blocks – lets put them together and customize the look by opening SharePoint Designer 2007, connecting to our site. Once inside we need to connect to the _catalogs folder to find the masterpage folder in order to eventually figure out we’re trying to locate TopNavFlyouts.master to make some basic “layout changes” to the overall site. After checking-out of TopNavFlyouts.master, figuring out what all these silly placeholders and controls are and doing some minor customization work to pages we are ready.

So when a users security trimming still allows them to click Create Page within the Site Actions Tab, what actually transpires is:

The user selects one of the Page Layouts you created based on the Content Types based on Unique Pages which have Columns inside them to represent the Content.

The server then says thank you for selecting this page layout – let me now figure out what Master Page your Page Layout is inherting a layout from so that I can merge them together, placing the controls in the appropriate placeholders, show off your shiny new customizations, and eventually present the user with a single Page that they can then interact with by placing content on the page using the WCM features included in MOSS 2007.

Clear as mud? – Again don’t worry, I promise I will create a much needed breakdown of this process in a format you can understand.

This entry was posted in SharePoint 2007. Bookmark the permalink.

9 Responses to Buzzword Bingo + MOSS 2007/WSS v3

  1. Anabhra says:

    I am usng sharepoint designer to build a multi-lingual website. What I want to know is how to make the labels on a pagelayout appear in different languages?

    For example I have a page that lists an event detail. The fields on the page are “Event Name”, “Location”, “Start Time” etc etc. These are static labels and the data that is entered is in multiple languages…

    So the content is in multiple languages but I want the labels on page to be multi-lingual too

    Any ideas how to do these in the designer?
    Also, I saw a link “Translatable…” something on the admin page. What is this? It lists all the columns for the site…

    Many thanks,
    anabhra

  2. shane says:

    Anabhra,

    To do what you describe you can accomplish in in SPD 2007 as follows:

    1) Create a Resource File (.RESX) with the strings in the respective language.
    2) Access the RESX from your page

    Example:

    The Resource files are broken into simple name/value pairs like so:

    <data name="customstring">
    <value>This is just a test</value>
    </data>

    You could then access this in your page by creating this label:

    <asp:Label runat="server" Text="<%$Resources:shane,customString%>" ID="uniqueID1"/>

    I hope it helps

  3. shane says:

    PS: I forgot to mention that you access the XML as so:

    $Resources:Name_of_RESX-FILE-NO-EXTENSION,dataname

  4. Anabhra says:

    Thanks for the response Shane.

    So do I create the resource file in _catalog folder (where my page layout exists) with the naming convention of pagename.en-us.resx?

  5. Anabhra says:

    Ok so this is what I figured out after a few trials…

    I added App_GlobalResoures folder to my app folder on the server. In this folder I created the resource files based on the page layout page name. So for my eventdetail page I created eventdetail.resx and eventdetail.en-us.resx. Now, my page layout labels pick up the localized text. So far so good.

    However, what I am wondering is – the files I created, have been created on the file system. The page layout page exists in the database (SPS). Why can I not create the files in the database too? What I am getting at is that everything is done from the SP Designer and I do not have to touch the file system!

    Having said that, I know how resource files work in ASP.NET ie they get complied into the bin folder so it makes sense what SPS 200 is doing but I wonder if an alternative exists?

    Thanks,
    Anabhra

  6. Ridhi says:

    Hi All
    I am new to wss 3.0. i have customize the wss 3.0 site . i want to support multi languages. i have tried to add
    wss.de-DE.resx file in App_GlobalResources of site. i m tring to change loacle and regional seetings but site labels are not chnaged . Please let me know some solution to support multilingual.
    waiting for ur reply
    ridhi

  7. Hi to all,

    I’m having the same problem that Ridhi has.

    I’ve created a resx file and other pt-PT.resx file and add my data.
    When I create page layouts and there I use

  8. Prathibha says:

    Dear All,

    I have created sites for English and Italian using the MOSS Variation. I have created a custom webpart which has a hello message like ” Hi User, Welcome to the XYZ Site”.

    Now, How will I create a Resource file for this? and If the data of the Webpart is Dynamic, then how it is to be handled?

    Need some suggestion here!!

    Thanks in advance:)

    Prathibha

  9. Prathibha says:

    Hi

    I learnt about localization of custom wep-parts using resource file.

    But now the wuestion is how the dynamic contents ( contents from

    web services/SQL Databases /Sharepoint lists etc) can be localised on run-

    time depending on the language selected.

    Please do let me know any inputs in this regard.

    Thanks in Advance

    Prathibha