Joomla 2.5/3.0 FAQ (46 Articles)

Multiple Joomla websites with a single memcached server

SiteGround offers its customers the option to enable memcached in their Joomla applications. Information on how to configure Joomla to use memcached can be found in our Joomla memcached tutorial . However, when you have more than one Joomla instance that use memcached, problems with mixed up sessions may appear. Fortunately, there is a very simple solution - for each Joomla instance you need to set a unique secret word. You can do this by editing the configuration.php file for each Joomla installation. The exact line you need to edit is: [crayon-58866daf70bc5164269721/] Make sure you change the secret_word string to a unique value for each Joomla instance on your account. This secret word is used by the Joomla memcached controller to differentiate between the Joomla instances so that their sessions don't get mixed…

How to configure Joomla 2.5 ACL?

One of the great features available in Joomla 1.6, 1.7 and 2.5 is called ACL. The abbreviation stands for Access Control List. Joomla ACL allows to show different content and provide certain functionality to chosen user groups. You can set a new user group that will have certain access permissions. This can be done through the Joomla administrative area -> Users -> Groups -> Add New Group . Enter its name, leave the group parent to Public and save the setup. Then assign the desired users to this usergroup through the Users -> User Manager . Once you are ready navigate to Users -> Access Levels -> Add New Access Level . Enter the level title and pick the group which you have created before. Save the configuration. You can set the newly defined access level for articles, modules, plugins and other extensions. Edit the element for which you want to change the access level and pick the new one from the Access drop-down menu. Only the users with the correct permissions will have access to the corresponding…

How to set drop-down menu with Joomla 2.5?

There are different ways to create a drop-down menu for your Joomla 2.5 web site. For example, if you are familiar with the CSS code, you can try to directly edit the  corresponding .css files of your default Joomla 2.5 template. More details on how to change your default template can be found in the following article: https://www.siteground.com/kb/How_to_change_the_default_Joomla_25_template/ Or you can use one of the offered Joomla 2.5 extensions: http://extensions.joomla.org/extensions/structure-a-navigation/menu-systems/drop-a-tab-menus A good solution is the swMenu component and the corresponding module. They can be installed from your Joomla 2.5 admin area -> Extensions -> Extension Manager . Detailed instructions on how to install Joomla 2.5 extensions are published at: https://www.siteground.com/kb/How_to_install_a_Joomla_25_extension/ Once the installation is completed you can manage the menu component and the integrated module through the  Joomla 2.5 admin area -> Components -> swmenufree . Play with the options and find the ones that best suit to your web site style.…

How to reset my Joomla 2.5 password?

If you have problems to access your Joomla 2.5 admin area and can not remember the correct password you can reset it directly from your database. First, you should find which database your Joomla 2.5 installation uses. Detailed instructions are published in the following knowledge base article: https://www.siteground.com/kb/How_to_find_database_details_of_my_Joomla_25_installation/ Then open your MySQL database management tool. The SiteGround clients can use phpMyAdmin available in their cPanel. Load the tool and execute the following SQL query: [crayon-58866daf7147b433870684/][crayon-58866daf71488946439375/][crayon-58866daf7148f050961875/]username[crayon-58866daf71497574421425/] [crayon-58866daf7149e455008285/] [crayon-58866daf714a5833264360/] In the above query change Your_Joomla_Database  [/crayon] [crayon-58866daf714ac111984366/] [crayon-58866daf714b3991667053/][crayon-58866daf714b9367987845/] [crayon-58866daf714c0789502018/] [crayon-58866daf714c7727123095/] [crayon-58866daf714cd277485982/] [crayon-58866daf714d4889351402/] [crayon-58866daf714db793942225/] [crayon-58866daf714e1549580063/] …

How to activate SSL protection for your Joomla 2.5 web site?

In order to turn on an SSL certificate support for your web site you should load your Joomla 2.5 admin area -> Site -> Global Configuration -> Server. Locate the Force SSL drop-down menu. The possible options are: None - No SSL support. Administrator only - Enables the SSL protection for the Joomla 2.5 admin area. Entire Site - Enables the SSL protection for the entire website including the front end and admin area. In order to use an SSL certificate with your Joomla 2.5 you will need a Private SSL certificate issued for your domain.…

