What version of Joomla am I running?

Your site — or your client’s site — has been hacked, and it isn’t functional. How can you tell which version of Joomla the site is running?

Look inside these files — and file location is your first clue:

Joomla! 1.0.x

Joomla! 1.5.x

Joomla! 1.6.x

Joomla! 2.5.x

Time to upgrade your website to Joomla 2.5

On Tuesday, January 24, 2012, the Joomla Project released Joomla 2.5 as a security and feature upgrade to Joomla 1.7. This new Joomla is a big step forward, as well as a long term release designed to be support for at least 18 months, according to their press release. If you are running a Joomla site currently, this upgrade is highly recommended. If you have a site that needs a content management system, or if you just plain need a website, now is a good time to get ‘er done. Contact me today and let’s talk.

New Year, New Blog URL, New Site Design Coming Soon

Nearly three years have passed since I first posted this blog, and it is time for a facelift. In the next couple of weeks I’m going to be posting a new site design for http://www.waynehastings.net.

I decided I’d rather not have my website proper running on WordPress. WordPress is a great blogging platform, but isn’t my cup of tea when it comes to content management systems for a non-blog website. So my new site design will be based on the latest version of Joomla.

The first step in this process is to move this blog to a new URL. Update your bookmarks, and say hello to http://blog.waynehastings.net.

Joomla 1.7 hack – replace the META GENERATOR tag

In Joomla 1.7, the system automatically creates a META Generator tag that you might want to change or hide.

The default tag looks like this:

<meta name="generator" content="Joomla! 1.7 - Open Source Content Management" />

There is no way within Joomla to change or remove this tag, so you have to put a little line of PHP in your template.

Edit your template and look for this line:

<jdoc:include type="head" />

Just above that line, paste in the following:

<?php $this->setMetaData('generator','my site'); ?>

The two lines together should look like this:

<?php $this->setMetaData('generator','my site'); ?>
<jdoc:include type="head" />

In the above code, substitute your custom generator tag value in place of the words my site.

Because this hack is in your template, you don’t have to worry about the next upgrade to Joomla overwriting hacked core files.

Thanks to gabha.net for showing the way.

(This tip was originally posted on June 18th, 2009 for Joomla 1.5, but this hack is tested and working for 1.7, so I’ve updated and reposted.)

Update 21 January 2012:

Looking at this post’s comments, some people seem to be having trouble. In the following example, I’m using the Joomla 1.7 default template Beez2 – Default to illustrate further.

Editing the HTML of Beez2 – Default, you will see on line 36 is the opening HTML <head> tag, then on line 37 is <jdoc:include type=”head” />

We’re going to insert a new PHP command between line 36 and 37 — between the <head> tag and the <jdoc:include type=”head” />

Copy the following code:

<?php $this->setMetaData('generator','my site'); ?>

Then paste this code into the Beez2 – Default template code between line 36 and 37. Your code should now look like this:

To customize this,  you will replace your own value for the ‘my site’ value. In my case, I use my domain name.

Now, save the template and upload. Switch to your web browser, reload the page, and view the source.


Joomla AllVideos plugin – preview or first frame image

If you’re using the JoomlaWorks AllVideos plugin on your Joomla site, you may want to know that as of version 2.5 (current version is 3.3 as of this writing) you CAN assign a poster image to your video. This is an undocumented feature as far as I can tell, and I only found the solution from this forum comment.

Place a .jpg image in the same folder as your FLV file. So if your video is myvideo.flv, post a matching file in the same directory as myvideo.jpg

To see this effect in action, watch the image preview load for the video posted on this page: http://www.hiltonstayconnected.com

New website launch: Wesley Living

Wesley Living (www.wesleyliving.com) has over 40 years experience in Senior Housing, Assisted Living and Home Services for senior adults in the Southeast.

Built on the Joomla 1.5 platform, this site uses the following plugins:

New Site Launch: Griffin Chapel

Griffin Chapel (www.griffinchapel.com) is a small site for a wedding chapel in Brunswick, TN.

Built on the Joomla 1.5.15 platform, this site uses the following plugins:

The site also has a photo gallery built on Gallery 2.

The site’s content is still being written, so a couple of the pages are still blank. The site has been live for about a week, and the client has already had several calls, one just to say they loved the new site, and three more to book a wedding.

More photos will be coming in April from weddings that have already been booked.