300x250 AD TOP

Showing posts with label Joomla. Show all posts
Showing posts with label Joomla. Show all posts

Tuesday, 6 March 2012

Tagged under:

Joomla Tutorial: Working With Templates




In this Jooma tu torial I go over how
to install and apply different templates to your Joomla website.
Tagged under:

Joomla 1.6 – Access Control


SUBSCRIBE FOR MORE! Joomla 1.6 is the latest version of the Joomla! CMS (Content Management System) In this series, Andrew Eddie presents the new powerful ACL (Access Control) of the platform that powers more than 2.6% of the entire web! Visit www.joomla.org for more or to download today!
Special thanks to Andrew Eddie: www.theartofjoomla.com
Tagged under:

Joomla template: JM-Wellness-Cosmetics





You are the one, who is responsible for the quality of your life. That’s why your website should convince your clients about it and encourage them not to save money on their health and psychological well-being. Give them a posibility to choose products, which give them sense of beauty. The template offer is dedicated to companies selling cosmetics and also for all beauty salons. Template available here: www.joomla-monster.com Template’s demo: demo.joomla-monster.com
Tagged under:

JOOMLA Drop Down menus with SWMenu Free




hypertransitory.com – A walkthrough setting up drop-down menus in Joomla 1.5 with SWMenu pro.

I found it was easier than WordPress. I made a small mistake with this one. About 9min 25sec in I said that the page won’t validate if you use one setting. Turns out I was wrong about this, so I can only assume it had something to do with the template I was using at the time.
Tagged under:

What is Joomla?





A quick video talking a little about joomla and showing off some of the capabilities and benefits of Joomla, an open source Content Management System (CMS) for building websites for free.
Tagged under:

Install Joomla on your Windows computer using WAMP server


Canadian Tech Online – www.canadiantechonline.com Original Article – bit.ly Joomla!
is a very powerful, dynamic, and robust Content Management System (CMS) that runs off of Apache web server, MySQL, and PHP. It is often deployed in coporate intranets as well as a wealth of some of the most popular website on the internet today. If you are a web developer looking to do a mockup of a page, or need to develop a customer’s website offline (or without webspace) then this is the best route for you to go. This is also quite handy for developers to import websites that are currently online to help predict and troubleshoot possible glitches when a site goes through a major update. Setting up Joomla! on your very own Windows computer is as simple as following 6 very short steps: Step 1 – Get Server Software – Joomla! is a web application and needs to be run on top of several other server applications in order to appear in your browser. – You need a database program, a webserver, an operating system, and a scripting language. – WAMP server fills this gap. WAMP stands for Windows, apache, mysql, and php. – Download Install WAMP server www.wampserver.com Step 2 – Get Joomla! – Joomla is essentially ditributed as a bunch of php scripts in a zip file. – Download the latest version of Joomla at www.joomla.org Step 3 – Start WAMP Server – In order to install Joomla, you must have all of the needed server components running. – Double click the WAMP server icon from your desktop of choose …
Tagged under:

Joomla Template Maker




planettucker.com is where you can learn more about this tool and how to get it. Needless to say I think it is beyond amazing and saves you literally weeks of time in trying to develop a UNIQUE Joomla template. Whether you know code or not, this tool and its interface makes quick work of creating one, and one that no other human being has.
It also equally makes just as cool WordPress and Drupal templates, but my favorite is Joomla so that is what the video is around. You basically use the interface to make whatever template you want, and then you choose the export option which in turn changes which template it makes (ie WordPress, Drupal or Joomla). You zip up the file and all details are taken care of for you. I couldn’t recommend it enough!

Monday, 5 March 2012

Tagged under:

Creating W3C valid Joomla templates

Tutorial 1: Creating a W3C valid Joomla template for your Joomla website

In this series of joomla tutorials, we'll be building a valid joomla template. Joomla is an open source Content Management System (CMS) that is freely (literally) available and supported by a large on-line community. The site will actually be live on-line at livesite.compassdesigns.net from the very beginning, you'll be able to see the different stages as the design develops. As this is a CSS designed site, you'll be able to slowly see the raw joomla design get styled step by step.

Joomla Design for Web Standards