How to filter HTML code in Joomla 2.5?

You can define different filtering options regarding the entered HTML code by the members of the different user groups. The HTML filtering configuration can be set through the Joomla 2.5 admin area -> Site -> Global Configuration -> Text Filters. There you will find a list with all the user groups created for your Joomla 2.5 script. You can pick a text filtering option for each usergroup from the Filter Type drop-down menu. The possible options are: Default Black List - All the tags and attributes are allowed expect the following ones: Tags - 'applet', 'body', 'bgsound', 'base', 'basefont', 'embed', 'frame', 'frameset', 'head', 'html', 'id', 'iframe', 'ilayer', 'layer', 'link', 'meta', 'name', 'object', 'script', 'style', 'title', 'xml'; Attributes - 'action', 'background', 'codebase', 'dynsrc', 'lowsrc'; More tags and attributes can be entered in the Filter Tags and Filter Attributes fields. The list items should be separated with comma. Custom Black List - Can overwrite the tags and attributes included in the above list. Again, they should be added in the Filter Tags and Filter Attributes fields. White List - Only the specified tags and attributes will be allowed.  No html - All the HTML code will be filtered. No filtering - The filtering is disabled. Usually this option is selected for the Joomla 2.5 Super Users and Administrators accounts. Once  you complete the setup save the changes.…

How to Setup Joomla 2.5 RSS Feed

Joomla 2.5 comes with a preinstalled module for RSS Feed (RSS stands for Really Simple Syndication - a web feed format for publishing frequent updates of site content such as news, blog posts, etc.). It is called Syndicate Feeds . It allows the RSS feed to be generated from the featured articles listed on the corresponding page where the module is displayed. The module can be published and configured from the Joomla 2.5 admin area -> Extensions -> Module Manager -> Syndicate Feeds. Edit the module, select its position, pick the pages on which it will be displayed, enter the text that will be visualized in the module's area and pick the feed format. Save the changes and open a page for which the module is activated. Click on the module text link to see and subscribe for the RSS feed.…

How to define the number of articles and columns on Joomla 2.5 front page?

In order to change the number of articles and the columns displayed on your Joomla 2.5 front page open the Joomla 2.5 admin area. Navigate to Menus -> Main Menu . Select your home page and click on the Edit button. The values that you can edit are: Leading Articles - the number of the articles shown in full on the front page; Intro Articles - the number of the articles shown after the leading; they will be displayed in columns; Columns - the number of the columns where the intro articles will be displayed; Links - the number of the articles that will be accessible as links; they are usually listed after the intro articles; Once the preferred values are entered save the configuration and reload your home page.…

How to change module position in Joomla 2.5?

In order to change the template position where your module is loaded open your Joomla 2.5 admin area.  Find which is the default Joomla 2.5 template for your web site from Extensions -> Template Manager. Then navigate to Extensions -> Module Manager . Select the chosen module and click on the Edit icon. Press the Select Position button. From the drop-down menus select your Joomla 2.5 template. Pick Template as the type option and Enabled as the status option. The available positions will be listed. Select the preferred one and save the configuration. Reload your front page to see the module's new position.…

How to add a module position in a Joomla 2.5 template?

First, you should check which is the default Joomla 2.5 template used by your web site. You can find this out through your Joomla 2.5 administrative area -> Extensions -> Template Manager . You will have to edit two of the template files and add the position manually. The files are: ~/templates/Template_Name/ index.php and ~/templates/Template_Name/ templateDetails.xml where: Template_Name is the name of the template assigned for your website. You can edit the files through the cPanel -> File manager or with an FTP client . In the first file index.php add the following line at the place where the new position should be set: [crayon-58866daf71b52216948155/] In the second file templateDetails.xml find the positions definition section and add the following line: [crayon-58866daf71b5e327135735/] Save the changes for both files under your hosting account. Navigate to the Joomla 2.5 administrative area and change the position of a chosen module to the new one. Detailed instructions on how to do that can be found in the following knowledge base article: How to change module position in Joomla 2.5?…

How to create a custom HTML module in Joomla 2.5

