Showing posts with label technology. Show all posts
Showing posts with label technology. Show all posts

Monday, 16 July 2007

Editing SharePoint Themes

As I mentioned a few days ago I've been working on CSS files to edit themes in SharePoint. I haven't seen much documentation on how to do this so after picking up pieces from different places and then figuring out what to do I thought I'd pass my knowledge on.

I have access to SharePoint, SharePoint Designer and IE Developer Toolbar. I find SharePoint Designer better for viewing CSS or HTML files, but another good programme is Notebook++ which is an open source, source code editor for use on Windows. It supports many different languages:

ASP, Ada, ASCII art, Assembly, AutoIt, BAT, C, C#, C++, Caml, CSS, doxygen, FORTRAN, HTML, Haskell, Java, JavaScript, KiXtart, Lisp, Lua, makefile, Matlab, Objective-C, Pascal, Perl, PHP, PostScript, Python, Ruby, Scheme, Unix Shell Script, Smalltalk, SQL, Tcl, TeX, Verilog, VHDL, VB/VBScript, XML

You can download Notebook++ free here

Anyway getting back to the subject editing themes. To edit the theme you need to open the theme file. This is located in /_themes/THEME_NAME/THEME_1011-65001.CSS replacing THEME_NAME and THEME with the name of the theme you wish to edit. Open it from the SharePoint site. Doing that should open the CSS file in your default code editor, unless you have SharePoint Designer then you can locate it that way.

So now I have the CSS file open, I have my Web browser open with the site and theme I want to edit and IE Developer Toolbar. First thing to do is on the IE Developer Toolbar click on "Find" and then on "Select Element By Click" this means that you can click anywhere on the web page and you will not be taken to another page and it will show you the attributes for that part of the page that you have clicked on. So for example, I want to change the page border colour. So I clicked on the page border and in the current style list navigate to the background-color attribute, then right click on this and click "trace style" this brings up a new window, showing me the following

.ms-main {
BORDER-RIGHT: #ffffff 15px solid;
PADDING-RIGHT: 5px;
BORDER-TOP: #ffffff 15px solid;
PADDING-LEFT: 5px;
PADDING-BOTTOM: 5px;
BORDER-LEFT: #ffffff 15px solid;
PADDING-TOP: 5px;
BORDER-BOTTOM: #055baa 15px solid;
BACKGROUND-COLOR: #e3efff

Then a quick CTRL+F in SharePoint Designer and search for .ms-main will take me to the part of the .CSS file I wish to edit (a good idea is to either write in a comment detailing your changes or to create a copy in case you need to go back to the original.)

So I then changed all the #ffffff to blue wrote in a comment to say it was originally white and the I saved the file. After doing this the theme was just how we needed it so I had a look at another theme to see if any others could be edited slightly to become useful. On going back to my edited theme I noticed that everything I had changed had gone back to how it was. I still had SharePoint Designer open so I re saved the file and refreshed the browser, it changed again to the edits that I had made, so I realised that there must be another file that needs editing too in order to keep the theme the same. I discovered this file in the 12 folder on the server. This folder can usually be located in \Program Files\Common Files\Microsoft Shared\web server extensions\12 then navigate to "Template" and "Themes" there you will get a list of all the available themes, navigate to the one that requires editing. In my case my theme is called "Blue" so I opened the "Blue" folder, in this folder you will see 5 .CSS files, these should be called:

  1. COLOR0.CSS

  2. COLOR1.CSS

  3. GRAPH0.CSS

  4. GRAPH1.CSS

  5. THEME.CSS


The THEME.CSS is the flie that needs to be edited in order to save the changes, this file begins with the body tag and looks something like this:

body {
font-family:Arial;
background-color:#FFF
text-align:center;
margin:5px;
}

This is the first line in the THEME.CSS however it is not the first line in 1011-65001.css, you will find this at approximately line 150. So now it is just a simple case of copying everything from body downwards, emptying the THEME.CSS file and pasting what you have copied into it. Once this is saved you can change your theme and go back to it and your changes will still be there. I did not require an IIS RESET to do this but there is a chance your changes won't save without one.

If you have any questions on this subject post me a comment and I'll do what I can to help :)



I have a confession to make - contrary to what I previously said the 1011-65001.css file is only acessible with Frontpage or SharePoint Designer, sorry about the mix up!


Free Blog Counter


Thursday, 12 July 2007

200 Posts - Overview Part Deux!

As I said in my last overview I monitor my site activity with http://blogcounter.com

I've reached the 200 views mark today so I thought I'd do another review.

The page with the most views is still The Church of Gaming but a close second is the Sol article

The most searched words that links people to my blog are "madeleine update" and "maddy, blogspot" As of yet google has been used 52 times. The other 148 views seem to of come from a combination of Digg and Reddit and a few people have visited from when a post of mine was posted on the Mirror Forums

The most popular OS was still Windows XP with 65.7% (134 people) using it to view my blog, as of yet not one person has viewed my blog using Microsoft Vista, I wonder if this says something? Is Vista not as popular as MS are claiming, but thats for another post ;-) The second most popular OS is no longer Linux, now it is WinNT6.0 with 8.3 %, Linux and Windows 2000 are tied for third place with 5.9 %