You may have seen words such as "web standards" or "CSS" or even "accessibility". They are often all used together in some sort of commentary about a "design for the future rather than the past".
What do we mean by that?
We'll discuss it more in another article, but many web pages are designed for older browsers. How so? Browsers have continually evolved since the www started. New ones have appeared and old ones have disappeared (remember Netscape?). Another complicating factor is that different browser makers (like Microsoft) tend to have their browsers interpret html/xhtml in slightly different ways. This has lead to web designers having to design their websites to support older browsers rather than new ones. It's often decided that the web page needs to appear properly to these "legacy" browsers.
Web standards put into place a common set of "rules" for all web browsers to use to show a web page. The main organization pushing these standards is the World Wide Web Consortium (WC3), whose Director, Tim Berners-Lee has the distinction of actually inventing the world wide web in 1989 (how's that on a resume!).
Cascading style sheets or CSS was developed a few years ago that made styling easier for web designers. You have all styles in a separate file and they are applied to the whole site. Rrecently is has been part of a movement to separate content from presentation. This is another thing we'll visit later, right now we'll just note that using CSS is key to building a valid Joomla website that meets WC3 standards.
Accessibility, sometimes mistakenly called usability, is an attempt for a page to be accessible to all possible viewers. Usually this is chosen to mean such examples as someone that is blind (uses a screen reader) or old (struggles with small fonts/delicate mouse based navigation). I use these two as examples as they are the ones quoted most often (don't shoot the messenger!). I take a much broader view and include viewers with or without disabilities, young or old, or even non-human, such as search engine spiders!
Trying to get your joomla website to meet these standards can be hard. Any sort of CMS generates its content dynamically, which can mean code gets put in that invalidates your site, the joomla design is never constant.

Overview of a Joomla Design

There is no "right way" to create a website, it depends on the designer's own background. Those more graphical make an "image" of a page in a graphics program like Photoshop and then break up the images to use (known as slice and dice). More technologically inclined designers will often just jump straight into the CSS and start coding. As a goal of this project is to have the process be as transparent as possible for people to see, we'll use a process with lots of small steps. We'll have two other twists in the joomla design process:
  • We will put up a site a raw content very early in the process, normally this would come as one of the last stages.
  • We will design a basic 3 column CSS joomla template first and then adapt to our desired design. We are doing this so that it's possible to see a "universal layout" and see how it can be adapted to different needs.
So, with those two points in mind, here is our modified design process.
  1. Outline and discuss website criteria.
  2. Install Joomla with no CSS, a raw joomla design with no styling, publish onto web.
  3. Create basic position 3 column CSS layout.
  4. Adapt 3 column CSS joomla template and complete any further styling.
  5. Adapt this Joomla design to achieve desired site functionality.
  6. Take comments generated by community and create detailed guide to building a valid Joomla website.
The URL is http://livesite.compassdesigns.net. We'll start with a fresh Joomla website install. We'll use this section of this website to place the articles discussing the process. We'll also use a comment tool so that anyone can make comments. Hopefully this will be a learning experience for us all.
Summary:
  • Joomla is a free, powerful content management system, we'll be using it to build a valid Joomla template that meets WC3 standards.
  • Web Standards describe a set of rules for all web browsers to use to interpret web pages. CSS is a design protocol that is closely tied to web standards.
  • Getting a joomla design to meet W3C standards and validate can be difficult.
  • Microsoft needs to be taken out back and shot.

A preview from our next joomla tutorial
Tutorial 2: Installing Joomla, doctype and the blank joomla template
In this article we will look quickly at installing joomla and then spend most of our time discussing the joomla doctype and how it relates to a valid joomla site. We'll also briefly look at how to construct a basic or blank joomla template with the index.php file.
Tagged under:

Installing Joomla, doctype and the blank joomla template Written by Barrie North

Tutorial 2: Installing Joomla, doctype and the blank joomla template

Reprinted with permission from Compass Design: Valid W3C joomla template designs for your website
In this article we will look quickly at installing joomla and then spend most of our time discussing the joomla doctype and how it relates to a valid joomla site. We'll also briefly look at how to construct a basic or blank joomla template with the index.php file.

Installing Joomla

There are several ways to do this, fantastico, manually, and there is a handy tool to do it http://joomla.astang.com/autoinstall. Please note I have never used this, so you are on your own!
My preferred method is to do it manually, its really pretty easy, especially if you have cpanel on your host server:
  1. Go to your SQL databases and create (through phpAdmin) a database and user to use with Joomla.
  2. Go to the file manager in your cpanel.
  3. Create a directory for your site. Or if you are using a subdomain like we are (livesite.compassdesigns.net), the folder is automatically created when you create the subdomain. Navigate to the folder.
  4. Use the Upload file link to upload a full version of Joomla (sneak to your local Starbucks/College to take advantage of a big fat free connection).
  5. Click once on your uploaded file and you will see a menu appear. Click on "extract file contents".
  6. Your done!
Now, we have only uploaded the files, we haven't "installed" it yet. I am not going to go into details of how to install Joomla. Here is the 'official' guide http://help.joomla.org/content/view/39/132/

The Blank Joomla Template

Now, one of the points here is to start with a blank joomla template. So, let's set that up. You will need this file: livesitedesign.zip. In this file are the various files and folders that make up a blank Joomla template:
  • index.php
    This file is the most important. It lays out the site and tells the joomla CMS where to put the different components and modules.
  • templateDetails.xml
    This files details the author, copyright and what files make up the template (including any images used)
  • template_thumbnail.png
    A simple image of your template (via a screen shot). Not critical
  • css/template_css.css
    The CSS of the template. The folder location is optional, but you have to specify where it is. Note that the file name is only important in that its referenced in index.php. You could call it what you like.
  • images/
    Any images that go with the template. Again for organization reasons, most designers put this in an images folder. Our will start out empty.
To add the template (again, copious tutorials exist) you go to the admin portion of your site and install the template by uploading the zip file.
Note you can actually add the files individually (not in a zip) too. You have to put them in yoursite.com/templates.

The index.php: joomla doctype

So here we are getting to the first significant part of this project. What actually is in an index.php file? The part we are going to talk about is the "doctype". This bit of code that code goes at the very top of a web page. Here things start getting messy, and to be honest, I only have a vague grip on it myself! If you don't want to be bothered by all the technical details, just be aware that at the top of our page we have this in our template:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="">
Got it? OK, you can skip the next part then...

Browser Wars

The nitty gritty of doctypes starts getting messy. I especially like this observation from alistapart.com, [information on W3C's site about doctypes is] "written by geeks for geeks. And when I say geeks, I don�t mean ordinary web professionals like you and me. I mean geeks who make the rest of us look like Grandma on the first day She�s Got Mail.�". Anyway, there are several doctypes you can use. Basically, the doctype tells the browser how to interpret the page. Here the words "strict" and "transitional" start getting floated around (float:left and float:right usually). Essentially, ever since it started, different browsers have had different levels of support for CSS. This means for example, that Internet Explorer won't understand the "min-width" command to set a minimum page width. Shame really, because then you have to use "hacks" in CSS to duplicate the effect. Strict means the html (or xhtml) will be interpreted exactly as dictated by standards. A transitional doctype means that the page will be allowed a few agreed upon differences to the standards.
Now to complicate things, there is something called "quirks" mode. If the doctype is wrong, outdated, or not there, then the browser goes into quirks mode. This is an attempt to be backwards compatible, so Internet Explorer for example, will render the page pretending as if it was IE4. Scary eh?
Now, unfortunately, people sometimes end up in quirks mode accidentally. It usually happens two ways:
  • They use the doctype declaration straight from the WC3 web page, the link ends up as:
    DTD/xhtml1-strict.dtd
    Except this is a relative link on the WC3 server. You need the full path as I showed above.
  • Microsoft got involved again (I swear they do all their development after they've been down the pub) and set up IE6 so you could have valid pages, but be in quirks mode. This happens by having an "xml prolog" put before the doctype.
    <?xml version="1.0" encoding="iso-8859-1"?>
The part about IE6 quirks mode is important for us. We are only really designing for IE6+, so we will make sure that its running in standards mode. This will minimize the hacks we have to do later on. Its worth noting that the xml prolog isn't essential anyway. We'll be taking note of future releases of Joomla and be leaving it off.

Standards Compliant Joomla

So, here is the good bit, making a page standards compliant, where you see "valid xhtml" at the bottom of the page. Having your page be standards compliant does not mean really difficult coding, or hard to understand tags. It merely means that the code you use matches the doctype you said it would. That's it! Nothing else. Sometimes I get the feeling that people think of standards as some higher level of coding, but really its just saying what you do, and then doing what you say.
Some useful links:

What else is in index.php?

Let's look at the structure of the header first. A great outline is at http://help.joomla.org/content/view/44/60/. Unfortunately it does have a layout based on tables, but we will change that.
We want to be as minimal as possible, but still have enough for a production site. The header information we will use is:
<?php defined( '_VALID_MOS' ) or die( 'Direct Access to this location is not allowed.' ); ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="">
<head>
<meta http-equiv="Content-Type" content="text/html; " />
<?php mosShowHead(); ?>
<script type="text/javascript"> </script> <!--http://www.bluerobot.com/web/css/fouc.asp-->
<style type="text/css" media="screen">@import
"<?php echo $mosConfig_live_site; ?>/templates/<?php echo $cur_template; ?>
/css/template_css.css";</style>
</head>
OK, so what's all that?

<?php defined( '_VALID_MOS' ) or die( 'Direct Access to this location is not allowed.' ); ?>
Makes sure that the file isn't being accessed directly.

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="">
We talked about this above. The "" is just pulling the language from the site global configuration.

<meta http-equiv="Content-Type" content="text/html; " />
What character set we are using (don't ask).

<?php mosShowHead(); ?>
Header stuff that is set in the global configuration again. It includes the following tags (for example):
  • <title>Installing Joomla, doctype and the blank joomla template</title>
  • <meta name="description" content="Installing Joomla, doctype and the blank joomla template" />
  • <meta name="keywords" content="installing joomla, joomla doctype, blank joomla tempate" />
  • <meta name="Generator" content="Joomla! - Copyright (C) 2005 Open Source Matters. All rights reserved." />
  • <meta name="robots" content="index, follow" />
  • <link rel="shortcut icon" href="/images/favicon.ico" />
We'll come back to this later.

<script type="text/javascript"> </script>
To stop a bug, that being a flash of un styled content. Details courtesy of Blue Robot. Note this can be any script file and we'll be adding one in here later.

<style type="text/css" media="screen">@import
"<?php echo $mosConfig_live_site; ?>/templates/<?php echo $cur_template; ?>
/css/template_css.css";</style>
I am using import as a way to stop the site breaking with Netscape 4. Users of ancient browsers won't be able to get the CSS sheet so will see our neat un styled content. If you wanted to cater to these older browsers, we would have too many CSS hacks, so we do this. Somewhat of a brutal one, but hey, what are you doing with Netscape 4 anyway?

A blank joomla template body

This will be very very easy! Ready?
<body>
<?php echo $mosConfig_sitename; ?>
<?php mospathway() ?>
<?php mosLoadModules('top');?>
<?php mosLoadModules('left');?>
<?php mosMainBody(); ?>
<?php mosLoadModules('right');?>
<?php mosLoadModules('bottom');?>
<?php include_once('includes/footer.php'); ?>
</body>
</html>
Now that's what I call lean code! I have a reasonably logical order:
  1. name of the site
  2. the pathway
  3. top module (maybe navigation?)
  4. left modules
  5. main content
  6. right modules
  7. any bottom modules
  8. footer
This order is called semantic markup. Or at least by the time we add our titles and sub-titles it is. Basically, it means the term paper like you used to write at college, you know, the one with neat logical titles, headers and organization. From a web point of view, it means a page can be read by anyone, a browser, a spider or a screen reader. Semantic layout is the cornerstone of accessibility.
Now its worth noting that what we have here really is only the potential for semantic layout. If one were to go ahead and put random modules in random locations, then you would have a mess. An important consideration for CMS sites, a template is only as good as the population of the content. It is this that often trips desingers up when trying to make their valid joomla template.
Now at this point, the only CSS I have applied is set all text to Verdana and 76% size.

A preview from our next joomla tutorial
Tutorial 3: Free Web Design Tools
So we are about to begin design the site for real, but first we need a few tools. Now, everyone probably has their own favorites, but here is a list I have been working on of all the tools you will need to design a site. The good part? They are all free for the downloading.
Tagged under:

Free Tools for Joomla Design

Tutorial 3: Free Tools for Joomla Design

Reprinted with permission from Compass Design: Valid W3C joomla template designs for your website
So we are about to begin design the site for real, but first we need a few tools. Now, everyone probably has their own favorites, but here is a list I have been working on of all the tools you will need to design a site. The good part? They are all free for the downloading.
Important Note: Where a download link is shown I have give a direct link for the download to make the download as easy as possible. Where mirrors have been linked to I have chosen US ones. More experienced users should examine the link and truncate it to go to the actual site.

Free HTML/Web Design editors

Two choices here, Nvu is one I found recently and I have been playing around with it. It seems pretty good, has built in validation (important for us) and also a Mambo/Joomla extension which will be helpful. Nvu is 100% open source.  This means anyone is welcome to download Nvu at no charge, including the source code if you need to make special changes. You can get the extension from Mamboforge. The complete forge project is here.
Another choice is actually more of a validator. The "CSE HTML Validator" is an all-in-one HTML, XHTML, CSS, link, spelling, and accessibility checker. You can get the free version html validator here.
Out of these two, the CSE Validator is probably better, but Nvu has the cool extension. Ahh, what to do!
Note that neither of these are "WYSIWYG" html editors. In an editor such as Dreaweaver you can create a web page without even seeing the html code. However, this is perhaps not the best way to make a Joomla/Mambo page. Its important to be able to see the html and css styles and the page in the index.php (as you saw in the last article) is not really very long or complex.

Standards Compliant Browsers

Now we need a decent browser. Now if you are still using Internet Explorer, goes outside and slap yourself around.
Finished? Good, you deserved it. Quite apart from the fact that IE is the most buggy, security-hole ridden browser to ever be installed (or was that Netscape?), using it has one big problem when designing to standards. We talked a little in the last article about how support for CSS is not consistent across browsers. IE has some of the worst support. To make a page look the same you have to use CSS "hacks". These are snippets of CSS that can only be seen by certain browsers. Its very very important when trying to design to web standards to use a browser that is standards compliant, then you make allowances for browsers that aren't. Doing it the other way around makes it difficult to say the least. "Design for the best and then for the rest" goes the saying.
OK, so my choice is Firefox, and while you are at it, download the developer toolbar, it will be essential for our design work. Note that its easiest to get the toolbar after installing firefox by actually using Firefox to browse the link, then the installation is somewhat automated.
Right, so next time I look at my web stats, I don't want to see any IE, right?

Free Graphics Editor

In keeping with our cheapskate theme, there is actually a decent graphics editor out there and its free. Its called GIMP and your can download it here. You also need another piece of code which you can get here. More information is at http://gimp-win.sourceforge.net/stable.html.
Note that if you go to the actual gimp.org web site, you can't really download much of use there. Its all the source code (its open source like Joomla). You need to go to another site like the one above to find something you can actually install.
So make sure you have all those downloaded/set up and then we are ready for the Basic Joomla CSS Template

A preview from our next joomla tutorial
Tutorial 4: A Blank Template CSS file for Joomla
In an earlier section, we discussed a slightly different design process. Instead of creating the design and then doing the CSS layout, we will be doing it the other way round, the Joomla CSS first. We are doing this because we want to make an blank CSS template file that can be reused by anyone.
Tagged under:

The Blank Template CSS for Joomla

Tutorial 4: The Blank Template CSS for Joomla

Reprinted with permission from Compass Design: Valid W3C joomla template designs for your website
In an earlier section, we discussed a slightly different design process. Instead of creating the design and then doing the CSS layout, we will be doing it the other way round, the Joomla CSS first. We are doing this because we want to make an blank CSS template file that can be reused by anyone.
Let's startout with a basic blank template, no layout, just all the font typography styling. This is a blank template to help speed production of a site. Its not a production template CSS file , all styles shouldn't be filled in, ones that don't get used should be deleted before using. This blank CSS file has several features:

CSS Shorthand

There are 'shorthand' styles at the beginning of each style definition. Once you have figured out the styles, fill the shorthand versions in and delete the long versions. The syntax is:
font: font-size |font-style | font-variant | font-weight |
line-height | font-family
Here is an example, rather than this...
font-size:100%;
font-family:Arial,Helvetica,sans-serif;
font-style:italic;
font-weight:bold;
line-height:130%em;
Have this:
font: 100%/130% Arial,Helvetica,sans-serif italic bold;
Read more at An Introduction to CSS shorthand properties about this syntax.

Global CSS Reset

At the beginning of this joomla CSS file is a few styles that set all styles to certain characteristics. You then have to over-ride these later on. The first key global style is:
* {
margin: 0;
padding: 0;
}
body {........
font-size: 76.1%;........
Everything is given a zero margin and padding and then font size is set to 76.1%. The reason font is set here to 76.1% is to try and get more consistant font sizes across browsers. All font sizes are then set in em's further down. A link that discusses this idea:
An experiment in typography at The Noodle Incident (Owen Briggs)

Header Tags and Joomla CSS Titles

Sometimes I will have Joomla titles turned off and use h1/h2 tags in content. Usually I am doing this to get a SEO bonus*. To get some consistancy across titles depending whether I have the off or not, I'll define the Joomla CSS alongside the hX tags. For example:
h1,.componentheading {...
This is personal preference, you could certainly separate them out.
*I have realised I could get a further SEO bonus by keeping the Joomla titles to show in parameters and then hiding them through a CSS style, and making the titles linkable. Any of these would work:
display: none;
height:0;
text-indent: -3000px;
Note that there is some discussion regarding hiding text with CSS. Please read this if you are considering it!

Joomla Rounded Corners

Towards the end of this blank template CSS file is the code to have rounded corners. Its the same technique used at joomla.org and requires the module suffix contained in index.php file to be "-3".
OK, ready? So here is the blank CSS template. Note it doesn't include any layout, we'll be looking at this next time.
The blank template CSS file for joomla is free for you to take and use. If you do, maybe drop me an email to show your project.
Now, how to use this blank CSS file? Well, after you have done all your joomla CSS styling, your file will have all that extra empty CSS. Just use this tool to get rid of it. Be careful and do a test to make sure you know what it does first!!
CSS Formatter and Optimiser

A preview from our next joomla tutorial
Tutorial 5: Making a 3 column Joomla Theme for your joomla website
In this joomla tutorial, we will look at a 3 column theme for your joomla website. Most joomla websites use 3 columns and having the theme start with that is a good foundation. Then later we can hide side columns if there is no content in them for that page.
Tagged under:

Tutorial 5: Making a 3 column joomla theme for your website

Reprinted with permission from Compass Design: Valid W3C joomla template designs for your website
In this joomla tutorial, we will look at a 3 column theme for your joomla website. Most joomla websites use 3 columns and having the theme start with that is a good foundation. Then later we can hide side columns if there is no content in them for that page.
Let's face it, making a joomla theme with tables is easy. That's why we all did it (may we hang our heads in shame). Achieving the same using CSS is much harder. The learning curve is steep and there are lots of issues with how browsers interpret the CSS. We mentioned this some in our joomla tutorial: Joomla, doctype and the blank joomla template.
I am going to move quickly on to the actual layout possibilities, but I recommend reading at least one "beginners guide to CSS" if new to it. Here are a few suggestions:
Kevin Hale's - An Overview of Current CSS Layout Techniques
htmldog's CSS Beginner's Guide
Mulder's Stylesheets Tutorial
yourhtmlsource.com
Ok, so now we have done some bedtime reading, or knew some of CSS to start, its time to look at our layout choices. Here is a decent list of all the CSS template /CSS themes I have come across:
Although its worth taking a while to look some of these over. This list is more of a resource you can bookmark and come back to later. You could use any of them to make a joomla website.

A Three Column Joomla Theme through CSS

After reading through any of these CSS guides above, or know a little youself, you will know that there are a number of ways to layout a page. Now, for those with a little CSS background already, you might want to wander over to csscreator.com; http://www.csscreator.com/version2/pagelayout.php. Its a great tool where you can make an assortment of layouts and it will generate the CSS for you, don't leave home without it!
However, for the purposes of this joomla tutorial, we are going to be using a different layout technique (csscreator uses floats), that being absolute positioning. I think that using this CSS is perhaps the easiest model to understand for beginners. Quite simply you specifiy exactly where the "box" of content will be on the page. So for example:
#leftcontent {
position:absolute;
top:20px;
left:50px;
width:200px;
}
will make a box that is 200px wide, and starts 20px from the top and 50px from the left. Now, 50 pixels from what I hear you ask. Well, there is a trick here, normally it will be 50 pixels from the top of the viewport (browser window). However, if the parent selector (the box the leftcontent box is in) is also positioned, then the leftcontent style will be relative to THAT. OK, you can go grab another beer/chai/sherbet, that made no sense to me either! Let's add another style and draw a couple of pictures...
This will be the parent box:
#wrapper {
position:relative;
width:560px;
margin: 50px auto;
}
If curious, we have changed the type of positioning from absolute to relative (there is also fixed). We are getting into what is called "document" flow and how elements effect other elements. Read any of the layouts above and you will find discussions on this. OK, let's use this html as out first example:
<div id="wrapper">
Text in wrapper, blah, ipsum stuff
</div>

<div id="leftcontent">
Leftcontent text, blah and domini and what is the url to generate that random latin?
</div>
Based on our two CSS rules above, this would look like:
joomla design
OK, not much use. Now let's put the leftcolumn div inside the wrapper (hey, why do you think we called it "wrapper"?)
<div id="wrapper">
wrapper text, blah, blah and ipsum stuff
<div id="leftcontent">
Text in leftcontent, blah, blah and ipsum domini and what is the url to generate that random latin
</div>
</div> <!-- End of the wrapper div-->
Now it should look like this:
joomla design
Much better. Now the text is all ontop of itself, but we don't need to worry about that at the moment. We can now look at the CSS we will use for our page. Note this gets put in a seperate CSS file called layout.css, which is then imported into template_css.css. I tend to seperate layout from typography in design, then put together for production. One reason is to try and reduce browser errors. Many of these errors are when you try and combine positioning with padding and/or size. Try to avoid applying padding/borders and a fixed width to an element. By putting all my positioning in this sheet and all my padding and borders in another, it forces me to do this (I combine the sheets later). Steps like this make validating your joomla website much easier.
So, with that bit of explanation, here is our 3 column joomla theme:
/* Basic 3 column joomla theme*/
body {
margin:10px 10px 0px 10px;
padding:0px;
}
#leftcontent {
position: absolute;
left:10px;
top:100px;
width:200px;
background-color:#fff;
border:1px solid #000;
}
#centercontent {
background-color:#fff;
margin-left: 211px; /*1 more than 210 because we have to count the border*/
margin-right:211px;
margin-top:7px; /* Margin here to line up center content with side columns */
border:1px solid #000;
}
#rightcontent {
position: absolute;
right:10px;
top:100px;
width:200px;
background-color:#fff;
border:1px solid #000;
}
An adpatation of a layout used a few places round the web, you can read more about it at http://glish.com/css/7.asp. Note we have dropped a large amount of the CSS to make it simpler and because we are not going to be supporting IE5.X with this site.
Its not *quite* simple absolute positioning (you didn't think it would be that easy did you?). The leftcontent and rightcontent is positioned as we just saw. But the center content seems to have no positioning at all. What gives? Well, absolutely positioned elements are taken "out of the document flow". This means other content will just get placed as though these absolute elements were not there. We saw this in our example above when our text overlapped. We are doing the same thing here, but have been crafty by using left and right margins for the centercontent the same width as the left and right columns. This means that the center column content will squeeze in between the two side columns even though it doesn't know they are there.
Right, so its live site design time (drum roll). Remember, our index.php file currently looks like this:
<body>
<?php echo $mosConfig_sitename; ?>
<?php mospathway() ?>
<?php mosLoadModules('top');?>
<?php mosLoadModules('left');?>
<?php mosMainBody(); ?>
<?php mosLoadModules('right');?>
<?php mosLoadModules('bottom');?>
<?php include_once('includes/footer.php'); ?>
</body>
</html>
Now we will put in some positioning with our new CSS:
<body>
<?php echo $mosConfig_sitename; ?>
<?php mospathway() ?>
<?php mosLoadModules('top');?>

<div id="leftcontent">
<?php mosLoadModules('left');?>
</div>

<div id="centercontent">
<?php mosMainBody(); ?>
</div>

<div id="rightcontent">
<?php mosLoadModules('right');?>
</div>

<?php mosLoadModules('bottom');?>
<?php include_once('includes/footer.php'); ?>
</body>
OK, so now we have a 3 column joomla theme, not bad. Let's take a quick look; livesite.compassdesigns.net . Well, our columns are there, and the right places.Resizing your browser you will see that the size of the middle column adjusts. Commonly called a fluid CSS layout. Taking a quick look in Internet Explorer 6 we see some weirdness going on with the bottom of the left column, but hey, weird and IE often occur together in a sentence!
Does it validate?
Yes, we still have a W3C Standards Compliant CSS Joomla Website . OK, I grant you it doesn't look that amazing right now, but hey, that's what next week's installment is for!

A preview from our next joomla tutorial
Tutorial 6: Enhancing a Template for Joomla SEO
So we have a very basic shell of a web site. Doesn't look very interesting does it. Well, we can soon change that, let's make a few changes. We will also optimize the template for SEO. Joomla has some challenges compared to a static website, but techniques such as those we describe here can improve your joomla SEO efforts.
Tagged under:

Enhancing a Template for Joomla SEO

Tutorial 6: Enhancing a Template for Joomla SEO

Reprinted with permission from Compass Design: Valid W3C joomla template designs for your website
So we have a very basic shell of a web site. Doesn't look very interesting does it. Well, we can soon change that, let's make a few changes. We will also optimize the template for SEO. Joomla has some challenges compared to a static website, but techniques such as those we describe here can improve your joomla SEO efforts.

Some basic changes to the Joomla CSS

Let's first make the text a little more readable, two quick changes to the joomla CSS.
body {
font-family: verdana, arial, helvetica, sans-serif;
font-size: 76%; /* don't go smaller than this */
}
Note we dropped the style being applied to "html,body" as we didn't want the percentage font size being applied twice!
This makes the font a more reasonable size. Remember, we talked about how we were sizing our fonts in one of our previous articles, A Blank Template CSS file for Joomla. I have also chosen a sans-serif font: verdana. Web pages have the opposite readbility of paper pages. On paper, serif (like Times New Roman) are more readable, on the web its the opposite.
Next, let's center the page.
body {
text-align:center; /* for IE */
}
#wrapper {
position:relative;
width:85%;
margin:0 auto;
}
OK, so here we have centered the page and made it a little wider. This is a fluid joomla CSS layout, the main part of the page will always be 85% of the browser window. It re-seizes depending on the screen resolution.
Now, we have to do a little changing of the column sizes. This is important, if columns overlap, it can break a layout in a browser.
#leftcontent {
width:175px;
}
#centercontent {
margin-left: 190px; /*tweaked a little to get a slight gap*/
margin-right:165px; /*tweaked a little to get a slight gap*/
}
#rightcontent {
width:150px;
}
I have reduced the width of both side columns and increased the margins. Note I have made a small gap between them and the center column.
Let's make a splash of color, C00 is a shade of red and fff is white:
body { .....
background-color: #C00;
......}
#wrapper {
background-color:#fff;
}

