Blog Stuff

July 20, 2008

Theme test: ‘dots2′

Filed under: general - Administrator @ 1:15 pm

You might just have started a blog on Blogsome. Perhaps you are using the WYSIWYG editor to write your posts quickly and easily. You probably think HTML and CSS code doesn’t matter and it’s irrelevant to you. But with some themes, that just means you’ll be making a mess of things even sooner. Take a hint from this:

Just checking out one of the Blogsome default themes, ‘dots2′. It was created by Wordpress maven, Alex King. But how well does it work with Blogsome?

Invalid code

I always run a new theme through the W3C validator before making any other changes. ‘Dots2′ throws up 14 errors. Let’s see if I can fix them.

Firstly, I changed some of the coding in the Search form. Where it said method="POST", I changed it to method="get". Result? Now only 13 errors.

Google ad code

Next, I deleted this bit of code from just before the Google ad section:

<ul><li id="google"><ul><center>

and this from just after the ad section:

</center></ul></li></ul>

Then I revalidated the page. Wow. It’s now down to only seven errors!

Image code errors

The next thing that caused validation errors was the Blogsome promotion image in the left side column. The error is caused by this code, which sits just below the Google ad section:

{$advertisement_image_block}

This outputs the following image code:

<img src="http://www.blogsome.com/site-specific/images/ad.png" border="0">

To be properly valid, border=”0″ should be replaced by style=”border:0;”, followed by a single space and then a forward slash. Or you could, alternatively, copy the image and replace the original code. Depends how bothered you are about it.

For testing purposes I chose to delete the {$advertisement_image_block} code. Result? At last, I had a valid page to work with.

HOW TO AVOID MISTAKES IF YOU CHOOSE THIS THEME

If you don’t have much experience with HTML or CSS it’s easy to make a mess of this theme. I changed some of the background colours to make it easier to see how this theme is laid out. Looks complicated, doesn’t it?

It’s simple really. There’s one div called ‘content’, which is where your blog posts go. That’s in the middle.

And there’s one menu.

But it looks as if there are two menus!

This is because this theme uses a technique called CSS-P, a combination of absolute and relative positioning for each element.

IF YOU DO NOT UNDERSTAND CSS POSITIONING, DO YOUR HOMEWORK NOW!

If you do understand it, you’ll see it makes sense to put a few HTML comments in the page code, to make it easier to see where each section is if you want to make alterations.

The main area where people go wrong with this theme is if they try to include images that are too large for the menu sidebars. Read the template carefully and soon it will all make sense.

On the other hand, you could just choose an easier theme to start with!

June 17, 2008

Test test test

Filed under: general - Administrator @ 11:37 am

Och, ’tis just a wee test post. Take no notice :) )

May 13, 2008

Have fun porting themes

Filed under: general - Administrator @ 3:55 pm

How wonderful it is to play around with Blogsome, porting themes all day long! Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Aliquam metus nunc, euismod in, euismod nec, accumsan sit amet, tellus. Vivamus et orci. Nulla id neque nec est volutpat pharetra. Sed sollicitudin.

Just testing a blockquote. Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Aliquam metus nunc, euismod in, euismod nec, accumsan sit amet, tellus. Vivamus et orci. Nulla id neque nec est volutpat pharetra. Sed sollicitudin. Mauris libero lectus, convallis tincidunt, interdum id, imperdiet nec, enim. Vestibulum porttitor vulputate metus. Donec diam nibh, aliquam ut, placerat in, ullamcorper vitae, odio. Maecenas elit. Quisque tincidunt, velit sed accumsan vehicula, odio magna faucibus nisl, vitae tempor sem enim nec metus. Vestibulum urna orci, imperdiet mollis, ornare eu, vehicula at, est. Sed ac mauris et purus interdum gravida. Proin mattis accumsan tortor. Duis placerat sapien vitae wisi. Suspendisse justo dui, tristique eget, ultrices quis, porta nec, leo.

My own approach to making Blogsome themes (not that I do very many these days) is to leave Wordpress alone. Instead, I take a theme that already works on Blogsome, and experiment with the colours or swap the sidebar over to the other side or do something else straightforward. Lots of small changes can add up to a new theme. And much less hassle.

Pop? Blue?

Filed under: general - Administrator @ 9:19 am

Just trying this ‘Pop blue’ theme out. There’s a good reason for this, albeit a rather geeky reason. Thing is, ‘Pop blue’ is a port of a proper Wordpress theme. I’ve downloaded the original WP theme, plus the files for the Blogsome version, and I’m going to have a quick look at the files and see if I can work out where I went wrong when I tried porting a theme myself last weekend.

April 28, 2008

Clickety click

Filed under: general - Administrator @ 6:50 pm

Just activated the Click Counter plugin. Guess I’d better put a couple of links in this post now, so I can find out if it works. So, here goes:

Disclaimer: The second link is a little blog that’s run by someone I know…

Update: After you activate the plugin, you must put the following simple piece of code somewhere in your page, preferably in the sidebar with all the other navigation lists:

{wp_ozh_click_topclicks}

Best to wrap it in <ul>/</ul> tags, to show the results off to their best effect (!). Click counter will give you an idea of what people are clicking on and thus what’s popular on your blog.

Get free blog up and running in minutes with Blogsome
Theme designed by Alex King