The most popular browser is no longer Firefox last time Firefox had 62% this time Firefox only has 44.1 % and Internet Explorer takes the lead with 52 % Netscape was third with 2.5 %

So I wonder how much will change by my next review? I'm not sure whether to review again at 300 because it might come too soon, maybe a third review at 500 would be better.



Free Blog Counter


Internet Explorer Developer Toolbar

I've recently started using the IE Developer Toolbar after discovering it thanks to Shane Perran's SharePoint Blog It is a very useful addon for Internet Explorer especially as in work I can't have Firefox, and as I'm working with a SharePoint site on the server that isn't FF compatible. The toolbar downloadable here is a useful tool for exploring the HTML or CSS on a webpage.

The Microsoft overview:
Overview

The Internet Explorer Developer Toolbar provides several features for exploring and understanding Web pages. These features enable you to:

* Explore and modify the document object model (DOM) of a Web page.
* Locate and select specific elements on a Web page through a variety of techniques.
* Selectively disable Internet Explorer settings.
* View HTML object class names, ID's, and details such as link paths, tab index values, and access keys.
* Outline tables, table cells, images, or selected tags.
* Validate HTML, CSS, WAI, and RSS web feed links.
* Display image dimensions, file sizes, path information, and alternate (ALT) text.
* Immediately resize the browser window to a new resolution.
* Selectively clear the browser cache and saved cookies. Choose from all objects or those associated with a given domain.
* Display a fully featured design ruler to help accurately align and measure objects on your pages.
* Find the style rules used to set specific style values on an element.
* View the formatted and syntax colored source of HTML and CSS.

The Developer Toolbar can be pinned to the Internet Explorer browser window or floated separately.

I am at the moment using it to edit the CSS files for a SharePoint theme, and it is making my job a whole lot easier!



Free Blog Counter


Monday, 2 July 2007

100 Hits, Now For The Overview!

Thanks to blogcounter.com I can see that today I have received my 100th hit! Now for all the information I found interesting. The most popular OS was Windows XP, with 66 people out of the 100 using it, second was a huge surprise to me but it was Linux! It doesn't go into detail of which type of Linux it was but Linux got 9%. Win NT6.0 8% and what shocked me even more Mac OSX only 4%!! Windows 2000 2% and the following were 1% Windows 98, Win NT5.2, Windows ME, and Sun OS.

Now a subject that is often talked about browser wars! Which browser did most people coming to my blog use the one, the only Mozilla!! 62% of people coming here use FireFox, I will take this oppurtunity to say you can download FireFox with Google Toolbar by clicking on the link to the right >>>>
Internet Explorer only 33%, Netscape and Opera 2% and not one person who came here used Safari. From looking at the stats in more detail I can discover that the four people on Mac used, 1-Netscape6.0 3-FireFox1.8! All Linux users who came to my blog used FireFox too! Is Mozilla finally winning the browser war?? I know my site is only one site out there but I still find it interesting that more that half the people who visited are using FireFox!

