No account yet?
Joomla! Tips and Tricks

The Connectage Joomla! Tips and Tricks blog contains useful snippets of information relating to the Joomla! Content Management System. This information is bought to you by Connectage, a UK based Web Consultancy and Development Company.

Plugins working in Modules

The following is a small core hack for Joomla 1.5 to allow plugins to be loaded into a custom module.

Joomla! 1.5 Plugins usually work within the content area, but not Modules. This is rather annoying when you have a decent Plugin and cannot use it across the whole of your website. But fear not... her is the work-around!

Place the code snippet below into the index.php file. This file can be found in the root of your Joomla! 1.5 site.

/* * // Allow plugins to be loaded into modules. (Rostislav Palivoda) */ JPluginHelper::importPlugin('content'); $tmp_row->text = JResponse::getBody(); $tmp_params = new JParameter(null); $mainframe->triggerEvent('onMap', array( &$tmp_row, &$tmp_params ), true ); $mainframe->triggerEvent('onPrepareContent', array( &$tmp_row, &$tmp_params ), true ); JResponse::setBody($tmp_row->text);

Place the code snippet just after line 82:

// trigger the onAfterRender events JDEBUG ? $_PROFILER->mark('afterRender') : null; $mainframe->triggerEvent('onAfterRender');

Remember to apply this each time you upgrade Joomla 1.5.x

 
Load any module within a joomla 1.5 content article

One of the questions that often gets asked is "How can I load a Joomla! 1.5 Module into a content Article? This is in fact an easy thing to do, and can provide useful solutions such as:

  • Loading in a Paypal Module into an Article.
  • Displaying Advertising within your Content.
  • Including Adsense Modules within your Content Articles.
  • Displaying Audio and Video within Articles.

By default, Joomla! Modules can be placed in any Module Position of the Template, but they do not load into Content Articles.

This tutorial will explain how to enable and use Module loading within your Joomla! Articles, Here are the steps:

 
Modify the Joomla! "Site Offline" page

Joomla! comes with it's own Site Offline page which is displayed when the site is set to "Offline Mode" within the Joomla! Administration. This page can be easily customised with your own layout, logo and colours, so it represents a message which relates to your project.

This tutorial will explain how to customise your site offline page. Here are the steps:

 


Connectage Joomla! Services

Joomla! LogoHere at Connectage, we have been doing some great things with Joomla!

We use the Joomla! platform every day to build online solutions for businesses. Whether it is a online store, or a bespoke Joomla component, you can be sure that with Connectage supporting your project, you get some of the most experienced Joomla! developers to suit your project. Connectage is also the development company behind the popular Joomla! extensions:

Cartage - A Joomla! Zen Cart Bridge

Connect LMS - SCORM e-Learning.

View our portfolio for examples of our work, ranging from multi-lingual Directory sites, through to a E-Commerce stores with over 6000 products, all running on Joomla!

connectage_payment_methods