Joomla SEO

OK, so here is the really good bit. It's to do with joomla search engine optimization or joomla SEO. The closer something is to the beginning in the xhtml code of your page, the more weight it carries for yoursearch engine ranking . Unfortunately, a joomla website outputs alot of xhtml. This means that your important content (the middle column) gets pushed down. But, CSS to the rescue, remember that we absolutely positioned our side columns. This means that they can appear anywhere in the source, as long as they are in their container, the "wrapper". So let's put them after the main content! Heck, if you wanted and had alot of non-vital content in it, you could even make a header container and put that after the main content too.
<body>
<div id="wrapper">
<div id="centercontent">
<div class="insidecenter">
<?php mosMainBody(); ?>
</div></div>
<div id="header">
<?php mospathway() ?>
<?php mosLoadModules('top');?>
</div>
<div id="leftcontent">
<?php mosLoadModules('left');?>
</div>
<div id="rightcontent">



<p><a href="http://validator.w3.org/check?uri=http%3A%2F%2Flivesite.compassdesigns.net%2F" target="_blank" title="W3C Joomla Design">Valid xhtml?</a></p>
</body>
</html>
We had to add this rule (you can see it in the xhtml above) to push the center column down.
.insidecenter {
padding: 100px 0 0 0;
}
Last but not least we move the footer below the end of the wrapper div, putting it into the colored page background.
Now we add some titles for the site.
<div id="header">
<h1><span><?php echo $mosConfig_sitename; ?></span></h1>
<h2><span><?php echo $mosConfig_live_site; ?></span></h2>
<?php mospathway() ?>
<?php mosLoadModules('top');?>
</div>
Notice how the name of the site and its url are in header tags. This does two things, first it is good practive for semantic layout, so increases the accessibility of the site, second, it helps your joomla SEO as anything in a header tag is given slightly more weight as a keyword.
So, there you have it, a source ordered joomla template, this week with a little kick for your joomla SEO needs.
A Joomla SEO template
Is it still a W3C valid joomla template?? Well, what do you think?

