Book Image

Joomla! 1.5 Cookbook

By : Tom Canavan
Book Image

Joomla! 1.5 Cookbook

By: Tom Canavan

Overview of this book

If you are a Joomla! site owner, you must already be aware of how this robust, easy to use, open source content management system can help you build a great looking site instantly. You must also be aware of the many problems that it can throw up from time to time. Find the solutions to all your basic and advanced Joomla! queries, so you don't have to wait for someone on the forums to help you out every time.The Joomla! 1.5 Cookbook will provide you with quick and direct solutions to the most common and uncommon problems faced by you, the Joomla! site owner, sidestepping all the theoretical fuss.Joomla! is the insanely popular, award winning content management system which helps you build professional looking websites, even if you don't have any HTML programming experience or design skills.Although, sometimes you might trip over some common pitfalls which would slow the progress of your website down. This book will help you find a direct and quick way through these common problems which can be easily avoided with a few tips and tricks. It starts of with solutions the most common queries that you might face during the installation and setup for Joomla! 1.5 moving on swiftly to guide you through Joomla! templates, modules, security, managing your users and much more. So the next time when things go wrong with your Joomla! site and you are wondering, for example, how to work with your site's database; just pick up this book and quickly find your way through this.
Table of Contents (18 chapters)
Joomla! 1.5 Cookbook
Credits
About the Author
About the Reviewer
Preface
Index

Setting up a site in a subfolder


Occasionally, you will want a subfolder for a site - such as http://developmentsite.example.com.

While not always preferable, for security reasons it's very simple to do.

Getting ready

We require the following:

  1. Fresh copy of Joomla! 1.5.21 or greater.

  2. Setting up a new database.

  3. Make sure your host helps you set up a subdomain in your DNS.

How to do it...

  1. Connect to your web server with your FTP client (FileZilla).

  2. Navigate to the root directory of your subdomain.

  3. Upload a fresh copy of Joomla! into it - be careful you don't overwrite your current site.

  4. Open your database manager (typically phpMyAdmin) and create a database - record the username and password.

  5. Open your browser and navigate to the new subfolder:

    http://www.example.com/subdomain

The normal Joomla! install should commence now.

How it works...

The browser treats this folder like any other folder. The browser will load the index.php file and run it.

You can load up any extension, template, module, or anything else.

This is a great way to have a development site reside on your production server. The positives to this are you will know if you have any server-related issues. It also makes it simple and quick to move from development to production.

The downside is if you have a script run-away with itself, it could impact your production site.

The best practice is to put the development site on another server or a local machine.

There's more...

Depending on your host's configuration, you can set up a true subdomain, rather than a subfolder. The steps to do that are beyond the scope of this book. Please contact your host for assistance on this.