This article will show how to display lightbox popup with image, input form or any other content using Joomla built-in functionality.
For example, you can display contacts form on it.
Joomla 2.5 already has built-in Lightbox functions, you can use them any time in any article or module.
Although Joomla 1.0 is no longer supported, there still are vast humber of sites running on that CMS. If you need to transfer Joomla 1.0.x site to webhosting with PHP 5.3.x, you may consider doing the following patches:
Edit configuration.php, and change:
$mosConfig_error_reporting = '-1';
$mosConfig_error_reporting = '0';
In the file /includes/Cache/Lite/Function.php change line №92
$result = call_user_func_array(array($class, $method), $arguments);
$result = call_user_func_array(array($class, $method), &$arguments);
and line 100:
$result = call_user_func_array($target, $arguments);
$result = call_user_func_array($target, &$arguments);
And make another patch of file includes/joomla.php :
$params =& new mosParameters( $my->params, $file, 'component' );
$params = new mosParameters( $my->params, $file, 'component' );
In this article I've tried to gather system requiremets for different versions of Joomla CMS.
Joomla 2.5 System Requirements
PHP: 5.2.4 or above
MySQL: 5.0.4 or above
Apache: 2.x or above
Joomla 1.5 System Requirements
PHP: 4.3.10 or above (If you have PHP 5.3.x, you have to set error_reporting to E_ALL & ~ E_NOTICE)
MySQL: 3.23.x or above (but 6.x not supported)
Apache: 1.3.x or above
Joomla 1.0 System Requirements
PHP: 4.2.x or above (If you have PHP 5.3.x, you may read this article: Joomla 1.0 and PHP 5.3)
MySQL: 3.23.x or above
Apache: 1.13.19 or above
Source: Joomla Technical Requirements
If JComments CAPTCHA picture is not showing on your site, you may try the following fix. The error was noticed with Jcomments 2.3.0 and Joomal 2.5.8, Godaddy webhosting.
- Open file /administrator/components/com_jcomments/admin.jcomments.php
- Find line:
$lists["captcha"] = JCommentsHTML::selectList($captcha, 'cfgcaptchaengine', 'class="inputbox"' . $disabledCAPTCHA, 'value', 'text', $config->get('captcha_engine'));
and replace with:
$lists["captcha"] = JCommentsHTML::selectList($captcha, 'cfgcaptchaengine', 'class="inputbox"' . $disabledCAPTCHA, 'value', 'text', $config->get('captcha_engine', 'kcaptcha'));
- Save changes in file
- Open JComments settings and re-save current settings
Order custom web software development from professionals.
htaccess, also known as hypertext access file available to apache web server and several other known web server software allows us to change configurations on servers per directory or subdirectory in a decentralized manner. that way we could easily change server configurations per user account without the need to change the actual server config itself. this could save time having to call the techs just to redirect one file to another directory. htaccess can be very helpful especially if you do not have any access to the server configurations however, it can cause some serious performance issues too as it is loaded every time a page is requested in the same directory it resides.