This is the second time I've run into this annoying error, so I decided to post the solution here so I will remember it the next time. I got from The Google last time it happened, so I don't claim this as my own, but it works quite nicely. This happens after you modify a non-publishing site. The following code can be posted into the Head of v4.master file. This will hide the bar when it displays this message. Hope this helps some other people, and hopefully Microsoft fixes this "feature" soon.
<script type="text/javascript">
ExecuteOrDelayUntilScriptLoaded(hideWarning, "sp.js");
function hideWarning() {
var statusbarContainer = document.getElementById('s4-statusbarcontainer');
if (statusbarContainer != null) {
var messageSpan = document.getElementById('status_1_body');
if (messageSpan != null) {
if (messageSpan.innerHTML.indexOf('current page has been customized from its template.') > 0){
statusbarContainer.style.display = 'none';
}else{
statusbarContainer.style.display = 'inline';
}
}
}
}
</script>
Wednesday, December 14, 2011
Thursday, December 1, 2011
My favorite web tools
Below is list of the web tools I can't live without.
1) ColorCop - This great free tool lets you drag a selection tool any where on your screen and gives you the Hex values for it. This comes in extremely useful when trying to make a background color of your web page quickly match the color of an image.
2) Fiddler2 - Fiddler is a Web Debugging Proxy which logs all
HTTP(S) traffic between your computer and the Internet. Fiddler allows you to inspect traffic, set breakpoints, and "fiddle" with incoming or outgoing data. Fiddler includes a powerful event-based scripting subsystem, and can be extended using any .NET language.
3) ColourLovers and Kuler - These give you excellent choices for color pallets for your website. I'm good at making things work, but not very good at making them easy to look at. These web sites make it a lot easier.
4) Visual Studio - I know there are plenty of html editors out there, but even the free version of Visual Studio is my favorite when it comes to editing html. The ability to quickly flip between design and preview modes make life easy. The right click to fire up a web browser and view your page is an extra plus.
5) FileZilla - A free ftp client, easy to use interface.
1) ColorCop - This great free tool lets you drag a selection tool any where on your screen and gives you the Hex values for it. This comes in extremely useful when trying to make a background color of your web page quickly match the color of an image.
2) Fiddler2 - Fiddler is a Web Debugging Proxy which logs all
3) ColourLovers and Kuler - These give you excellent choices for color pallets for your website. I'm good at making things work, but not very good at making them easy to look at. These web sites make it a lot easier.
4) Visual Studio - I know there are plenty of html editors out there, but even the free version of Visual Studio is my favorite when it comes to editing html. The ability to quickly flip between design and preview modes make life easy. The right click to fire up a web browser and view your page is an extra plus.
5) FileZilla - A free ftp client, easy to use interface.
Subscribe to:
Posts (Atom)