Now for something else interesting which just clarifies what we already know, but out of the 19 people who were brought here by a Search Engine 18 of them used Google, the other 1 got here by using AOL to search "Benoit phone". The most common keywords were to do with Madeleine sightings and Church of Gaming.

The blog entry with the most hits The Church Of Gaming so maybe I have the audience I wanted, a geek one :D

Also most of the 100 people who viewed my blog have been directed here from either Digg or Reddit, so thanks to those people who saw my information good enough to digg! Now I just want to find out how to add a Diggit button to the bottom of my post, if anyone knows how to do that leave me a comment please :D


Free Blog Counter


Wednesday, 27 June 2007

The Church Of Gaming

Nine days ago on the 18th June, we first heard about Ethan's "faith" and "gods" of gaming. Two days later on the 20th he created a hat and a symbol of his new Church. On the 22nd he informed Lucas of his intentions, and began to write his "bible"

On the 23rd June 2007 Ethan gave all us geeks out there a religion and made the Church of Gaming official, with an official "Holy Instruction Manual" but what geek church would be complete without its own website?? On 25th June Ethan gave us that too, using the powers of a popular website Ctrl+Alt+Del he gave us the Church of Gaming

Yesterday was the first church meeting. I think it will be interesting to see where they go with this, the fact that they have created the website www.churchofgaming.com to go with the storyline is was I liked best, at the moment as you can see the website is only one page, but I think as the story progresses we may be given more especially if it gets a lot of hits.

So spread the word the geek Church is here!!


Free Blog Counter


Monday, 25 June 2007

Free Online Books

While looking into Linux systems and what to use, I found this website PSPXWorld It has a lot of useful books on it, from a variety of different subjects, including:

  • Programming

  • Mathematics

  • Computer Science

  • Database

  • Operating Systems


I have found the site really useful for my Linux research :)

And as I'm trying to teach myself some programming languages I hope it will be just as useful for that too!

Speaking of teaching yourself, I have over the past 2 months taught myself HTML the W3 Schools website is really helpful, and although I'm no HTML expert it has been the only website I have needed to use to learn quite a lot :D


Free Blog Counter


Tuesday, 19 June 2007

New wifi World record!

A new world record has been set for the largest distance wifi connection!

A Venezuelan researcher Ermanno Pietrosemoli has established a 802.11 signal between two PC's on mountains in the Venezuelan Andes. The distance between the two PC's was about 237 miles which is around 382 kilometers!

The former world record was 310 kilometers or 192 miles, and was between a balloon and a PC on the ground, and I have trouble connecting mine up the stairs!!


Free Blog Counter


Well, A Small Introduction Is Needed I Think

So I suppose I should tell you abit about myself. I'm female (incase the name geekygal didn't give that away) I live in England and I study Information Systems in University. Information Systems basically contains loads of different subjects, in my first two years I've studied a bit of programming, business systems, web design, database design, IT law, amongst others that I cant think of off the top of my head.

This year I'm doing work experience. I've been working mainly with Microsoft products, including SharePoint, InfoPath and Groove.

Next year is my final year in uni! Yeay, and next year I'm going to be studying a bit more business, security, computer forensics (which means the uni finally letting us know that there is life outside of Microsoft, and teaching us on Linux!!) and user interface design.

Outside of Uni and work I like to keep myself updated on whats going on in the news, and in the world of technology too! I am an über geek and do love to read about alkinds of geeky things, but I also like to have fun. Mind you most of my fun is done in a geeky way too, like surfing the net (especially with Stumbleupon ) or computer games, I am a mad Final Fantasy fan! (I've just got FFXI and XII :D ) and playing World of Warcraft, another of my favourite games :D

Anyways thats a little about me now onto the real posts!!


Free Blog Counter