You can create and publish a custom HTML module displaying your own code in Joomla 2.5 through the Joomla 2.5 administrative area. Navigate to Extensions -> Module Manager . Click on the New icon and select Custom HTML as a module type. On the newly opened page enter the title of the module, select its position on the template and enter the Custom Output which should be visualized by this module. You can assign this module to the pages where it should be displayed from the Menu Assignment sections on the same page. Make sure its status is Published , adjust the other settings and save the changes. Reload your front page to see the…

How to find database details of my Joomla 2.5 installation?

Sometimes you will need to know the database details for your Joomla 2.5 installation in order to run the necessarily queries on the right database. These details are listed in the configuration.php file located under your Joomla installation's root directory. You can open the file through cPanel -> File Manager . Look for the following lines that contain the name of the database user added to the database, the corresponding password and the name of the database: public $user = 'USERNAME'; public $password = 'PASSWORD'; public $db = 'DATABASE_NAME'; Once you know which database your web site uses you can manage it through cPanel -> phpMyAdmin .…

How to copy my Joomla 2.5 web site in a different folder?

Many Joomla 2.5 developers and web designers prefer to complete major modifications on a web site copy in a separate web folder. If they are satisfied with the result then they replace the live web site with the modified one. For the purpose of this article we will assume that the Joomla 2.5 live web site is located in public_html directory and can be loaded through www.yourdomain.com. T he copy will be set under the public_html/ dev folder in the user's account.   Follow the steps listed below to complete the task:   1. Copy all of the files and folders from your Joomla 2.5 installation to the new dev directory. In our case from public_html to public_html/dev. If you are not sure which files and folders are included in the Joomla 2.5 installation you can find them in the <files> section of the joomla.xml file. The file can be opened through cPanel -> File Manager . You can complete the task through your favourite FTP client . 2. Reconfigure your application. You should edit your configuration.php file in the dev subfolder and make the following changes in it: Change:  public $log_path = '/home/sgtest/public_html/logs'; To:  public $log_path = '/home/sgtest/public_html/dev/logs'; Change:   public $tmp_path = '/home/sgtest/public_html/tmp '; To:   public $tmp_path = '/home/sgtest/public_html/dev/tmp';   3. Remove the content of your cache folder ( public_html/dev/cache in our case)   4. Create a new database using cPanel -> MySQL Databases , add a user with the corresponding password to it, export the Joomla live web site's database (its name can be found in the configuration.php file) through cPanel -> phpMyAdmin and import its structure and content in the newly created database.   5. Update the configuration.php file under the public_html/dev/ subfolder with the new database details. They should be entered in the following fields:     public $user = 'USERNAME';   public $password = 'PASSWORD';   public $db = 'DATABASE_NAME';   6. If you have external extensions that need additional reconfiguration regarding the path or the database details modify their setup. Now when you reload your website it should be working flawlessly from its new location.…

How to protect Joomla 2.5 with captcha?

The Joomla 2.5 application comes with a preinstalled ReCaptcha plugin. Using it allows to protect the Joomla registration and contact forms from spam bots. The plugin can be managed from the Joomla 2.5 admin area ->  Extensions -> Extension Manager -> Plug-in Manager ->Captcha - ReCaptcha . Get the API keys from http://google.com/recaptcha and enter them in the Public and Private Key fields. Save the configuration.…

How to find the exact version of My Joomla 2.5 script?

The exact Joomla 2.5 version is displayed in the Joomla 2.5 admin area -> Site  ->System Information . It can also be found in the libraries/cms/version/version.php file located under the Joomla 2.5 root folder. The file can be opened through cPanel -> File Manager .…

How to transfer a Joomla 2.5 web site to a new server?

