Why are the front page articles ordered differently after the upgrade to 1.5.7?
There is a known issue with the Joomla! 1.5.7 upgrade regarding the way articles are ordered in Front Page Blog Layout. If you upgrade an existing site to 1.5.7, and if you have two or more columns, the Front Page Layout will default to ordering articles down the columns instead of across the columns. To fix this, all you need to do is
This will initialize the default parameter and cause the articles to be ordered across columns as before. This bug was a side effect of a new feature that allows you to have Section Blog, Category Blog, and Front Page layouts order either down or across columns. Note that this issue will also affect the Joomla! Sample website in a new 1.5.7 installation. New sites are not affected by this issue. |
Why are the backgrounds of your WYSIWYG editor fields colored?
The simple answer as to why this happens is in the term 'WYSIWYG'. Content editors like TinyMCE attempt to allow users to see what the text they're entering will look like when it appears on the front-end of the website. To this end, they show the text against the color or image specified in the template_css.css file of whatever template the front-end of the website is using. This often presents a problem for users when their website is designed to appear as a lighter content pane floating over a darker-colored background. The darker background is what appears in the editor windows, making the text almost impossible to see. In such cases, it may be necessary to tell the editor not to use the template_css.css file as a reference, but rather to use a different css file instead. |
|
| Read more... |
Where is the static content?
In Joomla! versions prior to 1.5 there was a distinctive difference on static and normal content. Both content types are still around, but are not handled as separate items. If you want to create static content, just select "uncategorized" as section and category and the content is handled as static content. |
Where did the installer go?
The improved installer can be found under the extensions option. With versions prior to 1.5 you needed to select a specific extensions type when you wanted to install it, with Joomla! 1.5 you just select the extension you want to upload, and click on install. The installer will do all the hard work for you. |
Where did the Mambots go?
In Joomla! versions prior to 1.5 there was a distinctive difference on static and normal content. Both content types are still around, but are not handled as separate items. If you want to create static content, just select "uncategorized" as section and category and the content is handled as static content. |
Where are the web pages ?
If you are coming from a traditional website made up of separate html pages, you may well wonder where the pages are. In Joomla! almost everything that you would normally think of as a web page is actually stored in a MySQL database. When you create a new page, your content is stored in a database record, not in a separate file. Then when your site is viewed, Joomla! calls up different items from your database and puts them together to make what is displayed to the user. One exception is that your images are usually stored in the images directory and not the database. Your MySQL database usually is created by you during the installation process (unless you use a Fantastico or a similar installer that will create the database automatically). If you have a control panel on a linux host, you can usually access MySQL through a program called phpAdmin. This will allow you to view your database. For a short tutorial on converting a static HTML web site to Joomla!, see How to Convert an existing Web site to a Joomla! Web site. |
Where are the content parameters in Joomla! 1.5?
In Joomla! 1.5, the content parameters are not in the global configuration anymore. Joomla! 1.5 provides component specific settings, which are not set in a global configuration screen for each component itself. For Articles, select Content / Article Manager and press the "Parameters" button in the toolbar. For Banners, Contacts, News Feeds, and Web Links, select the desired component from the Components menu and press the "Parameters" button in the toolbar. |
What version of Joomla! should you use?
Normally, you should use the latest version of Joomla! for a new site unless you have a specific reason not to. The latest version can be downloaded from the Joomla! download site.
If you have a site that is working well on an older Joomla! version, you do not need to upgrade the site. At the time of this writing, both Joomla! version 1.0 and 1.5 are supported, although all new development effort is going into version 1.5. Version 1.6 is planned for release in a few months time. Many Joomla! Extensions have been released for version 1.5, with more being offered each week. However, there may be specific cases where an Extension is available for version 1.0 and not available for version 1.5, and this could be a reason to use version 1.0. |
What is the difference between a Sub-Domain, Parked Domain and an Add-On Domain?
This article is a basic outline of the differences between a Sub-Domains, Parked Domains, and Add-On Domains. Creation of each domain type on your selected hosting service may differ depending on what control control panel is offered. Each hosting service is diffferent in what their hosting plans include, so all three options may not be available under your plan. Any questions about what options are available with your particular plan, or for help in setting up these options on your hosting plan should be directed to your hosts support Help/FAQ pages or to your hosts support team.
|
|
| Read more... |
What is a vulnerable extension?
A vulnerable extension is one that has been found to contain (or contribute to) a security vulnerability. Vulnerable extensions are not necessarily poorly-coded. As the Web evolves, technical requirements and commonly accepted coding practices change. Active projects release new versions of their extensions as requirements change. For this reason, it is important to:
|
What is a template?
The Template controls the overall look and layout of your site. It provides the framework that brings together common elements, modules and components as well as providing the cascading style sheet for your site. Both the Front-end (Site) and the Back-end (Administrator) of your site have templates. When Joomla! is installed several templates are automatically included. You can find many more templates at other websites. Some are available without charge under various licenses, and some are for sale. In addition, there are many designers available who can make custom templates. You can also make your own template. Templates are managed with the Template Manager, which is located on the site menu on the Back-end of your site. |
What is Open Source Matters?
Open Source Matters is a non profit organization that provides financial, legal and organizational support for the Joomla! project. For more information on Open Source Matters, please visit the OSM FAQ http://www.opensourcematters.org/content/view/92/63/. |
What is JoomlaCode?
Joomlacode.org is the repository for the Joomla! source code as well as many open source Joomla! extensions. It requires separate registration from the the other joomla.org sites. |
What is Apache modSecurity?
Overview ModSecurity is an Apache module that functions as an embeddable web application firewall. It provides protection from a range of attacks against web applications and allows for HTTP traffic monitoring and real-time analysis with no changes to existing infrastructure. It is also an open source project that aims to make web application firewall technology available to everyone. When configuring ModSecurity, it is important to know that it is not only the Joomla! application that may require unique rules, but also the data that the application processes. Quality hosting providers customize mod_security rules to suit each customer. If you have a conflict between Joomla and ModSecurity, it is often third party components, and sometimes even contact form submissions that trigger the problem. Joomla out of the box usually works with typical ModSecurity settings, but this is dependent on each hosting provider's unique configuration. Overall, mod_security is a excellent tool, but this is really something your host should manage. ModSecurity configurations are far too varied and complex to describe here. To learn more, see the following resources:
|
What is "legacy mode"?
Legacy mode is a Plugin that can be activated by enabling the "System - Legacy" Plugin in the Plugin Manager. This Plugin emulates Joomla! 1.0 and allows many version 1.0 extensions to run on Joomla! 1.5. There is a minimal performance decrease by this, but in most cases it is not significant. Extension providers still need to test and certify that their 1.0 extensions work in legacy mode. This is indicated by the tab "1.5 Legacy" in the Joomla! Extensions Directory listing. Legacy mode should be viewed as transitional software that allows you to work with version 1.0 extensions until the extension provider has reworked the extension to work with 1.5 in native mode. |
What has the copyright of Joomla!?
The Joomla! project does not aggregate the copyrights of its code contributors. No contributor is required to transfer his/her copyright to Joomla! and each individual contribution will forever remain in the ownership of its author. This also applies to translations of the Installation language set as these alone are included in the core release of Joomla!. Open Source Matters Inc., a not-for-profit organisation, holds the Joomla! project's assets and represents Joomla!'s legal matters. Joomla! project claims copyright over the total aggregated creation which is the CMS and framework. This copyright is held by Open Source Matters Inc. This is why each file in the release is marked "Copyright - Open Source Matters Inc." This does not violate the copyright and ownership of the individual contributions. These always remain the authors' property. Attributions of the copyrights of contributors and other included code elements is detailed in the main copyright file in the root directory of the Joomla! installation. As the contributors do not transfer copyright they instead declare that their code contributions are licensed to Open Source Matters Inc. in a limited and non-exclusive fashion. Limited meaning that Open Source Matters Inc. may only use their contribution if it is released under GNU/GPL for the entire Joomla! CMS (or GNU/LGPL in the specific case of the Joomla! Framework Libraries). Non-exclusive meaning that the contributors are free to do whatever they wish with their own creations including using it for their own releases under any licence they wish (including commercial). |
What does a simple Joomla! installation include?
If you simply install Joomla! without any modifications or extensions, the following (incomplete) list of features will be included. * Content component which allows creation and display of "content items" usually in the middle of the page. |
What do the locks mean and how do you get rid of them?
At any given time you may see a padlock next to a specific item in Joomla!'s administrative backend. These padlocks may be displayed next to any of the following (Content Items, Menu Items, Modules, etc). The Joomla! system places these padlocks next to an item to indicate that a user is currently editing the item (i.e. the item is "checked out"). The lock is removed by the system administrator when the user clicks on the "Save" button for that item. If the user never clicks "Save" and instead hits the "Back" button or navigates to another page, then the item remains locked. If a different user needs to work with an item that is in the "checked out" state he or she must first ask a manager or administrator to check the item in before any new changes can be made. There are two ways of checking items back in. One way is to contact the person that has the item checked out to see if they are done with the item. This can be difficult if you do not know who has the item checked out. The other option utilises the administrative back end; Click on "System => Global check in" This option should be used very carefully, especially in multi-user environments. This single action checks in all previously checked out items, whether they were checked out by you or not. Possible undesirable side effects may be that multiple editors end up working on the same document. In this case whoever clicks the save button last has their version saved as the final copy. |
What do Error 1, Error 2, and Error 3 mean?
Error 1 = FATAL ERROR: MySQL not supported... You need to compile MySQL support into PHP or the MySQL server is down. Error 2 = FATAL ERROR: Connection to database ... Joomla! cannot talk to the database, most likly you have a typo in the username or password settings in configuration.php, or you are trying to access a database table with the wrong table prefix. Error 3 = FATAL ERROR: Database not found... The database cannot be found. Check the database settings in configuration.php The MySQL variables in configuration.php (found in Joomla!'s root directory) can be modified to correct these problems. For Joomla! 1.0.xx $mosConfig_host = 'localhost'; Modifying the $mosConfig_host to an IP Address of a remote host works for hosts that have separate MySQL servers from the client hosting servers. |
What determines your home page?
Your "home" page in a traditional HTML site--the page that shows when you type mydomain.com for example--is the page in the index.html file. Joomla! is a database-driven content management system (CMS); it does not have HTML pages, but rather assembles the pages from the MySQL database. When you install Joomla! by default it has a menu link to the frontpage component as the home page. However, any content, component or other link can be used as the home page. Changing the Home PageThe "page" that shows is determined by the Main Menu. Go to Menu > Main Menu. Select the item you would like as the home page and click the default icon. See also
|
What determines what is shown on your frontpage?
Frontpage is a component that is part of the core of Joomla!, like the front page of a newspaper, it shows (usually) multiple pieces of content arranged in some way. When you install Joomla! the front page component is by default set as the homepage of your site (that is it is the first link on your Main Menu) but front page does not have to be your "home" page. What exactly appears on the front page and how it is laid out is controlled in two ways. First, if you open the menu link in your menu manager in the back end there are numerous parameters that control the number of items shown, the number of columns etc. To control which items are shown you must also indicate that an item should be placed on the front page by editing the parameters for the content item. In the back end this will be indicated by an icon in the front page column of the list of content items/articles. In addition, you can use the front page manager (in the content menu of the backend) to control the publication dates and other variables for content items that are on the front page. |
What are these strange (URL-Encoded) characters doing in my code?
OverviewAttackers sometimes hide code away from prying eyes by URL Encoding it. The purpose of URL Encoding is to allow non-URL compatible characters to be passed via the URL. There are many legitimate reasons for doing this, such as hiding email from spammers, dealing with spaces in file names. etc. However, if you find odd, URL-encoded text in your site's files, you should investigate immediately. URL encoded text is very easy to translate using PHP, javascript, or one of the many free, online translators. Here are some trivial, non-functioning examples of URL Encoded text:
Resources |
|||||||
What are the top 10 stupidest Joomla! security tricks?
10. Use the cheapest hosting provider you can find.
FYI: You can use a tool such as Robtext (if you are using a shared Hosting Provider) To see who you are sharing space with and if you should be proactive to request a move to another shared space. For example: http://www.robtex.com/dns/joomla.org.html or for REALLY cool information: Google.com: http://www.robtex.com/dns/google.com.html shows domain,shared,whois,blacklist,analysis,contact
|
|
| Read more... |
What are the recommended file and directory permissions?
Depending on the security configuration of your Web server the recommended default permissions of 755 for directories and 644 for files should be reasonably secure. |
What are the minimum Joomla! requirements?
Full details can be found in Technical Requirements.
|
What are the different Menu Item Types?
Articles This gives you access to content. You can then choose from section, category, archive, articles, front page. Within section, category and archive you can choose list or blog layouts. Blog Layout Blog layout will show a listing of all Articles of the selected blog type (Section or Category) in the mainbody position of your template. List Layout Table layout will simply give you a tabular list of all the titles in that particular Section or Category. Wrapper Wrappers allow you to place stand alone applications and Third Party Web sites inside your Joomla! site. The content within a Wrapper appears within the primary content area defined by the "mainbody" tag and allows you to display their content as a part of your own site. A Wrapper will place an IFRAME into the content Section of your Web site and wrap your standard template navigation around it so it appears in the same way an Article would. Each Component Each component will have its own link. Some may require you to make additional choices of options. External Link Lets you link to an external site. There may be occasions where you also want to point to a link directly to a apage on your site. Separator This lets you make a text or image only (non-linkable) menu item. Alias Lets you make a link matching an existing menu item. This avoids the problem of having multiple URLs pointing to the same content. |
What are the best practices for site backups?
Full Backups
Cumulative Backups
|
|
| Read more... |
What are section, categories, content items and articles?
Joomla! is a content management system. Sections and categories allow you to organize your content. The basic structure is: Sections include Categories. Categories include content items (1.0)/articles (1.5). Section A Category A1 |
|
| Read more... |
What are positions?
Site templates divides the "pages" displayed on a site into a series of positions, each with a different name. Extensions => Templates. Select the template you wish to preview and click the edit icon. Click the preview icon. You can add or remove positions by modifying your template html. You assign a module to a position using the module manager. In the module manager, edit the module. In the left column select all, none or the specific pages you would like it to appear on. Notes: Modules that are not pubished (1.0) or enabled (1.5) will not display. Modules can be assigned to unused positions (positions not in the template) if you want to have them published but not displayed in a position (for example, if you want to display a module in content using {mosloadposition} (1.0) or (1.5)). Multiple modules may be assigned to the same position. They will be displayed in the order shown for modules in that position in the module manager. If you want to display a module in more than one position, use the module manager to create another copy. 1.0 copy the module and assign the copy to the second position. 1.5 use the new icon and create another instance of the module. |
What are module switches?
This is how you apply the switches:
<?php mosLoadModules ( 'user1', -1 ); ?> The outputted html code looks like this: <div class="user1_inner"> |
|
| Read more... |
What are components, modules, mambots and plugins?
ComponentsContent elements or applications that are usually displayed in the center of the main content area of a template. This depends on the design of the template in use. Components are core elements of Joomla!’s functionality. These core elements include Content, Banners, Contact, News Feeds, Polls and Web Links. Members of the Joomla! community produce third party Joomla! components on a continuous basis. They are freely available to download from http://extensions.joomla.org/ and a number of other web sites. See also Modules.
Plugins and MambotsPlugins and mambots are the same thing. Plugin is the term used in 1.5 while mambot is used in 1.0. A plugin or mambot is a small, task-oriented function that intercepts content before it is displayed and manipulates it in some way. Joomla! provides a number of Plugins in the core distribution, e.g. WYSIWYG editors, but there are many other plugins available for specific tasks. Some 3rd Party developer components have their own plugins which need to be installed in order to make the component work properly.
|
|
| Read more... |
Unable to connect to the database
Unable to Connect to the Catabase: Could Not Connect to MySQLIf during or after installation, you received "Unable to connect to the database" error, verify that you have entered your MySQL database details correctly. The installation script will not allow you to continue unless the details are correct. If the failure occurs after moving your site to another host, check the following items of your configuration.php file. The normal database settings are the following: var $dbtype = 'mysql'; The Most Common Reasons
|
Starting with Joomla! FAQs
How do I eliminate the pathway or breadcrumbs?The pathway or breadcrumb is a hierarchical trail that shows your current location on the site. The breadcrumb follows the Section, Category, Content Item hierarchy and a site's home page is always listed as the root of the hierarchy as "Home". An example is as follows; You are currently reading a content item "New Page". This content item is a member of the "Pages " category. In the turn the pages category is a member of the "Books" section. In this case the breadcrumb for that page would look like: "Home >> Books >> Pages >> New Page". |
|
| Read more... |
Should PHP run as a CGI script or as an Apache module?
There are two ways to configure Apache to use PHP:
(PS: Windows IIS normaly configures as CGI by the way) It is the intention of this post to provide you information relating to the configuration and recognition of each method. "In general" historically only one method or the other has been implemented, however, with the architectural changes made to PHP starting with PHP5, it has been quite common for hosting firms to configure for both. One version running as CGI and one version running as a Module. It is generally accepted more recently that running PHP as a CGI is more secure, however, running PHP as an Apache Module does have a slight performance gain and is generally how most pre-configured systems will be delivered out of the box. |
|
| Read more... |
Security Checklist 7
We are sorry for any basic language used in this document. Before you post in the joomla security forum please read this checklist summary, then use it as a post template.
On Line Action List
|
|
| Read more... |
Only one edit window! How do you create "Read more..."?
This is now implemented by inserting a tag (button is in the editor area) a dotted line appears in the edited text showing the split location for the "Read more...". A new bot takes care of the rest. It is worth mentioning that this does not have a negative effect on migrated data from older sites. The new implementation is fully backward compatible. |
Moving the site among directories/sub-directories
Many times you install Joomla in a sub-directory and then want to move it to a higher level directory, here's a short tutorial on how to do it. Note that this is written for Joomla 1.5, in case you are still using Joomla 1.0, migrate now! Say you have installed Joomla in the following folder public_html/tryjoomla Now that you are satisfied with the site, you'll want to move to public_html |
|
| Read more... |
Moving sensitive files outside the web root
One challenge in Joomla! is ensuring that certain PHP files in public_html (or otherwise known as httpdocs or www depending on your server setup) containing executable code or confidential data are protected from direct Internet access. There are various ways to protect such files, but most are not optimal. Many users and developer groups, such as Gallery2 and Apache.org strongly recommend against keeping vulnerable files and confidential data inside public_html. The following method seems to be the simplest and most elegant way to protect read-only files that, for whatever reason, must be stored in public_html. In this example, we protect configuration.php, perhaps the most confidential file of any Joomla! site. Using this method, even if the Web server somehow delivers the contents of PHP files, for example due to a misconfiguration, nobody can see the contents of the real configuration file. |
|
| Read more... |
Isn't locating all Joomla! files inside public html a security risk?
Short answer Potentially, yes. Your site can be secure, but you must be careful and vigilant. Long answer A common security principle is to create various security levels and then grant access at each level only as required. On UNIX servers this is done by setting the user, group, and world permissions on directories and files. |
|
| Read more... |
How you reset an administrator password?
Introduction Because passwords are stored using a one-way "salted" MD5 hash which prevents recovering the password, you cannot recover an existing password, but you can reset it to a new password by editing the password field in the database. In the following directions, you will set the password MD5 value to a known value and then log-in using the password that matches that value. Once logged in, you can change the password again using normal Joomla! user access screens. |
|
| Read more... |
How to add CSRF anti-spoofing to forms
What is a CSRF Attack?A Cross Site Request Forgery (CSRF) attack relies on the trust a website has for a user to execute unauthorized requests and or transactions. For example, say a user is logged into their Joomla! websites' administrator interface in one tab and is browsing a compromised site in another tab. A simple CSRF attack can be launched simply by tampering with IMG elements in some browsers so that they point to something like http://some/joomla/site/administrator/index2.php?option=com_users&task=delete... |
|
| Read more... |
How much disk space do you need to install Joomla!?
15 megabytes (mb) of disk space should be enough for a default installation without additional extensions or media (such as image, audio, or video files). The database will be small when starting, and will grow when adding more content. |
How does FastCGI affect Joomla?
When PHP runs from FastCGI, your server runs the PHP interpreter like an Apache module, but with the rights of your user account. Usually, the PHP interpreter is either running as the user of the webserver (which is fast, but insecure, since everyone's scripts run with the same rights), or as a CGI program, which is slow. Thus, FastCGI is a good solution for shared hosting. Since the PHP interpreter runs as a single instance, it does (AFAIK) not parse the .htaccess or php.ini files per directory. To change php.ini settings, your host must offer you a method to set up or modify your own php.ini, or at least parts of it. Here is how one of host does this: it parses one php.ini file (which the user can modify) once an hour, and puts some well-defined settings into the web server's main php.ini file. Thus, users are able to change some settings for their site only, such as turning register_globals off, switching between PHP4 and PHP5. If your server uses FastCGI, you can ask them to enable a method such as the above example, or you may be able to ask them adjust some settings for you. |
How do you upgrade a site to Joomla! 1.5?
You can migrate a Joomla! 1.0.x site or a Mambo 4.5.x to Joomla! 1.5. Joomla 1.5 does not provide an upgrade path from earlier versions. Converting an older site to a Joomla 1.5 site requires creation of a new empty site using Joomla 1.5 and then populating the new site with the content from the old site. This migration of content is not a one-to-one process and involves conversions and modifications to the content dump. There are two ways to perform the migration:
Automated migrationThis is a two phased process using two tools. The first tool is a migrator component named 'com_migrator'. This component has been contributed by Harald Baer and is based on his 'eBackup' component. The migrator needs to be installed on the old site and when activated it prepares the required export dump of the old site's data. The second tool is built into the Joomla 1.5 installation process. The exported content dump is loaded to the new site and all conversions and modification are performed 'on-the-fly'. |
How do you tune for speed with PHP5 and MySQL5?
|
|
| Read more... |
How do you switch to PHP5 using .htaccess?
Overview Many shared server environments currently run .php scripts using the PHP4 interpreter and .php5 code using the PHP5 interpreter. Rather than changing all your file extensions, and perhaps breaking many links, use a .htaccess file to dynamically map one extension to the other. IMPORTANT CAVEAT: One common reason for doing this is that hosts leave PHP4 configured with register_globals ON in order to support legacy code while offering PHP5 with register_globals OFF. If you are on a shared server at a host that has configured register_globals ON server wide, you should be very worried! Turning register globals OFF via a local php.ini or a .htaccess file will NOT offer you any extra protection. Another exploited account on your server can simple hack yours. For server security, and since php 4.2, register globals is OFF server wide by default (php default). Any host overriding this is inviting trouble. If you need register globals ON for a specific site, simple use a .htaccess file for that specific directory, and server wide security will not be compromised. Of course, if you do this be sure all effected scripts fully sanitize input data. Requirements 1. Your Apache server must be configured to use .htaccess files. If not, you may be able to request this from your host. 2. Your Apache configuration must allow the following setting. If not, you may be able to request this from your host. 3. Your host must have configured the .php and .php5 file extensions as described above. If not, they may possibly have chosen other extensions. Check with your host. Directions 1. Check to be sure your site is configured to use .htaccess files. 2. Make a backup of the .htaccess file in your root public_http directory. If you don't have a .htaccess file at this location, create one now. 3. There are various ways to set the comman, depending on your server configuration. One of the following will probably work. Add ONE the following lines at the end of your .htaccess file. If unsure which to use, check with your hosting provider on which version works best for your configuration. AddType x-mapp-php5 .php 4. Carefully test. 5. Delete the backup .htaccess file. Don't leave backups of .htaccess files in public directories. |
How do you setup a powerful password scheme?
Overview
Directions
|
How do you set up Joomla! on Win XP for local testing?
There are multiple methods available for creating a local development and testing environment for Joomla! on Win XP including: XAMPP
**Apply Xampp Post Installation Security Settings Utilizing the Security Option on the Left Menu.** |
How do you set parameters for articles and other content items?
In Joomla! 1.5, many Article parameters, such as Show Title, Show Author, and so on, can be set in three places:
Typically, parameters at the individual article and menu item levels can be set to a specific value or to a value of "Use Global". If the individual article's parameter is set, then that value controls the setting. If this is set to "Use Global" then the menu item parameter is checked. If the menu item is set to a specific value, that value is used. If the menu item is set to "Use Global", then the global parameter setting is used. A similar hierarchy is used for other content items, such as Banners, Contacts, News Feeds, and Web Links. |
How do you set global preferences for content?
Global preferences in content are set in the article manager. In the backend, go to Content>Article manager. On the tool bar, second from the right, there is the preferences icon. Click that and set your global preferences. |
How do you search the forum to find what you need?
The forum search is somewhat tricky. Here are some tips for effective searching:
|
How do you restrict directory access by IP address using .htaccess?
Overview This can be a very effective way to protect your Joomla! administrator directory. Any other directory in public_html can be protected in the same way. This method only works if you have a static IP address assigned to you. Anyone attempting to browse such directories using a different IP Address will get a 403 Forbidden error. Directions
Order Deny,Allow
100.100.100.101, 100.100.100.102 |
How do you request a feature?
You can request a feature here: http://forum.joomla.org/index.php/board,38.0.html or here: http://joomlacode.org/gf/project/joomla/tracker/?action=TrackerItemBrowse&tracker_id=20 You will need to register at joomlacode.org to submit a feature request. |
How do you report a bug?
If you think you have found a bug, please report it. Please start by posting a description in the Quality and Testing Forum for the release. This will allow others to see if the problem can be reproduced. 1.5: http://forum.joomla.org/index.php/board,199.0.html Before reporting a bug to the issue tracker, we strongly recommend reading How to Test and Report To report a bug using the tracker you need to register at joomlacode.org. For bugs in the 1.5 series, please file the report here: http://joomlacode.org/gf/project/joomla/tracker/?action=TrackerItemBrowse&tracker_id=32 |
How do you remove or change the "Welcome to the Frontpage" title?
The setting for the Page Title is located in the parameters of each Menu Item under "Parameters (System)". For Example to change the Page Title for the Home page of the Sample web site, you would navigate to Menus / Main Menu, click on "Home" to open the Menu Item:[Edit] screen. Then click on "Parameters (System)" to show the System Parameters, and either change the "Page Title" parameter or set "Show Page Title" to "No". |
How do you redirect users after a successful login?
Select the redirection page from the list of menu links offered. Make sure that the link is to a published item. Note: The same procedure is used for redirecting users on successful logout except you enter the page where you want to redirect successful logouts to where it says "Logout Redirection URL." If you would like to override the default login specified in your Administration back end from your custom code you can do so with the following: |
|
| Read more... |
How do you recursively adjust file and directory permissions?
Using Joomla! Administration In the Back-end, go to Site --> Global Configuration --> Server. Using the UNIX shell Note: The find command automatically assumes that it should start from the current directory. To be safe, go to your public_html directory and specify a path as the first argument. Some shells, such as bash on Apple OS X, must have a path specified in the find command. find . -type f -exec chmod 644 {} \;
|
How do you recover your admin password?
Normally, you can add, edit and delete users and passwords from the back-end User Manager. To do this, you must be logged in as a member of the Super Administrator group. In some situations, this may not be possible. For example, your site may have been "hacked" and had the passwords or users changed. Or perhaps the person who knew the passwords is no longer available. Or maybe you have forgotten the password that was used. |
|
| Read more... |
How do you put a module inside an article?
You will usually want to associate modules with articles in some way. The modules are allocated to module positions and the module positions appear somewhere on the web page as determined by the template. However, it is sometimes useful to have a module actually embedded in the article content itself. To insert a module inside an article you use the "" command, as follows:
The module will show at that point in the article. Note that this only works when the plugin 'Content - Load Module' is enabled. If this plugin is disabled, the text "" shows unchanged in the article. |
How do you password protect directories using .htaccess?
Overview This FAQ explains how to protect the Joomla! /administrator/ directory on Apache servers using the htpasswd utility. You can easily adapt these instructions to protect other directories. If you need help finding or creating your .htaccess file, start here. Caveat (From Apache.org) Basic authentication should not be considered secure for any particularly rigorous definition of secure. Although the password is stored on the server in encrypted format, it is passed from the client to the server in plain text across the network. Anyone listening with any variety of packet sniffer will be able to read the username and password in the clear as it goes across. |
|
| Read more... |
How do you organize the front page with the right columns and layout?
If you're just getting started, take a look at the Absolute Beginners Guide to Joomla!. There are a great many conceptual ideas there that you need to understand. There are five parts to setting up your frontpage.
|
How do you modify a template?
Templates are just a series of xml, php, html and image files that are stored in the templates directory of your site. You can edit these files or you can use the editing interface available in the Template Manager. In the Back-end, select Site>>Extensions>>Templates. Select the template you wish to modify. Click the edit icon. both You are given the choice of editing "html" and "css." CSS stands for cascading style sheets. This controls many elements of the look and feel of your site. HTML is the file that controls where positions are defined and positioned. Other than that, it should be noted that, with a few exceptions, what is in the .css and what is in the HTML files largely depends on the approach of the tempate designer. One common change is to use your own graphic/image. Graphics are linked to in the HTML file. Simply change the reference to the image of your choice. Keep in mind that it if it is a different size than the original image this may change the appearance of the site in unexpected ways. |
How do you make a menu link that is not clickable?
To make a menu link that does not connect to anything (is not clickable) use the link type Separator/Placeholder |
How do you link from inside content to another content item?
The simple answer is that you get the page URL you want to link to and then make a link using whatever text editor you are using or (if you have no wysiwyg) with html. The more complicated answer is that some text editors have fancier links managers. A number of these editors are available in the Joomla! Extensions Directory. See the Tips and Tricks article How_to_control_module_display_when_linking_to_an_article_with_no_menu_item for more detailed information. |
How do you install an extension?
Before starting it always is wise to read the documentation associated with an extension. Most extensions have homepages and forums, and it is a good idea to look at them first. If there is a README file included with the extension, you should read it. For most extensions and most users, the procedure will be:
There are some situations in which this procedure will not work. Sometimes you need to unzip the file locally prior to installing. If you get an error saying that the file is not in the correct format, the need to unzip is a common cause of this. After unzipping try installing the individual items. Note that the files you upload using the installer still need to be zipped. Sometimes you cannot use the automated installer. For example, very large extensions may exceed the maximum upload size allowed by your host. Also, If you see an error like this: Warning: is_dir() [function.is-dir]: open_basedir restriction in effect. File(/) is not within the allowed path(s): ... this is because of a restriction of your hosting account and a Joomla bug (trying to check if the root directory exists). You will not be able to use the automated installer. Manual InstallationFirst, unzip all of the files locally. Then transfer the files (using FTP) to a folder in the install directory (for example administrator/components/com_installer/components) for the type of extension you are installing. Then use the installer, but select "install from directory" indicating the correct folder name. This folder name should be an absolute path from the root of the filesystem. |
How do you install a new template?
In the Back-end of the site, go to Extensions>>Install/Uninstall. Browse for the template zip file and click Upload File and Install. Alternatively, you can install from a directory or URL. To make the new template the default template for your site, select it and click the default icon (star). |
How do you install Joomla! 1.5?
Instructions for installation can be found here. http://help.joomla.org/content/section/48/302/
|
How do you implement Search Engine Friendly URLs (SEF)?
|
How do you get rid of the breadcrumbs?
Breadcrumbs are a core module in Joomla! 1.5 and can be enabled or disabled for all pages directly through the Module Manager in the Back-end. Just navigate to the Module Manager, find the Breadcrumbs Module, and disable it. To prevent the breadcrumb pathway from displaying on the Frontpage only, change the code of the index.php file of your template as follows:
<jdoc:include type="module" name="breadcrumbs" />
<?php if( JRequest::getVar( 'view' ) == 'frontpage' ) { ?> |
How do you get rid of the News Flash or other modules?
Any Joomla! Module can be disabled from the Module Manager. To do so,
|
How do you find exploits using the *NIX shell?
Check the active processes Use the "ps" command to look for odd or unknown processes, if you aren't sure what to look for there, user "netstat -ae | grep irc" and/or "netstat -ea | grep 666" and look for ports 6666, 6667, 6668, 6669, these are common ports used for running IRC bots, they may have the name "irc" listed against them, or may have "httpd" or sometimes other regular services names. Check crontab Check your crontab and see if there is a strange entry, these are used in many exploits to restart IRC bots, even when admins or automated process monitors are used to kill a rogue process. Check for hidden files or directories Check for hidden files or directories you dont expect to see, those starting with "." (dots) and also look for ". " (dot, space) often favored to try and catch searches for hidden directories. Other examples of searches that may help pin down exploits and/or unexpected files and folders: find /home -type f | xargs grep -l MultiViews |
How do you find a Joomla! extension?
The official Joomla! extensions site: http://extensions.joomla.org/ is the main source for extensions. If you cannot find what you need there, you should also search the Joomla! Extensions Directory Forum. If you still cannot find the right component then you should post a request or question in the Extensions Directory forum. |
How do you empty your PM-box on the forum?
Problem Your PM-box is full and nobody can send you anymore messages. How to solve this? Solution go to your messages and "check" the box and click delete for those you want to delete. Note: READ them first before you delete them! |
How do you display an RSS feed?
A second way is to use the News Feeds component that comes with Joomla!
|
How do you create a custom module?
To make a custom module, go to the module manager and then click on "new." This will give you a detailed list of existing modules. Look for "Custom html." Select this, and then click on next. |
How do you copy a site from localhost to a remote host?
When you are first trying out Joomla!, it is often recommended that you install it on your local system. (e.g., "localhost"), for example with XAMPP, and get your site running locally. Eventually you may want to copy this site to your remote host. Fortunately, this is easy to do. This article assumes you have installed Joomla! 1.5 on your local computer, you have created a website and you now wish to copy this website to your remote host. Here are the steps: |
|
| Read more... |
How do you convert an htaccess.txt file into a .htaccess file?
Introduction When using PHP as an Apache module, you can change the configuration settings using directives in Apache configuration files (e.g. httpd.conf and .htaccess files). You will need "AllowOverride Options" or "AllowOverride All" privileges to do so. If you control your own Apache configuration, you can and should use httpd.conf. If you do not control your Apache configuration (such as on a shared server), you must use .htaccess files. Directions
|
How do you control whether modules are vertically or horizontally arranged?
The optional style="" attribute is available for the module and modules types of <jdoc:include /> statements. The attribute value refers to the "chrome" style used to wrap the output generated by a module. If no style is provided, a value of "none" is used by default. The standard styles which are declared in /templates/system/html/modules.php include:
Template designers may add additional chrome names by adding a custom version of this file to /user-template/html/modules.php. For more information on module positions in templates, see jdoc statements. |
How do you choose secure extensions?
1. When was the last version released?
2. What kind of release is it? |
|
| Read more... |
How do you choose a quality hosting provider?
The following is a short list of security-related requirements. Depending on your specific needs, you may have many other security requirements such as shell access, cron access, SSL server, etc.
|
|
| Read more... |
How do you change the image(s) in your template?
One common template change is to use your own graphic/image. Simple graphics (not banners) are linked in the HTML file. Simply change the reference to the image of your choice in the HTML file of your template. Do this by, in the adminsitrative interface, going to Site>>Template Manager and then selecting your template. Click the icon for html. In Joomla v1.5+ from the adminsitrative interface go to the drop down menu item Extensions to find the Template Manager. Keep in mind that if it is a different size than the original image this may change the appearance of the site in unexpected ways. The images for a given template are generally located in this folder: /templates/templatename/images (where you substitute the name of the template you are using.) |
How do you change the favicon?
Favicon is the favorites icon that is associated with your site and appears in the browser address bar. Both Joomla! 1.0.x and 1.5.x come with a default favicon that displays the Joomla! Logo. You may change that as long as your new favicon is in the ICO format and sized 16×16 pixels. Here's how to do it: Unlike the 1.0.x series, the only name you are allowed to use for your favicon is favicon.ico but you are offered the flexibility to associate different favicons with different templates. You only need to upload your favicon.ico into the main folders of your front-end and back-end templates, which are found in the /templates/ and the /administrator/templates/ folders respectively, overwriting any favicon files that came with your templates. However, if you'd rather use a single favicon.ico for all your templates, just upload it into Joomla!'s main folder (that's where your index.php resides) and into the /administrator/ folder. Make sure you delete all favicon.ico files found in the template folders mentioned above because Joomla! will check your template folder first for the favicon.ico file. Note To see the new favicon you will need to empty your browser cache. |
How do you change the date format?
The date format information for Joomla! 1.5 is stored in the file <Joomla! home>/language/<your language>/<your language>.ini. For example, for English, it is <Joomla! home>/en-GB/en-GB.ini. To change the date format, find and edit the values "DATE_FORMAT_LCx". By default, the date is in international format (for example |
|
| Read more... |
How do you block or delete a Super Administrator?
If you try to delete or block a user who is a Super Administrator, you will get an error message saying "You cannot delete (block) a Super Administrator". If you need to delete or block such a user, do it in two steps as follows:
As of 1.5.9, if the SA user is already blocked (since 1.5.9 seems to not allow blocking a Super Admin, this is probably an obscure case where the SA was blocked, then Joomla upgraded) unblock him/her and Save. THEN demote the user, then...
|
How do you block directory scans using .htaccess?
Directions Add Apache rewrite rules to your .htaccess file. For example, the following will redirect all attempts to access files with names starting with, "phpMyAdmin" to index.php.
RewriteRule ^/phpMyAdmin.*$ /index.php
^ Means start of filename |
How do you block direct hot linking to image files using .htaccess?
Caveats
Directions
|
|
| Read more... |
How do you assign a template to a specific page?
In Joomla! there is a default template, but you can assign other templates to specific "pages" that are defined by menu links. To assign a template to a page, you must first make sure that there is a direct menu link to the page.
Note that you cannot assign the default template to individual pages. Understanding The templating system uses the ItemID to determine which template to show. ItemIDs are created when you create a menu link. This is why only menu items are shown in the list of pages to which you can assign templates. |
How do you assign a module to specific pages?
Navigate to Extensions>>Module Manager. Select the module you want to assign and edit it. On the left there is a list of menu items. You can chose between None, All and Select Menu Item(s) from the List. To assign to some but not all pages choose the third option and select the menu links that you want the module associated with. Notes:
|
How do you assign a module to a position?
Navigate to Extensions>>Module Manager. (Note: all available modules show up under this Module Manager, even though some of them are built into Joomla! and are not extensions.) On the left side of the page, on the third line, there is a menu that lets you select the position. You also can create a new position name on the fly but typing it in the same space as the menu. (In that case, make sure the same position name also appears in the template file.) Modules that are not published will not display. Modules can be assigned to unused positions (positions not available in the template) if you want to have them published but not displayed in a position (for example, if you want to display a module in content). See How do you put a module inside an article? for instructions on putting a module inside an article. Multiple modules may be assigned to the same position. They will be displayed in the order shown for modules in that position in the module manager. If you want to display a module in more than one position, use the module manager new icon to create an additional copy and assign that copy to the second position. |
How do you adjust Joomla 1.5 defines?
Edit your /includes/defines.php file. Below is the relevant code. define( 'JPATH_ROOT' , implode( DS, $parts ) ); |
How do you add a new template position?
The list of available positions where you can insert a module is controlled by the template you are using. It is possible to add new positions to a template. In this example, we will add a new position to the default rhuk_milkyway template. Here are the steps. |
|
| Read more... |
How do you add a PayPal button?
PayPal, Google, and other sites often provide HTML code that you can use to insert links into your website. You can insert this type of HTML code, including forms, either inside an Article or using a Custom HTML Module. However, the TinyMCE editor will normally strip out this type of HTML code. So if you try to paste in some types of HTML code using this editor, it will not work, since the editor will remove the code when you save the Article or Module. To avoid this problem, do these steps: |
|
| Read more... |
How do UNIX file permissions work?
Unix/Linux file permissions can be confusing. The basic UNIX permissions come in three flavors; Owner Permissions : Control your own access to files. In Unix, when permissions are configured the server allows you to define different permissions for each of these three categories of users. In a Web server environment permissions are used to control which Web site owners can access which directories and files. What do Unix permissions look like? When viewing your files through an FTP client or from the servers command line; filename.php username usergroup rwx r-x r-x |
|
| Read more... |
How can you view a live site while developing, but hide it from others?
Introduction The method described below should be used for relatively minor modifications, such as adjusting menus or quickly reorganizing content sections. More complex tasks, such as installing new components or adjusting complex configuration settings should be performed and tested on a development server first. Not only does this keep your public site up and running, but it also lets you test at your leisure, thus reducing errors. One way to do it is to create a sub-domain (i. e., dev.yourdomain.com) and install Joomla! there just as it is installed on your public site. Directions 1. Login to the administrator section, and choose: Site > Global Configuration. 2. The first option you'll see is is to set the site offline. Choose "Yes" and press the Save button. This will hide prevent display of all site pages, and replace them with the following message: "This site is down for maintenance. Please check back again soon. message instead." 3. While you are logged into the "back end" administrator system, you can still view the "front end," by choosing Site > Template > Preview. This will display the site as it would appear to users along with a warning at the top that the site is down for maintenance. |
How can you help the extension submission process?
There are several ways you can help the extension submission process go faster and smoother. As you may know, the Joomla! Extension Directory is supported by volunteers and it takes time to go through all the extensions. To make things easier:
|
How can you check your Joomla! installation's overall security and health?
|
How can you check if mod rewrite is enabled?
Many problems with search engine optimization (SEO) arise from the fact that a host has not enabled mod_rewrite on the server. 1. Enable SEO in your administrator! (administrator > SEO > Enable > Save) 2. Rename your htaccess.txt to .htaccess, or use your existing .htaccess file. 3. Place ONLY the following lines in your .htaccess file. Options +FollowSymLinks 4. Point your browser to: http://www.mysite.com/joomla.html (Replace 'mysite.com' with your site's actual URL.) 5. If you are redirected to www.joomla.org, mod_rewrite is working. If you get an error, mod_rewrite is not working. 6. Note: if your site is located in a sub-domain, for example "test" you need to modify .htaccess as follows: Options +FollowSymLinks |
How can you change PHP settings using .htaccess?
Introduction This FAQ explains how to set boolean PHP configuration directives using php_flag. The format for php_flag is: php_flag name on|off
1. Open the .htaccess file located in your site's home directory, or if you don't have one, create a blank one now. Note the period character (.) at the beginning of the file name. 2. Add any of the following code samples to your .htaccess file, each on it's own line. These sample commands will prevent common global variable injection attacks, cross site scripting (XSS) sttacks, and code injection attacks. php_flag register_globals off php_flag allow_url_fopen off php_flag magic_quotes_gpc on
3. Save the .htaccess file in your site's home directory. 4. Test your site's front end and back end. |
How can you avoid using chmod 0777 to enable installs?
On a private server with a small, controlled set of users, there is no need to use a chmod 777 to make the Joomla! folders writable in order to perform installs. You can set the server up so that both Apache and FTP have control of site files. Directions
Optional
|
Help! Your site's been compromised. Now what?
Directions
|
Does the home page need to be a front page menu item?
No. In Joomla! 1.5, the home page can be any type of menu item and can have any name. The only requirement is that one menu item must be assigned as the "Default" menu item. This is the menu item that will display when a user navigates to your URL. Also, any menu item can be assigned to use the "Front Page" menu item type. |
Cannot save Global Configuration changes
The problemAfter entering the Global Configuration area on the site Administrator “back-end” and then clicking on either the “Save” or “Apply” button to save the current choice of site configuration, the following error message appears: “An Error has occurred! Unable to open configuration.php file to write!”, possibly accompanied by: “JFTP::write: Bad response” if you are working in FTP enabled mode. Reason for this errorThe configuration update script in Joomla! has been unable to change the contents of the file “configuration.php” to reflect any changes you made on the Global Configuration page. Joomla! has either been unable to write to the file and/or unable to make the file writeable (i.e. R/W). Since Joomla! 1.5.x attempts to make “configuration.php” writeable before saving the configuration, the latter is more usually the case. The most common reason for this is |
|
| Read more... |
Can you remove the "Powered by Joomla!" message?
[Joomla 1.5+] Starting with Joomla 1.5 and its move to Internationalization and full support of UTF-8, messages for footer.php and other Joomla pages has been moved to a language specific file. If you want to change the text, go to the language directory, go to the folder of the language you want to change, find the mod_footer.ini file and change the relevant text. For British English, the specific file is language/en-GB/en-GB.mod_footer.ini. Remember that you may not remove copyright and license information from the source code. If you want to remove the footer entirely, go to Extensions > Module Manager and unpublish the footer module. Other places where can look for options to make changes are these. If you find code related to footers in these files, you can either "comment it out" or remove it:
[Joomla 1.0] Yes. You may remove that message, which is in footer.php. You may however not remove copyright and license information from the source code. |
Can articles be assigned to multiple categories or sections?
No, Articles and other content items cannot be assigned to multiple categories or sections. In Joomla! 1.0 and 1.5, content items are restricted to a single category in a single section. Possible work-arounds include:
|
How do I add images to Joomla?
Upload Using Media ManagerThe simplest way to add images is to upload them from your computer using the Media Manager. First, of course, you have to download the image onto your computer and be able to find it. Then, from the Control Panel (back-end administrative interface) navigate to Site -> Media Manager. On the left is a directory tree, with the root directory "Media". This corresponds to the default "images" directory, yoursite/joomla/images. Pick a subdirectory where you want the image located, or else do nothing to upload the image to the default images directory. At the bottom of the page is a typical Upload box. Click "Browse" to locate the image on your computer, then "Upload" to upload the file to the server.
FTPOf course, you can upload images to a server using any standard FTP client. You might find this handier for adding images to template directories; however, if you have FTP set up, you probably don't need an explanation of how to add an image. Also, many server administration panels such as Cpanel and Plesk have upload capabilities.
ExtensionsThere are several extensions, available from the Joomla extensions section, that handle image uploads. |
New Joomla Templates
Social ConnectedName: Social ConnectedDescription: Social Connected is a new professional, easy to use Joomla template released by the Joomladesigns team which includes custom CSS style layouts for the Jomsocial and K2 Extensions. The Social Connected template includes the following features Three Jooml ...Owner: JoomlaDesignsTags: Computers, Communications, Business, Architecture
ExtendName: ExtendDescription: Extend is a professional easy to use Joomla template released by the Joomladesigns Team. The new Extend template supports the following features Includes Four different Joomla Templates Built-in colour picker to customize the template colour scheme Bui ...Owner: JoomlaDesignsTags: Business, Beauty, Architecture
NgineName: NgineDescription: Ngine is a new professional Joomla template from Joomladesigns.co.uk which supports a wide range of features including Five built-in Joomla templates Slide show Slide pop up boxes K2 CSS styles RTL support Six built in font styles Lots of module posi ...Owner: JoomlaDesignsTags: Software, Portal, News, Games
Simply City 2Name: Simply City 2Description: Simply City is a professional, fast loading Joomla template which is easy to use and includes a wide range of features. The web design also supports CSS styles for the popular K2 extension. The Joomla template includes the following features 3 multi col ...Owner: JoomlaDesignsTags: Computers, Communications, Business
Simply CityName: Simply CityDescription: Simply City is a professional, fast loading Joomla template which is easy to use and includes a wide range of features. The web design also supports CSS styles for the popular K2 extension. The Joomla template includes the following features 3 different ...Owner: JoomlaDesignsTags: Electronics, Computers, Communications, Business- Show more...







