Microsites

Microsites
Pages affected by the Microsite Master page
The pages affected by the Microsites master pages will be:



Section templates 1, 2 and 3
Story- and associated pop-ups (including non-JS versions)
Story – HTML
Pages clicked on from within a microsite but not in the list above will revert to using the parent site’s
framework. e.g. sitemap, search results.
| Tel: +44 (0)20 7297 5200 | Fax: +44 (0)20 7287 3178
Page 1 of 11
Types of Microsites
Branded area of the main site
To create a branded area of the main site you can add a navigation item and select the microsites
master template.
1. Add new navigation item
2. Choose “Microsite Master Template”
3.
4.
5.
6.
7.
In the resulting page content area you will have a 3 column spin page
Column 1 – Spin content
Column 2 – Spin content
Column 3 – Microsite master page content
You will need to add HTML blocks (= bespoke site furniture “components”) that are named in
the following format to hold your microsite content
Page text Area coded
Head
Masthead
Full Width Top
Centre Column Top
Right Hand Column
Bottom 1
Bottom 2
Bottom Scripts
Area of page
In the <head> after the last CSS
Takes the place of the site logo
Under navigation across all 3
columns
Under the crumb trail – across the
2 content columns
The whole right hand column
Replaces page text element above
bottom advert row
Replaces page text element below
bottom advert row
Allows JS script to be loaded last
| Tel: +44 (0)20 7297 5200 | Fax: +44 (0)20 7287 3178
Page 2 of 11
Example Microsite SPIN page
Column 1
Normal SPIN content
Column 2
Normal SPIN content
| Tel: +44 (0)20 7297 5200 | Fax: +44 (0)20 7287 3178
Column 3
Microsite Blocks
Page 3 of 11
Microsite with its own navigation
A microsite can be set-up to have its own navigation. This mostly follows the steps above, but with a
few differences.
1. Standalone microsites should be setup under a microsites top level navigation area
e.g.
2.
3.
4.
5.
6.
Add each new microsite as a navigation item under microsites
Use the microsite item to set-up the content, using HTML blocks in the third column
You only need to choose Microsite Master Page for the top item
The top level should be the Home page of the microsite
The top-level and sub level navigation need to be added under each site (this will mean the
URL of the home page will only be one level deep e.g. www.bdonline.com/microsite)
7. Add a home link in this list, but make it a URL to the home page – see below
8. Each sub item can use ‘normal’ section pages
| Tel: +44 (0)20 7297 5200 | Fax: +44 (0)20 7287 3178
Page 4 of 11
Linking to a standalone site:
This needs to be manually created as a friendly url
/name-of-navigation
Any spaces will be need to be replaced with a hyphen
| Tel: +44 (0)20 7297 5200 | Fax: +44 (0)20 7287 3178
Page 5 of 11
Overriding Primary Navigation
Within each microsite there is a choice to ‘Override Primary Navigation’. This will decide if the
stories within the microsite use their primary navigation, in which case the user may leave the
microsite branded area, or stay within the microsite, therefore overriding the story setting.
How to set:
On the Microsite master page, under the “Advanced Options” bar, open the menu and choose “Top
Block”.
This will open a panel that allows you to set the override.
The default is “No”.
| Tel: +44 (0)20 7297 5200 | Fax: +44 (0)20 7287 3178
Page 6 of 11
Adding microsite master page content
Add HTML spin blocks, naming them as per the table above.
Input any HTML into the box.
| Tel: +44 (0)20 7297 5200 | Fax: +44 (0)20 7287 3178
Page 7 of 11
Adverts
Any advertising is UBM’s control. UBM will need to enter the advertising code.
Adding styles to a page
To override or add to existing styles you will need to use the ‘head’ element. There are two ways to
achieve this.
1. Either by linking to an external CSS.
<link media="screen" href="/magazine/bespoke.css" type="text/css" rel="stylesheet">
2. Or by inputting styles directly into the head.
<style type="text/css">
.style1 {
font-size: 16px;
color: #FF0000;
font-family: Arial, Helvetica, sans-serif;
}
</style>
| Tel: +44 (0)20 7297 5200 | Fax: +44 (0)20 7287 3178
Page 8 of 11
Using images from the library
Format
All images are stored in the library as JPG’s, therefore all images that are referenced from the
library must be in JPG format to work.
If you need to reference a different format of image, these will have to be manually added to the
server and referenced with their root relative path.
URL path
To reference an image at its original size use the following path:
/Pictures/web/y/q/r/BD_head.jpg
To make use of the resizing functionality use the following path:
/pictures/SIZE/p/Pictures/web/y/q/r/BD_head.jpg
SIZE can be changed to:




NNNxAny
NNNxNNN
NNNxNNNfit
NNNxNNNfitpad[HEX]
| Tel: +44 (0)20 7297 5200 | Fax: +44 (0)20 7287 3178
Page 9 of 11
Widgets
There are two Widgets that can be added to microsites in the Right Hand Column.
Simply add the code below to the Right Hand Column block.
Most popular
<AbacusControl>
<data root="Most">
<isCacheable>true</isCacheable>
<providertype>sqlsp</providertype>
<connectionname>wv</connectionname>
<target>CT_Most_ActiveStories</target>
<params>
<param name="Pubcode" sqltype="Int" type="pubconfig">pubcode</param>
<param name="issuecode" sqltype="Int" type="text" default="0">0</param>
<param name="PopularDaysAgo" sqltype="Int" type="globalConfig"
default="7">WebSite.PopularDaysAgo</param>
<param name="ShowMostReadTopX" sqltype="Int" type="globalConfig"
default="5">WebSite.ShowMostReadTopX</param>
<param name="EmailedDaysAgo" sqltype="Int" type="globalConfig"
default="7">WebSite.EmailedDaysAgo</param>
<param name="ShowMostEmailedTopX" sqltype="Int" type="globalConfig"
default="5">WebSite.ShowMostEmailedTopX</param>
<param name="CommentedDaysAgo" sqltype="Int" type="globalConfig"
default="7">WebSite.CommentedDaysAgo</param>
<param name="ShowMostCommentedTopX" sqltype="Int" type="globalConfig"
default="5">WebSite.ShowMostCommentedTopX</param>
<param name="datemask" sqltype="VarChar" type="globalConfig"
length="20">WebSite.RestOfSiteDateMask</param>
<param name="timemask" sqltype="VarChar" type="globalConfig"
length="20">WebSite.TimeMask</param>
</params>
</data>
<transform>
<isCacheable>false</isCacheable>
<target>Master/Default/MasterControls/Master_MostThisMostThat.xsl</target>
<params>
<param name="currentnavcode" type="request" default="0">navcode</param>
<param name="ShowMostRead" type="globalConfig"
default="false">WebSite.ShowMostRead</param>
<param name="ShowMostCommented" type="globalConfig"
default="false">WebSite.ShowMostCommented</param>
<param name="ShowMostEmailed" type="globalConfig"
default="false">WebSite.ShowMostEmailed</param>
<param name="rootURL" type="globalConfig" >WebVision.rootURL</param>
<param name="UseFriendlyURLS" type="globalConfig"
default="false">WebSite.UseFriendlyURLS</param>
</params>
</transform>
</AbacusControl>
| Tel: +44 (0)20 7297 5200 | Fax: +44 (0)20 7287 3178
Page 10 of 11
Newsletter sign-up
<AbacusControl>
<data root="MyNewsLetters">
<isCacheable>false</isCacheable>
<providertype>sqlsp</providertype>
<connectionname>wv</connectionname>
<target>CT_mynewsletters</target>
<params>
<param name="subscribercode" sqltype="Int" type="profile"
default="0">UserID</param>
</params>
</data>
<data root="Newsletters">
<isCacheable>true</isCacheable>
<providertype>sqlsp</providertype>
<connectionname>dispatch</connectionname>
<target>CT_Publication_Newsletters</target>
<params>
<param name="pubcode" sqltype="Int" type="pubconfig"
default="1">pubcode</param>
</params>
</data>
<transform>
<isCacheable>false</isCacheable>
<target>Master/Default/MasterControls/Master_NewsletterBlock.xsl</target>
<params>
<param name="UserEmail" type="profile"
default="">UserEmail</param>
<param name="UseFriendlyURLS" type="globalConfig"
default="false">WebSite.UseFriendlyURLS</param>
</params>
</transform>
</AbacusControl>
| Tel: +44 (0)20 7297 5200 | Fax: +44 (0)20 7287 3178
Page 11 of 11