Every Joomla 2.5 web site consists of two components: files and a database. The files and folders of your Joomla 2.5 application contain the core application code, the default and the external extensions. The Joomla 2.5 database contains all records for your website such as your categories, articles, extensions records, etc. Let's assume that you have own LAMP ( Linux, Apache, MySQL and PHP ) or WAMP (Windows , Apache, MySQL and PHP ) server or a hosting account with another company. Find the directory where your Joomla 2.5 installation resides (e.g. httpdocs , public_html, www or their subfolders). Next, copy the entire content of your Joomla 2.5 directory straight into the public_html folder (or a chosen subfolder) of your SiteGround hosting account. If you are managing your Joomla 2.5 web site on a local server probably you already have the files on your hard drive. If you are hosting your account on a remote machine, simply download your Joomla 2.5 files and directories (please mind that you should keep the directory structure intact) on your local computer through an FTP client . After the download is completed, you should connect to your SiteGround FTP account, change your current working directory to public_html (or a chosen subdirectory) and drag and drop your Joomla 2.5 files and folders from your local computer to the chosen location. Next, export your Joomla 2.5 MySQL database . If you are running your own WAMP or LAMP server probably you can create the dump file through the command line or by using a database management tool like PhpMyAdmin . If you are using a different web hosting provider they should have provided you with access to a database management tool integrated in their system. You should ask them for further assistance with the database backup creation. Once you are ready with the database backup navigate to your cPanel -> MySQL Databases and create a new database. Assign a new database username with the corresponding password to the database. Open the cPanel-> phpMyadmin interface. Choose the new database from the left menu. Click on the Import tab. There is an option to import a .sql file. Use the “Browse” button to find it on your computer and then click “Go” at the bottom. If you receive an error message which says access denied , you should open the database dump file you have downloaded on your local computer with your favorite text editor and look for lines that may contain CREATE database db_name ; and/or USE db_name ; mysql statements. If you find any simply delete them and try to re-import the dump. If you run into troubles our friendly technical support team is available 24/7 and ready to help you. Last, adjust the Joomla 2.5 configuration. Open your cPanel -> File Manager , navigate to your Joomla 2.5 directory and open the configuration.php file for editing. Modify the following details to match your Joomla 2.5 setup: [crayon-58866daf71db3437786829/] If you have correctly followed the instructions mentioned above and your domain name properly points to the DNS servers of your SiteGround hosting account you should be able to see your Joomla portal. Almost the same are the steps if you decide to transfer the Joomla 2.5 web site to another hosting provider. Basically, you should copy the files, import the database and reconfigure the script to work under the new location. For more information, please visit our Joomla 2.5 tutorial . Note: The above instructions are for Joomla 2.5. In order to migrate a Joomla 1.0 web site please follow these instructions . The website transfer instructions for Joomla 1.5 are available here . If you have problems transferring your Joomla 2.5 web site yourself, ask your hosting provider for assistance. SiteGround provides the best Joomla hosting and such requests are handled with…

How to update Joomla 2.5 extension?

The Joomla 2.5 application has a built-in functionality that allows to check whether there are outdated Joomla extensions integrated in your CMS. You can find updates for them through the Joomla 2.5 admin area -> Extension Manager -> Update . Prior to clicking on the Find Updates button press the Purge Cache button. This will clear the cached data about the installed extensions. Then you can find the up-to-date information regarding the extensions that should be upgraded.…

How to clear the cache in Joomla 2.5?

Sometimes you will need to clear the internal Joomla 2.5 cache in order to view the modifications on the web site. The task can be completed from the Joomla 2.5 admin area -> Site -> Maintenance -> Clear Cache . Select the cached results and click on the Delete icon.…

How to enable/disable cache in Joomla 2.5?

Enabling the Joomla 2.5 cache will boost the overall performance of your web site. You can enable cache from your Joomla 2.5 admin area -> Site -> Global Configuration -> System . Select the cache option at the right side of the System page, under Cache Settings , next to Cache .There are three options: OFF - Caching disabled - no cache support for the Joomla web site; ON - Conservative caching - smaller system cache; ON - Progressive caching - default, bigger system cache, the web site works faster, cashes results from modules rendering, it is not suitable for very large web sites; Next, pick the cache time for which the cached result will be stored and save the changes.…

How to uninstall a template in Joomla 2.5?

If you want to uninstall a Joomla 2.5 template you should navigate to the Joomla 2.5 administrative area -> Extensions -> Extension Manager . Open the Manage tab. Select Template from the Select Type drop-down menu. Search for the chosen template in the filtered results and click on the check box besides it. Find the Uninstall icon in the upper right Joomla 2.5 menu and click on it to completely remove the chosen…