Category: Joomla

The Easiest way to add Google Authorship to Joomla Articles

I wrote about this a while ago in my Joomla microdata article. It has struck me since that it was complete overkill to add authorship in that way and can be done without any code changes at all, just using the standard contacts component.

The reasoning is, that you don’t have to link each article on the site to the authors Google+ page. If there is an author page on the site, and each page is linked to the author page then you only need to add the link to the Google+ profile on that author page.

Continue reading “The Easiest way to add Google Authorship to Joomla Articles” ››

How to Check for the Default Page in Joomla 2.5 and 3

Posted in Joomla

In Joomla 1.5 this was quite easy as there was generally only one homepage (multiple in Joomfish but the same check worked for all). With the introduction of multi-language in 1.6 (or was it 1.7?) it was made a bit more difficult as it is possible to have multiple homepages, and checking for them involves using a user entered string which could be set to anything.

Continue reading “How to Check for the Default Page in Joomla 2.5 and 3” ››

Adding Microdata to Joomla Articles

Google has been using microdata for quite a while now and adding it to your website can help with clickthrough rates from search engine results.

The most obvious is Google’s own authorship markup (not strictly microdata per se) where linking to your Google+ profile adds your profile image to pages in search results, but there are many other tags which can be added to display extra information next to your page title and description.

In this article I am going to look at adding microdata for article publishing times, images and authors to Joomla 3.

Continue reading “Adding Microdata to Joomla Articles” ››

Joomla Stalling at Installation Stage | PHP Session Storage

There has been a few reports about not being able to install Joomla because it stalls at the installation and you can’t get past the first installer step.

Whilst there are many reasons why this could happen, most times I have come accross it it has been down to the server setup and Joomla not having access to the PHP sessions directory.

If it can’t save a session then you will never get past the first step. So lets configure a session direcory we can write to without having to contact our host, who will most likely blame somebody or something else whilst they scramble behind the scenes (hopefully).

Continue reading “Joomla Stalling at Installation Stage | PHP Session Storage” ››

How to get Joomla’s Current Site Language

Sometimes there is a need to get the current content/site language to use in other places. An example being when you want to set social share buttons to display in the same language as the site. Luckily Joomla makes this easy for us.

Continue reading “How to get Joomla’s Current Site Language” ››

Using JLayout to Override Global Views in Joomla 3

Global layouts were introduced in Joomla 3 so that they are no longer limited to a particular view or extension.

In this example I am going to create a new view for the tags component which will output a plain comma separated list so that I can use it in a facebook opengraph tag.

Continue reading “Using JLayout to Override Global Views in Joomla 3” ››

Adding Facebook Opengraph META Tags to a Joomla 3 Template

There are hundreds of plugins, modules and components which add Facebook opengraph tags to your articles, but is it really necessary to add an extension for the sake of a couple of meta tags.

There was a time when Facebook ignored your standard meta tags and insisted that you add a specific opengraph tags for things like page title and description. They no longer seem to enforce this from looking at the linter with the exception of Joomla’s author tag which it doesn’t like because it uses meta name instead of property. In fact, after a bit of experimentation, it seems the only needed tag is the site type, everything else will be collected from the standard meta data. So lets add some tags.

Continue reading “Adding Facebook Opengraph META Tags to a Joomla 3 Template” ››

Mobile blogging with boomla 3 ;)

The future is here, the future is now. Boomla 3 has been sent back from the future to fitful our mobile bogging needs.

I’ve been away for the weekend so what better time to sample a piece of the future. And what better time to test android s predicted words features.

 

Continue reading “Mobile blogging with boomla 3 ;)” ››

What is the xreference Meta and Joomla External Reference Field?

The reference field is not something that is new in Joomla 1.6 and up. Joomla 1.5 had a ‘Key Reference’ field in the articles advanced parameters tab. What is different is where the field is now found and the way the data entered is utilised.

In Joomla 1.5 the content of the key reference field wasn’t actually utilised at all. It was a spare field which you could use in a template override to quote an external reference, or change the name in the language files and use for whatever you want.

In Joomla 3 there is a new field in the Metadata Options called ‘External Reference’ which comes with the tooltip ‘An optional reference used to link to external data sources’. The reason why the field has moved from parameters to metadata is obvious – it is now used to output a meta tag, but what is this xreference tag and more to the point, what is it used for?

Continue reading “What is the xreference Meta and Joomla External Reference Field?” ››

Disabling Joomla’s Auto Update by Extensions

Template overrides are great, but sometimes you have no choice but to take a component apart to get it to do what you want it to do. It’s great that all the code is open and you are able to do that too.  What’s not great is when you hand over that site to someone else and then an update notification pops up, prompting the new owner to undo all your hard work and ultimately break the site.

Continue reading “Disabling Joomla’s Auto Update by Extensions” ››