How do you set up SEO optimized Websites? Do you want to learn SEO? Would be interested in SEO lessons?  SEO Courses? SEO video tutorials? SEO Training? Conversion optimization lessons? Conversion optimization courses. Conversion optimization video tutorials. Conversion optimization training.
  A preview from our next joomla tutorial
Tutorial 7: Using CSS to add imagery to your joomla website (unpublished)

Tagged under:

An Incomplete Guide to SEO

An Incomplete Guide to SEO

How to earn $1,000�s a day with Search Engine Optimization and Joomla.

GoogleSecretsRevealed.PNG

"How you can profit from the EXACT SAME search engine optimization strategies that I used to charge clients $3,590 a day to implement!"

In this web-based, no-hype guide, I'll reveal my simple step-by-step search engine optimization strategy that I have been using for 2 years on over 350 clients and that anyone can use to get a front page ranking on Google:

Do you want:
More web site traffic? More orders? A better cash-flow? A healthier Internet business? A front-page ranking on Google and all major search engines? More money than you thought humanly possible? ... if so, keep reading. Get ready to become a search engine optimization "insider". What I'm about to teach you are the actual secrets that I have used to get unlimited daily traffic for over 350 of my clients from Google. For the sake of your business, you can't afford not to read my search engine optimization guide!
Tagged under:

How to Install Joomla 1.5

This tutorial quickly leads you through installing Joomla 1.5. It details both a local installation for testing (if you do not have a hosting account or have a slow internet connection) and a real web server installation.
Joomla is a complex series of PHP scripts that run on a web server. When you browse a Joomla site, these scripting are being generated on the fly and creating what you see on the pages of the site. The key words here are web server.

Running and Testing Joomla Without a Hosting Account

You cannot download Joomla and try to run it on your computer like an exe file. It has to have a web server, which means you need to have a hosting account. Sounds obvious, but I have had a couple of people if they needed windows XP to run Joomla!
Now, before we shell out our hard earned money for a hosting account, there is something else you can do first. You can actually run a web server on your local computer, in other words, your desktop or laptop. This is known as having a localhost. It may sound like I just contradicted myself from the previous paragraph, but not quite. You canít "run" Joomla itself on your own computer, but you can install a localhost web server for it to "run on".
What you need to pull this off is some software that runs Apache, PHP and MySQL on your computer. These are the same software packages that power websites. There are two popular ones, WAMP (www.wampserver.com/en/index.php) and XAMPP (www.apachefriends.org/en/xampp.html) and they are both free (PGL license)
I am going to quickly run through setting up WAMP, not that this package is windows specific.
Download WAMP from the above link, and then install it. It will create a folder c:/wamp/www
Run WAMP, you should get a handy icon in your system tray:
Wamp Dials
You need the dial to be white to continue. Note if you run Skype, it interferes with WAMP and so you have to start WAMP without Skype running (and then start Skype if you need it)
Now open a browser and go to localhost (no "www")
You should see the following page:
Wamp Localhost
If you are not seeing this then you should stop and figure out why. You have to get this page before you can proceed. The WAMP site has some helpful troubleshooting FAQ's and a forum.
You should see your folder called "Joomla" in the list of Your Projects. Click on that folder and you will get taken to that "website".

Installing a Joomla Site on a Hosting Account

So let's assume you either have a hosting account, or are going to get yourself one. There are some minimum requirements for Joomla to run, and they are slightly different for the different versions.
Here are the minimum requirements for Joomla 1.0
You must ensure that you have MySQL, XML and Zlib support built into your PHP.
help.joomla.org/content/view/34/132/
For Joomla 1.5 itís recommended you have PHP 4.4.3 or above (for enhanced security).
A thread on the Joomla forums lists various hosting companies who are active Joomla community members. The list can be found at forum.joomla.org/index.php/topic,6856.0.html
Note that from now on, the steps are more or less the the same whether you are installing Joomla on a localhost or on a remote web server.

Getting the Joomla Files

This part is easy. Head on over to www.joomla.org and you will see a link to the download section on the home page, it looks like this:

The version number is the number given. This image shows that it's the 11th release in the 1.0 series.
Or you can head straight to the Forge and you will see all possible downloads:
forge.joomla.org/sf/frs/do/viewSummary/projects.joomla/frs
All versions are here as well as various upgrades from one release to another, important if you already have an installation of Joomla.

Important Note:

You cannot upgrade from Joomla 1.0 to Joomla 1.5. There are significant enough changes in the code that simply over writing files would break your site. The developer team has carefully chosen to talk about migration.
"Joomla 1.5 does not provide an upgrade path from earlier versions. Converting an older site to a Joomla 1.5 site requires creation of a new empty site using Joomla 1.5 and then populating the new site with the content from the old site. This migration of content is not a one-to-one process and involves conversions and modifications to the content dump."
dev.joomla.org/component/option,com_jd-wp/Itemid,33/p,107/
This has been a deliberate choice to minimize the number of users who might attempt the "overwrite the files" technique. More can be found in the forum:
"Joomla 1.5 is so significantly changed from 1.0 that there is no 'upgrade' path. This is the reason that we are providing a migration path. The concept is to build a new site and to migrate data from the old site. Extensions need to be installed and configured as if the site is new. The core data migration does reconstruct menu items for core elements and also keeps core module records with configuration settings."
David Gal - forum.joomla.org/index.php/topic,63232.0.html

Unzipping the files

You need to unzip, or unpack the big Joomla files you have onto your server. If you are running as a localhost, your server would be the WAMP directory mentioned above. If you are on a web host, you will need to upload the file and then unpack it. Perhaps the easiest way to do this is with cpanel. Almost all hosting companies provide it. Use your file manager to upload the zip file to public_html (or whatever you have on your host). You can then use file manager to extract the files.
Note:
I donít recommend using Fantasico. Many hosts provide it but donít always have the most current file releases.

Installing Joomla through a Web Browser

If you have got this far that means you have unzipped the Joomla package to either a remote web host or your local computer. Now for the fun stuff!
Using your browser of choice (Firefox of course), navigate to the location of all the localhost/Joomla. You will see the first installation screen.

Choose Language:

Select Language
Here is the first look at some of the internationalization features of Joomla 1.5, you can select amongst many languages for the installation instructions.

Pre-Installation Check

Pre Installation Check
A critical part in the installation process, this checks if all the minimum system requirements are met.
The first set are required minimums, if they are red (not met) then you need to find a new environment (change hosts), talk them into changing their environment (upgrading PHP for example). Note that the last item is a permissions issue on a file that is much easier to rectify. You can usually change permissions through the cpanel provided by your host. This tool is generally an industry standard.
The second set is recommended settings. If you don't meet them you can still install Joomla but it you experience problems with functionality and security.
Once you are green to go, click next.

License


Joomla is released under a GNU/GPL license. One of the most common questions regarding this license is ìcan I remove the footer link that says Powered by Joomlaî. Itís actually perfectly OK to do this, you just have to keep the copyright statement in the source code. However, I would recommend that you keep the link.
Why?
Joomla is an open source project, it receives no funding from any kind of revenue from selling its software. The bottom line is that thousands of developers around the world are developing this software that you are using right now. If you had to buy it from a commercial company, it would cost tens of thousands of dollars, but you are getting it for free. In return, keep the link, it will help the project gain in popularity and grow. Donít hide the fact that you are using Joomla, be proud of it! And donít be concerned about any kind of SEO dilution with an extra link off your page. Links to authoritative sites actually help you SEO!
OK, Iíll get off my soapbox nowÖ

