<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>WebSpy Blog&#187; restyle &#8211; WebSpy Blog</title>
	<atom:link href="http://www.webspy.com.au/blogs/index.php/tag/restyle/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.webspy.com.au/blogs</link>
	<description>For when WebSpyrians have something to say.</description>
	<lastBuildDate>Fri, 09 Dec 2011 01:18:27 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Taking the WebSpy out of the WebSpy Web Module</title>
		<link>http://www.webspy.com.au/blogs/index.php/taking-the-webspy-out-of-the-webspy-web-module/</link>
		<comments>http://www.webspy.com.au/blogs/index.php/taking-the-webspy-out-of-the-webspy-web-module/#comments</comments>
		<pubDate>Mon, 30 Nov 2009 09:09:13 +0000</pubDate>
		<dc:creator>Scott</dc:creator>
				<category><![CDATA[How To]]></category>
		<category><![CDATA[Tips and Best Practices]]></category>
		<category><![CDATA[Vantage]]></category>
		<category><![CDATA[Web Module]]></category>
		<category><![CDATA[WebSpy]]></category>
		<category><![CDATA[branding]]></category>
		<category><![CDATA[Copying]]></category>
		<category><![CDATA[customize]]></category>
		<category><![CDATA[edit]]></category>
		<category><![CDATA[IIS]]></category>
		<category><![CDATA[images]]></category>
		<category><![CDATA[locations]]></category>
		<category><![CDATA[login]]></category>
		<category><![CDATA[logo]]></category>
		<category><![CDATA[paths]]></category>
		<category><![CDATA[rebrand]]></category>
		<category><![CDATA[report]]></category>
		<category><![CDATA[reporting]]></category>
		<category><![CDATA[restyle]]></category>
		<category><![CDATA[style]]></category>

		<guid isPermaLink="false">http://www.webspy.com.au/blogs/?p=930</guid>
		<description><![CDATA[One feature on our roadmap is the ability to re-brand the WebSpy Vantage Web Module, so that when your users hit the web module to view reports, they’re greeted with your own company logo and branding.

In the mean time, I thought I’d share a way to re-brand the main elements in the Web Module by editing a few files and replacing a few images.]]></description>
			<content:encoded><![CDATA[<p>One feature on our roadmap is the ability to re-brand the WebSpy Vantage Web Module, so that when your users hit the web module to view reports, they’re greeted with your own company logo and branding.</p>
<p>In the mean time, I thought I’d share a way to re-brand the main elements in the Web Module by editing a few files and replacing a few images.<span id="more-930"></span></p>
<p>The only issue with this technique is that any future auto-updates for the Web Module will overwrite your edited files, so you just need to keep a copy of your customized files, so that you can restore them again after the auto-update.</p>
<h2>Before you begin</h2>
<p>In order to edit anything, you first need to know where your Web Module is located on your web server’s hard drive. This can be found by opening IIS Manager (Start | Control Panel | Administrative Tools | Internet Information Services (IIS) Manager) expanding the left hand server/site tree to find your Web Module.</p>
<ul>
<li>In IIS7, select the Web Module and click Basic Settings… in the right hand ‘Actions’ panel. The location is specified in ‘Physical Path’.
<div id="attachment_959" class="wp-caption aligncenter" style="width: 310px"><a href="http://www.webspy.com.au/blogs/wp-content/uploads/2009/11/webmodulephysicalpath1.png"><img class="size-medium wp-image-959" title="Finding the Web Module's physical path in IIS7" src="http://www.webspy.com.au/blogs/wp-content/uploads/2009/11/webmodulephysicalpath1-300x249.png" alt="Finding the Web Module's physical path in IIS7" width="300" height="249" /></a><p class="wp-caption-text">Finding the Web Module&#39;s physical path in IIS7</p></div></li>
<li>In IIS6, right-click the Web Module and select Properties… then go to the Home Directory tab. The location is specified in ‘Local Path’.</li>
</ul>
<p>Windows may also prevent you from editing these files directly due to permissions issues. I&#8217;ve found a good technique is to copy the files you want to edit to your desktop, edit them, and then copy them back into the Web Module&#8217;s physical path. Windows will then prompt you to elevate to administrator and the copy/replace will succeed.</p>
<h2>Ready To Go&#8230;</h2>
<p>There are a few places where the WebSpy logo and WebSpy Text is presented.</p>
<ul>
<li>The login page</li>
<li>The header bar</li>
<li>The welcome Page</li>
<li>Report cover pages</li>
</ul>
<h3>The Login page</h3>
<p>The logo displayed on the login page can be found at /images/logo.png. Replace this image with your own logo. Then open Default.aspx in the Web Module’s root folder in a text editor such as notepad, and replace the following line</p>
<p>&lt;img runat=&#8221;server&#8221; alt=&#8221;WebSpy&#8221; src=&#8221;~/Images/<strong>Get.ashx?image=Logo</strong>&#8221; /&gt;</p>
<p>with</p>
<p>&lt;img runat=&#8221;server&#8221; alt=&#8221;WebSpy&#8221; src=&#8221;~/Images/<strong>logo.png</strong>&#8221; /&gt;</p>
<h4>Before</h4>
<p><div id="attachment_962" class="wp-caption aligncenter" style="width: 310px"><a href="http://www.webspy.com.au/blogs/wp-content/uploads/2009/11/loginscreen_before2.png"><img class="size-medium wp-image-962" src="http://www.webspy.com.au/blogs/wp-content/uploads/2009/11/loginscreen_before2-300x213.png" alt="Web Module's Login Page Before logo.png Change" width="300" height="213" /></a><p class="wp-caption-text">Web Module&#39;s Login Page Before logo.png Change</p></div>
<h4>After</h4>
<div id="attachment_963" class="wp-caption aligncenter" style="width: 310px"><a href="http://www.webspy.com.au/blogs/wp-content/uploads/2009/11/loginscreen_after1.png"><img class="size-medium wp-image-963" title="Web Module Login Page After logo.png change" src="http://www.webspy.com.au/blogs/wp-content/uploads/2009/11/loginscreen_after1-300x213.png" alt="Web Module Login Page After logo.png change" width="300" height="213" /></a><p class="wp-caption-text">Web Module Login Page After logo.png change</p></div>
<h3>The header bar</h3>
<p>The header bar utilizes the image located a /Images/bauble.png. Replace this image with your own custom image.</p>
<p>Then open Navigation.Master  in the Web Module’s root folder in a text editor such as notepad, and replace the following line</p>
<div style="width: 620px;">
<p>&lt;div class=&#8221;headerBauble&#8221;&gt;&lt;img runat=&#8221;server&#8221; src=&#8221;~/Images/<strong>Get.ashx?image=Bauble</strong>&#8221; alt=&#8221;<strong>WebSpy</strong>&#8221; /&gt;&lt;/div&gt;</p>
<p>with</p>
<p>&lt;div class=&#8221;headerBauble&#8221;&gt;&lt;img runat=&#8221;server&#8221; src=&#8221;~/Images/<strong>bauble.png</strong>&#8221; alt=&#8221;<strong>Your Company Name</strong>&#8221; /&gt;&lt;/div&gt;</div>
<p>Also look for the text:</p>
<div style="width: 620px;">
<p>&lt;asp:Label ID=&#8221;Label1&#8243; runat=&#8221;server&#8221; Text=&#8221;<strong>res:Application.FullName</strong>&#8220;&gt;&lt;/asp:Label&gt;</p>
<p>and replace with</p>
<p>&lt;asp:Label ID=&#8221;Label1&#8243; runat=&#8221;server&#8221; Text=&#8221;<strong>Your Company Name</strong>&#8220;&gt;&lt;/asp:Label&gt;</div>
<h4>Before</h4>
<p style="text-align: center;">
<div id="attachment_965" class="wp-caption aligncenter" style="width: 310px"><a href="http://www.webspy.com.au/blogs/wp-content/uploads/2009/11/headerbar_before1.png"><img class="size-medium wp-image-965 " title="Web Module's Header Bar Before Bauble.png and Text Changes" src="http://www.webspy.com.au/blogs/wp-content/uploads/2009/11/headerbar_before1-300x62.png" alt="Web Module's Header Bar After Bauble.png and Text Changes" width="300" height="62" /></a><p class="wp-caption-text">Web Module&#39;s Header Bar Before Bauble.png and Text Changes</p></div>
<h4>After</h4>
<div id="attachment_938" class="wp-caption aligncenter" style="width: 310px"><a href="http://www.webspy.com.au/blogs/wp-content/uploads/2009/11/headerbar_after.png"><img class="size-medium wp-image-938" title="Web Module's Header Bar After Bauble.png and Text Change" src="http://www.webspy.com.au/blogs/wp-content/uploads/2009/11/headerbar_after-300x64.png" alt="Web Module's Header Bar After Bauble.png and Text Change" width="300" height="64" /></a><p class="wp-caption-text">Web Module&#39;s Header Bar After Bauble.png and Text Change</p></div>
<h3>The Welcome Page</h3>
<p>When you first login to the Web Module, you are presented with a Welcome Page. The first line on this page reads &#8220;Welcome to the WebSpy Vantage Web Module. You can change this by editing the first line in the Welcome.aspx file located in the Web Module&#8217;s root folder. Edit the section in bold below:<br />
&lt;%@ Page Language=&#8221;C#&#8221; MasterPageFile=&#8221;~/Navigation.Master&#8221; AutoEventWireup=&#8221;true&#8221; CodeBehind=&#8221;Welcome.aspx.cs&#8221; Inherits=&#8221;WebSpy.Vantage.WebModule.Welcome&#8221; Title=&#8221;<strong>Insert Custom Text Here</strong>&#8221; %&gt;</p>
<h4>Before</h4>
<div id="attachment_947" class="wp-caption aligncenter" style="width: 310px"><a href="http://www.webspy.com.au/blogs/wp-content/uploads/2009/11/welcomepage_before.png"><img class="size-medium wp-image-947" title="Web Module's Welcome Page Before Text Change" src="http://www.webspy.com.au/blogs/wp-content/uploads/2009/11/welcomepage_before-300x155.png" alt="Web Module's Welcome Page Before Text Change" width="300" height="155" /></a><p class="wp-caption-text">Web Module&#39;s Welcome Page Before Text Change</p></div>
<h4>After</h4>
<div id="attachment_953" class="wp-caption aligncenter" style="width: 310px"><a href="http://www.webspy.com.au/blogs/wp-content/uploads/2009/11/welcomepage_after1.png"><img class="size-medium wp-image-953" title="Web Module's Welcome Page After Text Change" src="http://www.webspy.com.au/blogs/wp-content/uploads/2009/11/welcomepage_after1-300x134.png" alt="Web Module's Welcome Page After Text Change" width="300" height="134" /></a><p class="wp-caption-text">Web Module&#39;s Welcome Page After Text Change</p></div>
<h3>The Report Cover Pages</h3>
<p>The Image used on the cover page of reports is much easier to change.</p>
<ol>
<li>Login to the Web Module as Administrator</li>
<li>Go to the Options Tab</li>
<li>Click ‘Report Logo’ under Web Module Options</li>
<li>Click Choose File, and select the image or logo you would like displayed on your report cover page</li>
<li>Click Upload</li>
</ol>
<h4>Before</h4>
<div id="attachment_940" class="wp-caption aligncenter" style="width: 310px"><a href="http://www.webspy.com.au/blogs/wp-content/uploads/2009/11/webmodulereport_before.png"><img class="size-medium wp-image-940" title="Web Module's Report Cover Page Before Report Logo Change" src="http://www.webspy.com.au/blogs/wp-content/uploads/2009/11/webmodulereport_before-300x213.png" alt="Web Module's Report Cover Page Before Report Logo Change" width="300" height="213" /></a><p class="wp-caption-text">Web Module&#39;s Report Cover Page Before Report Logo Change</p></div>
<h4>After</h4>
<p><a href="../wp-content/uploads/2009/11/webmodulereport_after.png"></a></p>
<div id="attachment_941" class="wp-caption aligncenter" style="width: 310px"><a href="http://www.webspy.com.au/blogs/wp-content/uploads/2009/11/webmodulereport_after.png"><img class="size-medium wp-image-941" title="Web Module's Report Cover Page After Report Logo Change" src="http://www.webspy.com.au/blogs/wp-content/uploads/2009/11/webmodulereport_after-300x213.png" alt="Web Module's Report Cover Page After Report Logo Change" width="300" height="213" /></a><p class="wp-caption-text">Web Module&#39;s Report Cover Page After Report Logo Change</p></div>
<h2>Summary</h2>
<p>The changes above cover a majority of the areas your users will come into contact with in the Web Module. There may be a few more instances of the word &#8220;WebSpy&#8221; but for the most part, it should just be a matter of opening the relevant .aspx file and editing the html.</p>
<p>As I mentioned, if you auto-update the Web Module (via the system tray icon on the Web Module server), your edited files will be overwritten. I recommend keeping a copy of your edited files in a safe place outside the Web Module&#8217;s physical folder, so that you can copy them back in after the update. If the only changes you make are the ones above, then you&#8217;ll need to keep a copy of:</p>
<ul>
<li>/Navigation.Master</li>
<li>/Default.aspx</li>
<li>/Welcome.aspx</li>
<li>/Images/logo.png</li>
<li>/Images/bauble.png</li>
</ul>
<p>We will also be adding the functionality to make these changes &#8216;properly&#8217; in a future build, so <a title="Follow Us On Twitter" href="http://www.twitter.com/WebSpy" target="_blank">follow us on Twitter</a>, or <a title="Subscribe to our RSS feed" href="http://www.webspy.com.au/blogs/index.php/feed/" target="_blank">subscribe to our RSS feed</a> for updates!</p>
<p>Cheers!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.webspy.com.au/blogs/index.php/taking-the-webspy-out-of-the-webspy-web-module/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

