Difference between revisions of "The mechanics of creating a Joomla! 1.5 web site"
From Joomla! Documentation
Line 222: | Line 222: | ||
To create a menu for an Article layout, you do need to have an Article to use for the Menu definition, even if it is not complete. | To create a menu for an Article layout, you do need to have an Article to use for the Menu definition, even if it is not complete. | ||
− | *Create Articles for any that you are going to define as having Article Layout. You can leave them as Uncategorised as they are positioned in the right place by the menu definition. | + | *Create Articles for any that you are going to define as having Article Layout. |
+ | :You can leave them as Uncategorised as they are positioned in the right place by the menu definition. | ||
+ | |||
<div style="border:thin solid navy; margin-left:50px; margin-right:50px; background: #F0F8FF; width: 90%;"> | <div style="border:thin solid navy; margin-left:50px; margin-right:50px; background: #F0F8FF; width: 90%;"> | ||
<span style="color:#000080"> '''Cross Reference:''' for creating new Articles | <span style="color:#000080"> '''Cross Reference:''' for creating new Articles |
Revision as of 07:15, 24 January 2011
The "J1.5" namespace is an archived namespace. This page contains information for a Joomla! version which is no longer supported. It exists only as a historical reference, it will not be improved and its content may be incomplete and/or contain broken links.
This page is about the mechanics of creating a new web site using Joomla! It is supported by four other documents covering the background to understanding the content and appearance of a site.
The aim of this document is to:-
- help you to set up a 'no frills' site
- be useful to someone altering an existing site
- to demonstrate how to create new Sections, Categories and Menus
- to demonstrate how to include a couple of Site Modules
Who is it written for?[edit]
Everyone - who is going to set up a Joomla! site.
- It is written on the assumption that you do not have much web experience.
Introduction[edit]
There are four pages with essential background information which are aimed at helping you to understand what is going on, whether you are going to create a new site or update an existing one. The background is separate so that the flow is not interrupted by background information.
If you have little experience with web sites, you will need to make more use of the background material than if you are an experienced developer. They are there to be used according to your needs.
Before you start[edit]
Give thought to content and design, as recommended in the background documents. Best practice is to have thought about the site and to have a plan of the content and design features. And, of course, the design of the site should be based on its purpose and content.
The mechanics of creating a web site[edit]
This can be done on any instance of Joomla! and the detail will depend on the facilities you have available. It is useful to use 'localhost' to get familiar with the processes involved.
Using 'localhost'[edit]
Another document in this series tells you how to download an instance of Joomla! on your own computer and install it both with and without sample data. This is a very good way to explore how to create new content because you can try things without doing any harm to an established site. An instance of Joomla! with no data is particularly valuable here.
Cross Reference: Localhost of Joomla! on your own computer.
Login to the Back-end of your Joomla! site[edit]
You will need Super Administrator permissions.
The Template to use for the appearance of the site[edit]
Decide which of the Templates to use.
Cross Reference: There is more information about how Templates work and how to change the template in the Background article.
Background: using default Templates
The examples here use JA_Purity. Joomla! ships with RHUK_Milkyway
- Make the one you have chosen the default Template. Reminder
In the Back-end, use Template Manager:-
- Pull down the menu called Extensions
- Choose Template Manager
Using Template Manager you can alter the Default.
- Click on the radio button to select one of the Templates
- Click the Default button on the menu
To see the result of this:-
- Click Preview
- This shows the only menu on the site with the Default Template
Add some Site Modules[edit]
It is useful to add these before adding the content hierachy. The login module is essential to allow you (and anyone else) to login to the site to view any content with more than public permissions.
Cross Reference: There is more about the Site Modules here - Background:design appearance using Menus and Modules
- Open the Module Manager
- Extensions / ModuleManager
Login Module[edit]
This is needed before articles and menus can be restricted to Registered users.
This Module displays a username and password Login form. It also displays a link to retrieve a forgotten password.
An aside: If User registration is enabled in the User Settings of the Global Configuration screen, then the link "Create an Account" will be shown to invite Users to self-register.
- Choose New for a new module
From the list of Site Modules displayed:-
- Click Login option
- Click Next on the Header
The Module Edit page displays
- Leave most of the settings as they are, but enter these:-
- Title - Login
- Position - Left (try Right if you want to see the effect of doing this)
- Menu Selection - leave this as All unless you want to have the login on selected pages.
You can alter a few display options - here there is some text above the login boxes. When the person logs out, they are re-directed to the Home page. Remember these can be altered later.
- Save the Module
To see the result:-
- Click Preview
There should now be a Login displayed to the left, beneath the Menu
Breadcrumbs[edit]
This module displays a 'breadcrumb' trail of where you are in the menu.
Using Module Management:-
- Choose New for a new module
- Choose the Breadcrumbs type
Parameters:-
- Position: Left
Other Modules can be added later
Create the content heirachy[edit]
You should have an inital idea of what Sections and Categories you are going to use. If not - then re-visit the background on this. Linked here. The rest of this part is about the mechanics of creating Sections and Categories, followed by Menus and Articles.
The example below takes part of a design for a sailing club web site showing how the basic information about the club could be designed in Section and Categories.
Section | Category |
About | About the club |
Contacts | |
Find Us | |
How to Join | |
Subscriptions | |
Newsletters | |
History |
Create Sections[edit]
In the Administrator Back-end:-
- In Section Manager
- Select New
The New Section page is displayed. Simply add the Section Title (About the Club) at this stage. The Alias is added automatically.
Other options are covered in Help.
Create Categories[edit]
In the example here, there are several Categories for this Section
- In the Category Manager
- Select New
Here you need also to enter the Section. There is only one but as more are created they are available in a pull-down list.
Descriptions are useful if you need to display information about a Category on a page. Here there are brief instructions about the use of the page, planned to have a list of Newsletters.
- (May have a cross reference)
Other options are covered in Help.
Create Menus and some Articles[edit]
Remember:-
- Nothing shows on the site until it has been linked to a Menu Item
- Joomla! adds the Main menu to your site automatically to display the Home page.
You should already have thought about the Menu and Menu Items you are going to need. Make sure that you use names that makes sense to anyone visiting the site. If not - look again at the Background information. (The description of the types of menu should be in the background doc - blog, article and list)
In the example the Menu Items are closely related to the Categories, although not necessariily displayed in the same order or with the same names.
An aside on layouts:
- For the blog and list layouts you do not need any articles available before you create the menu.
- To create a Menu Item for an Article layout, you do need to have an Article to use in the Menu definition, even if it is not complete.
Plan of the Menu Items[edit]
The Main menu acts as the Top level for this example.
- Menu Items are created underneath it.
- Menu items can also be created underneath sub-menus; whether you want to do this depends on the site.
Top level | Second level | Type and comment |
Home | Default blog layout | |
About the Club | Article layout | |
How to join | an article with suitable information | |
Find the club | an article with a map | |
Subscriptions | an article with the list of how much it costs | |
Contacts | an article with a list of contacts and details | |
History of the Club | a blog layout with READ MORE articles | |
Newsletters | a list layout so that more than one newsletter can be seen | |
Add a new Article | Article Submission layout, so that people with the right permissions can add articles |
[edit]
To create a menu for an Article layout, you do need to have an Article to use for the Menu definition, even if it is not complete.
- Create Articles for any that you are going to define as having Article Layout.
- You can leave them as Uncategorised as they are positioned in the right place by the menu definition.
Cross Reference: for creating new Articles
You can also use the Article Manager in the Back-end.
In the Control Panel for the site:-
- Choose Menu Manager
- Find the Main Menu
- Click on Menu Items for the Main Menu
There is one already there - this is the Home menu page that comes with Joomla! by default. (This can be altered but not here)
- Select New
This steps through a couple of choices
- Select Menu Item Type
The Menu Item Type controls how articles are displayed. This shows the one for Article Layout.
Fill in the name of the menu and Select the right article to display
Preview or go to the Site to see the result.
List and blog layouts[edit]
Choose the approprate layout from the first screen aside - the Parameters can be altered to show fewer things in the Table Headings. cross ref - to something about settings.
Here the Menu Item is located beneath another Menu Item, namely About the Club
an aside to tell them that if they create a new Menu (not menu item)- a new module is needed
Other things needed - ordering the menus
Adding Articles[edit]
Cross Reference:to article creation.
Much content can be added after the menus have been created.
Adding users[edit]
Cross Reference: to permissions.
Transferring an existing site into Joomla![edit]
Sometimes there is already some material on an existing site and it seems a good idea to use this as a basis for a Joomla! site where the content can be managed more flexibly.
- There is no automated way to press a button and transfer a static site into Joomla!
There are various strategies for doing it.
A simple conversion[edit]
Here you do not re-think the structure of the site. This is covered in this document. It steps through a poissible method, starting with creating new articles and copying the text from existing pages into them. http://docs.joomla.org/How_to_Convert_an_existing_Web_site_to_a_Joomla!_Web_site
If you do this, you can modify the site as you get to know it better. You also need to:-
- Add users with appropriate levels of permission
Redesign the site and use the existing content[edit]
Here you go through the thought and design processes covered in these documents. Thus you would decide upon and create:-
- Section
- Categories
- Decide which Template to use
- Decide on the Menus. You do not have to stick to simple article menus - you could have blog or list layouts for example.
- Create Articles to match those in the existing site
- Copy the content from the existing pages into the editor. You may need to alter layouts and do some editing. You will also need to import any illustrations (cross ref editing parts here)
- Add users with suitable permissions
This would give a site with the functionality appropriate to Joomla! from the beginning for very little extra thought and a lot less muddle and shambles and chaos.
Where next?[edit]
Articles and other content
Further information[edit]
Conversion of an existing site
Copying a localhost site to a production site
--Lorna Scammell January 2011