Database Configuration


This is one of the main pages of the installation process, itís where you need to enter important information about the database that your Joomla site will use. Note you will see a drop down for the database type. Joomla 1.5 only really runs on SQL, but some of the foundation has been laid for the next release, 2.0, to use more types, for example Oracle.
The hostname will almost always be ìlocalhostî
The Username and password will have been provided by your hosting company, usually in an email you got when you created the account.
If you are installing on a localhost using WAMP or XAMPP, the Username is usually ìrootî and the password is nothing/blank.
Once you have entered this information, click Get Privileges and the Joomla installer checks to see if that user has rights to create a database. You should see this message:

If you made an error, or the user does not have sufficient permissions, then you get this message (after a small delay):

If the user you have does not have permissions then you can ask your hoster to pre-create a SQL database for you to use.
Available collations refer to various character sets available for different languages. When you click the button you get a list of what is available:

Pick a Database name for the SQL database that Joomla will use. Use some sort of name that is not confusing. Other scripts use SQL databases and before you know it you might have several on your server and will need to tell them apart. Donít use spaces in the name.
If you are running several Joomla sites but only have access to one database, you will need to use a table prefix to distinguish them. Youíll need to enter the prefix in the advanced settings (below)
Note if your user did not have database creation privileges and you were provided with a database instead you would obviously put that in as the name.
The advanced settings are concerned with what content the site starts with and also the table prefixes mentioned above.

If you have an existing site and you are reinstalling over the top, you will need to select Drop Existing Tables. If you need to keep a back of them, select Backup Old Tables. Using ìjosî as a table prefix is conventional unless you have multiple sites in the same database.

Main Configuration


The Main Configuration page determines how you will insert content into your site. You have three choices:
  • Install Sample Data
    This installs the default Joomla content that you have probably seen all over the web with ìWelcome to Joomlaî. Note that is also includes all the menus, navigation links and sections/categories. If you are learning how to use Joomla this is highly recommended. Its easier to adapt and revise than to start from scratch.
  • Load SQL script
    This is a SQL file that might have a customized set of content
  • Migration from previous versions
    This is a special function that is part of a process to migrate a Joomla site running on 1.0 to 1.5 and requires a special component to do so. This is discussed more in the Appendix.
Give your site a name (pay attention to SEO keywords) and then enter the super administration information. This will be the first user in the site and automatically gets that status. Note that if you donít change the password, it will use the one shown on the left. Make sure you write it down!
Cross your eyes, close your fingers and click next. Hopefully you will see this screen

If you do get this result, you can investigate different language options, view the site or jump right to the administration of your site.
If you donít get this page, then you have some work to do. Often issues arise because of server environments. If the solution is not obvious, a useful step is to copy the error message or the main part of it and then search for it both on the Joomla help forums, forum.joomla.org and in Google. The chances are if you get an error, someone else has before you.

Need some help with Joomla 1.5?

Head over to the forum.joomla.org/index.php/board,304.0.html
Tagged under:

Creating a Blog Site With Joomla

Right now, there is no robust and feature rich blog extension for Joomla that will fufill the core features that is needed in a blog, and does it as a native (not a port) extension. Until something has been developed to fill this need, wannabe bloggers are probably much better off building a blog out of its consituant parts. Its a little more work, but the solution is more robust and easier to manage.
There are many places on the web where you can create a blog, some are free and some are paid services. To name a few:
The 800 lb gorilla in the room here is Blogger. Part of the Google world, it by far hosts the most blogs. This is probably because it is very very easy to set up and free. A quick look at some Alexa rankings (rough estimate of traffic) show this picture.

So why would we want to use a content management system to blog with? Isn't there already much easy solutions?
Well, first off, this is a book about Joomla, not Blogger, so I want to try and show how you can use Joomla to blog, sell products, build community sites, make your coffee, etc etc. But there is a real reason too.
Blogs are closed systems.
What I mean by that is the software that powered alot of these blogs is basic. That's perhaps part of Blogger's huge popularity. But if a moment should come that you want to extend the features of your blog, you are stuck. Maybe you want to add a forum, or a shopping cart for your ebook, or a subscription part of your blog. Try to add any major functionality to it and you are stuck.
A big theme of this book is being very excited about how amazingly extendable Joomla is. With that in mind, if we can have Joomla mimic the basic functions of a blog, then that can be a basic foundation for all you bloggers out there to build a super sticky blog site.

Basic parts of blog

Let's pause from our headlong rush into joining the blogosphere and consider what essential features you need for a successful blog.
  • Flexible Layout
    Been to one Blogger blog and you have been to them all. Being able to make yours look different to the other 27 million blogs out there is a good thing.
  • Browser-based Editing
    You have to get your content on the web fast and easy.
  • Automated Publishing
    FTWho? You don't want to have to mess with complicated file transfer, you want to click a button and have your posts appear. Text formatting and spell checking is a bonus too.
  • Categories
    Part of having a usable site, being able to split your posts into categories will make them easier to find.
  • Automatic Archiving
    I am unsure as to the usefullness of this. User will be far more likely to browse through categories than archives, unless they really like your writing. But heck, it seems a standard feature of blog software, so we'll throw it in too.
  • Search Engine Optimized Titles
    If you have written a post, you don't want your URL to be www.myblog.com/9823749.html?myleftleg. You want to be able to squeeze every ounce of SEO out of your post. So having a URL that includes keywords about the post is useful in this regard.
  • Comment Systems
    An absolute critical feature. The comment system is one of the #1 ways that your site becomes sticky (how likely a visitor will return). Free for all commenting is something bloggers have embraced and has led to their explosion in popularity. Many corperate sites that have blogs are afriad to tread this path. So Web 1.0...
  • Trackback or Pingback
    Two things are going on here. Pinging is a mechanism whereby other blog search engines are alerted automatically to a new post being made by you. An example is Technocrati.
    A Trackback is more complex. The bottom line is you read a post, and you comment about it on your blog. You place the URL to her post in yours and her blog picks up your post and leaves it as a comment in her post. Confused? Its a tool to get more traffic, that's good, and we want it.
  • Syndication Feeds
    RSS and ATOM are XML applications that can push your posts onto other RSS readers. Email clients such as Thunderbird come with RSS readers, as do personal sites like Yahoo. Perhaps a more important point is that a web site can read RSS, you you can have your posts appear automatically on someone elses website, where (hopefully) it will get even more readership. Its kind of like automatic and dynamic real time article syndication.
  • Email Notification
    If you make a post, wouldn't it be good if you had an email list that got notified that you did? If you are a web business, you will soon start building a list of emails. This is a whole other subject beyond bloggin however involving CAN's of SPAM.
  • Search
    As a prolific blog poster you will seen have your archive bursting. You will need a robust search tool that can help site visitors find your posts. Steve Krug maintains that some visitors will automatically look for a search as the first thing they do, people are either searchers or browsers.

How can Joomla meet these Blogging Requirements?

There are two ways to implement a blog on a Joomla site. Firstly, there are several blog components available that run as self contained blog tools inside build the blog from its seperate parts. Each has its advantages and disadvantages and we will look at both.

Blog Components

Joomblog

Joomblog (www.joomlafreeware .com) is Joomla version of blog, including blog, blog comment, blogside, blogroll, blog-archive, blog section/category, blogmail (email/MMS), blog header and personal guestbook.
Joomblog is a very simple component and an interesting candiate for blogging. Describing it as a blog might be somewhat of a stretch. Its actually an integration of two functions. The first is that it allows registered users to have a blog page all to themselves. The core Joomla functions of handling content are used to do this.The second is a comment function that allows you to have comments enabled for specfic sections. It also has a module that links to all content submitted (aka blog posts) by a particular author. So to summarize, Joomblog allows you to have mutiple bloggers on a single site. Its not so much of a blog component perhaps, but more of a packaged authentication/permissions tool focussed on blogging.

Blogg-X

Blogg-X is a cross platform (OS X, Windows XP, Linux) content management tool for websites based on the Joomla! CMS. Blogg-X runs locally on your computer as a desktop application.
Blogg-X is another interesting tool. Again, its stretching what we are considering to be a blog component, in fact, its not a component at all. Blogg-X is software that you actually install on your local computer. It allows you to create, edit and post content to your site. Basically, its an editor that talks directly to the content. It even allows you to create content offline and then upload it when you are back connected. Not really a "blog component" though.
A related tool is JExplorer (www.joomlatools.org). Its basic functionality is the same but is alot more powerful. Its more of a future platform for any kind of remote publishing to a Joomla site.

JD-Wordpress

Joomla! does content management very well and Wordpress does blogging very well.
JD-Wordpress is more of a complete blog offering. That not really surprising though, its basically Wordpress squished inside Joomla. It does all the things you might expect of a blog. The administration is difficult however. The admin interface for the Wordpress part of the site is very different to the rest of the Joomla site. This means that its something new to learn. Another challenge is "skinning" the blog to look like you want it to.

Summary

There does not seem to be much to help us here. When we look back to our list of essential features, there is not really a blog extension that bundles them all into one for you. JP-Wordpress is the closest, but it is challenged by being something else that being squeezed into Joomla.
Let's look at another alternative then, building a blog out of the seperate peices, and things that Joomla can do itself our of the box.

Building a Blog from Joomla "Out of the Box"

So let's go back to the drawing board and look at what extensions you might need to pick up to duplicate the whole effect of a blog.
  • Flexible Layout
    Joomla is probably the easiest CMS to "skin" or "template" which means you can have your blog looking like anything you want.
    Conclusion: Out the box.
  • Browser-based Editing
    One of the whole points of Joomla is to be able to maintain your site and edit your content in a browser.
  • Automated Publishing
    Publishing is one-click with Joomla. You can even have items be published at a future date. Say you need to go out of town, and you write some blog posts to get published while you are out of town.
    Conclusion: Out the box.
  • Categories
    This just requires a bit of planning. When you are setting up your site, make a section called "blog" or similar to hold all the categories. Then make categories as you need them. Last step is to make a menu that has a link to each category. A module is automatically created at the same time, which you can place as needed.
    Conclusion: Out the box.
  • Automatic Archiving
    I have yet to find an easy way to do this. The archive function in Joomla allows you to index content by date, but it changes the URL. That is very bad for a blog as you need persistant URL's for all those people linking to you.
    Conclusion: Still looking
  • Search Engine Optimized Titles
    For OpenSEF. It's new Ajax admin interface is great and it seems to produce robust URL's. The clincher is the ease in which you can create redirects. If you have a lot of URL's that need to change, links from other sites. All I have to do is monitor my logs and when I see traffic coming in from old URL's its a 3 second (literally) job to set up a redirect to the new URL. No messing with htaccess here.
    The second part of the process was internal links. These are useful for SEO, but who wants to be found on a Google search for "read more". There is a mambot from Run Digital that changes that though, and makes the link much better. It also does it automatically.
    Conclusion: Install Open-SEF
  • Comment Systems
    Luckily, at the time of revising how I was building my blog, a new comment component was released. I am using it on my site now and its great. The front end looks good, has a robust captcha and is easy to template. Its also got some nice extra features like hiding the comment form with Ajax. Its $12.50 for the basic version, but well worth the price.
    Conclusion: Buy JomComment
  • Trackback or Pingback
    Here is our first major issue. Currently there is no method of acheiving trackbacks on a Joomla blog built from its seperate peices. If this is an absolutely critical, must-have feature for you then you might need to be using the JD-Wordpress extension. If its more a question of "it would be nice if I had it", then its probably worth going with the seperate pieces solution and wait for this to be developed. In 1.5, this function will be much easier to add and there are at least two developers working on a solution at this time.
    Conclusion: Wait for a release
  • Syndication Feeds
    Joomla has built in RSS syndiation, there is actually nothing to do here. Well, that's not quite the whole story. The RSS as it runs in Joomla is only of the Front Page (or home page). This means that if your blog is on an interior page, or you want to have multiple feeds, you need to find some help. Fortunately, there is a great extension from Run Digital that will do both of these, and its free.
    Conclusion: Out the box, or get Run Digital RSS feed manager
  • Email Notification
    Right now there is no way to have email notification to an emaillist when you make a blog post. There is a way round this. Several 3rd party (non-Feedblitz. You can have people subscribe to an email list and they actually get the introductory text from your blog posts emailed automatically to them. There is nothing you, as the blog author, need to do.
    Conclusion: Seek a 3rd party application.
  • Search
    Joomla has a powerful search function built in.
    Conclusion: Out the box

The Best Way to Set up a Blog with Joomla?

Right now, there is no robust and feature rich blog extension for Joomla that will fufill the core features that is needed in a blog, and does it as a native (not a port) extension. Until something has been developed to fill this need, wannabe bloggers are probably much better off building a blog out of its consituant parts. Its a little more work, but the solution is more robust and easier to manage.
Tagged under:

Usability, Accessibility, Web Standards and SEO

Summary
Usability, accessibility and search engine optimization are all phrases used to describe high quality web pages in today's world wide web. In reality, there is a significant amount of overlap between them and a web page that demonstrates the characteristics of one does so for all three. The easiest way to achieve these three goals is to do so using the framework laid out in the W3C web standards.

What makes a good website?

Your website should have a goal. A measure how how "good" the website is how successful it is in meeting that goal. The goal for an e-commerce site will be very different to a fan portal, but nonetheless, "good" websites share some common characteristics. In order to meet your goal:
  • Viewers have to find your site
  • Viewers have to be able to view it easily
  • Viewers have to be able to find what they want
  • Viewers must think your website is credible
There is significant overlap between these characterstics. The things that make a site easy to find are the same ones that make it viewable, navigable and credible. Let's take these characterstics one at a time and see what they mean.

Viewers have to find your site

Most people on the web find a website through a search engine. According to Nielsen//NetRatings over 5 billion searches were carried out in October 2005, almost half of these were using Google. Unfortunately "build it and they will come" is not true on the web. A website with no traffic stands little chance of aceiving its goals. Potentially the most effective way to get traffic is through Search Engine Optimization (SEO). SEO is the strategies involved in increasing a website's search engine ranking (SERP), where it appears in a search engine's results page.

Viewers have to be able to view your site easily

Many things can get in the way of someone trying to view your site for various reasons. Vewiers with vision impariments, whether blind, color blind, old or simply viewing the site on a PDA/mobile phone need well laid out web sites both in terms of organization (semanitc layout) and graphical (white space/typography). Viewers on dial-up or older computers might need sites that use little graphics or Flash. Many users for various reasons will browse your site with JavaScript turned off. All of these groups need a website that is accessible to them, and these viewers, according to some studies, can account for up to 30% of the population on the internet.

Viewers have to be able to find what they want

If a viewer can't find what they are looking for on your website easily, chances are they will leave and go elsewhere. Your website has to be useable. Studies vary in what they say about how long someone will take to figure out your website, but the figure quoted most often is about 8 seconds. More than 83% of Internet users are likely to leave a website if they feel they can't find what they're looking for (source: Arthur Andersen), and 58% of visitors who experience usability problems don't come back (source: Forrester Research).

Viewers must think your website is credible

Once they have found your site, and figured out how to use it, they need to stay on it. "When a site lacks credibility, users are unlikely to remain on the site for long. They wonít buy things, they wonít register, and they wonít return" (Stanford-Makovsky 2002).
What makes a site credible? In the same study Stanford/Makovsky found that the "Design Look" or the site's overall design or look accounted for 46% of a site's credibility. This included layout, typography, white space, images, color schemes, and so on. This was followed by "Information Design/Structure" (28%) or poorly the information fit together, as well as how hard it was to navigate the site to find things of interest.
Many of the factors involved in being credible are the same for being accessible and usable.
How do you set up SEO optimized Websites? Do you want to learn SEO? Would be interested in SEO lessons?  SEO Courses? SEO video tutorials? SEO Training? Conversion optimization lessons? Conversion optimization courses. Conversion optimization video tutorials. Conversion optimization training.

SEO, Accessibility, Usability and Web Standards

So another way of looking at what makes a good website is to describe it in new terms. A good website is:
  • Search engine optimized
  • Accessible
  • Usable
Many of the factors that make a site better at one of these also improve it in another, there is lots of overlap between them. For example, a site that is (x)html semantically structured (the xhtml explains the document, not how it looks) will be easily read in a screen reader by someone who has poor vision. It will also be easily read by a search engine spider. Google is effectively blind in how it reads your website.
Another way of thinking about this is graphically.
A good web site will have lots of overlap. Here we have introduced the idea of a framework of W3C valid code. A site that is validates to the World Wide Web Consortium's (W3C) web standards has a much better foundation for making it accessible, usable and search engine optimized. Think of these as building codes for your house. A website built with them is stronger and safer. You can check your pages with the W3C's HTML validation service. for free. At its simplest, a site that meets W3C validation uses semantic (x)thml and separates content from presentation using CSS.

SEO

About half of searches on the web are done with Google. What does it take to get a good SERP with this search engine? Patent #20050071741 or "Information Retrieval Based on Historical Data" (Google) describes over 118 factors that effect a web site's position in search engine's rankings.
Some of the more important on-site factors are:
  • Keywords in title tag, h1/h2 etc tags, alt text, URL and site links
  • High keyword density in body, (content separated from presentation) preferably near beginning
  • Small Pages <30k
  • Themed pages
  • Efficient internal link structure
The negative on-page factors include:
  • Text presented in graphics
  • Excessive JavaScript
  • Excessive Flash
A well organized usable page that is designed to be accessible will have a better chance of acheiving high SERP. You can find more details about SEO at www.compassdesigns.net/articles/webmarketing/seo-guide.html

Accessibility

Web accessibility is about making your website accessible to all Internet users regardless of what browsing technology they're using. Often accessibility is used in the context of blind users, but it is much more. It includes other vision-impaired users such as color blindless or the elderly, those using older browsers, users on mobiles phones or PDA's, or simply someone on a slow internet conenction.
An accessible web site will:
  • Provide meaningful information in the title, h1/h2 and image alt tags
  • Have the most useful information near the top
  • Have pages that load fast
  • Have meaningful link text
  • Gives user control over pages, e.g. resizing text
  • Include a text-based sitemap
Factors that make a page less accessible are:
  • Text presented as graphics
  • No alternative to JavaScript, particualry for navigation
  • No alternative to Flash content
A page designed to be accessible will also be highly usable and include many of the factors for SEO.

Usability

Classically usability is defined as "a quality attribute that assesses how easy user interfaces are to use". Steve Krug of "Don't make me think" uses the example from his wife, "if I have to think more I just don't use it as much".
Another quote illustrates the importance of usabilty, albeit from a commercial perspective:
"Homepages are the most valuable real estate in the world. Each year, companies and individuals funnel millions of dollars through a space that's not even a square foot in size....... Corporate homepages are the most valuable real estate in the world. Space on a big company's homepage is worth about 1,300 times as much as land in the business districts of Tokyo."
(Source: Jakob Nielsen on Usability and Web Design)
Usable pages:
  • Employ scannable text and meaningful sub-headings
  • Use meaningful graphics, not just pictures of models.
  • Have small graphics whenever possible to reduce download time.
  • Avoid using graphics as links or content
  • Have a well-organized site
  • Use text-based navigation
To describe negative factors of usability, here are some of Jakob Nielson's Top Web Design Mistakes :
  • Frozen font sizes and low contrast between text and background.
  • Non-standard JavaScript links
  • Flash navigation.
  • Browser Incompatibility
  • Frozen layouts with fixed page widths
  • Page titles with low search engine visibility
An analysis of web design award winners came to the conclusion that "if your goal is to win Web Awards, then it seems that you should design an aesthetically good looking Web site at the expense of usability. The Web site will look good, but will be slow and difficult to use for some viewers. But if your goal is to sell products or services, then we should look at the Web sites that succeed in this goal. Amazon is the leader when it comes to selling products, Yahoo is the most popular search directory, AOL has millions of users, and Microsoft, the most successful software company today. What do their Web sites have in common? As we have seen, they all focus on usability. The all have fast and easy to use Web sites."

W3C Web Standards

You may have seen words such as "web standards" or "CSS", but what exactly are they? "These technologies, which we call ìweb standards,î are carefully designed to deliver the greatest benefits to the greatest number of web users while ensuring the long-term viability of any document published on the Web" (source: webstandards.org/about/).
To help you understand where web standards came from, some history is helpful. Many web pages are actually designed for older browsers. Why? Browsers have continually evolved since the www started. New ones have appeared and old ones have disappeared (remember Netscape?). Another complicating factor is that different browser makers (like Microsoft) tend to have their browsers interpret html/xhtml in slightly different ways. This has lead to web designers having to design their websites to support older browsers rather than new ones. It's often decided that the web page needs to appear properly to these "legacy" browsers.
Web standards put into place a common set of "rules" for all web browsers to use to show a web page. The main organization pushing these standards is the World Wide Web Consortium (WC3), whose Director, Tim Berners-Lee has the distinction of actually inventing the world wide web in 1989.
Ask five designers what web standards are and you will get five answers. But most agree that they are based on the following:
  • Valid code, whether html or xhtml (or others)
    Earlier we used an example of building codes for construction. The standards outlined for the code that makes a web page have been developed to acheive consistancy. It's easy to check your code at validator.w3.org. Make sure you use the correct DOCTYPE when you try and validate your code. This article at Compass Design described valid Joomla doctype.
  • Semantically Correct Code
    We mentioned before that being semantic means that the (x)html in the web page describes only content, not presentation. In particular this means structured organization of h1/h2 etc tags and only using tables for tablular data, not to layout a web page.
  • Cascading Style Sheets (CSS)
    Closely related to having semantic code, is using cascading style sheets to control the look and layout of your web page. Cascading Style Sheets (CSS) is a simple mechanism for adding style (e.g. fonts, colors, spacing) to Web documents. (Source: www.w3.org/Style/CSS/). They exist parallel to the (x)html code and so let you completely separate content (semantic code) from presentation (CSS). The best example of this is CSS Zen Garden, a site where the same semantic xhtml is shaped in different and unique ways with different CSS. The result is pages that look very different but have the same core content.

Summary

The following table shows how these factors are related:
Comparison of Design Factors

SEO
Accessibility
Usability
Positive
  • Keywords in URL, title tag, h1/h2 etc tags, alt text and site links
  • High keyword density in body, (content separated from presentation) preferably near beginning
  • Small Pages <30k
  • Themed pages
  • Efficient internal link structure
  • Provide meaningful information in the title, h1/h2 and image alt tags
  • Have the most useful information near the top
  • Have pages that load fast
  • Have meaningful link text
  • Gives user control over pages, e.g. resizing text
  • Include a text-based sitemap
  • Employ scannable text and meaningful sub-headings
  • Use meaningful graphics, not just pictures of models.
  • Have small graphics whenever possible to reduce download time.
  • Avoid using graphics as links or content
  • Have a well-organized site
  • Use text-based navigation
Negative
  • Text presented in graphics
  • Excessive JavaScript
  • Excessive Flash
  • Text presented as graphics
  • No alternative to JavaScript, particualry for navigation
  • No alternative to Flash content
  • Frozen font sizes and low contrast between text and background.
  • Non-standard JavaScript links
  • Flash navigation.
  • Browser Incompatibility
  • Frozen layouts with fixed page widths
  • Page titles with low search engine visibility
We can see that is significant overlap. Clearly to have a site that is both search engine optimized, accessible and usable you need to make sure that you have:
  • good semantic markup
  • small page sizes
  • efficient and meaningful link structure
  • meaningful graphics and no graphics as text
  • small amount of Javascript or flash
The most effective way to acheive these is to design web pages to current W3C standards. Using CSS in particular to separate content for presentation is highly effective in meeting these goals.

What does this mean for a Joomla Website?

Looking at the above criteria, all of these factors are currently controlled by the template designer, not the core of the Joomla CMS itself. The designer can create a template that incorperates good semantics, or small pages sizes. Currently the Joomla CMS does have issues where it outputs content in tables and is not using useful semantic headers (though this will be fixed in an upcoming release). However, advanced template designers are able to overcome this drawbacks and produce a template that results in a site that is accessible, usable and search engine optimized.