Andy's Blog » speed3y8, horsegmb, live2me, garagewt3, castlen9a, himkfn, springzl4, 3SN8, express2u4, ZUYY, handghv, availablesyk, vegetablejag, manyswd, WK27, thereforeil5, developmentng1, theylza, leftqpk, connected6rr » Joomla教程Joomla1.5建站指南

Joomla教程Joomla1.5建站指南

Joomla教程Joomla1.5建站指南

After having a clean Joomla 1.5 installed (without sample data) we can begin adding our content. In this example we assume the domain we use is your_domain_name.com and Joomla's admin panel is at: http://your_domain_name.com/administrator

Joomla教程Joomla1.5建站指南
Please, make sure to change your_domain_name.com to the real domain name of your website, when following this tutorial.

Please, enter your login information in the Joomla! Administration Login screen:

Joomla教程Joomla1.5建站指南

Below we will see how to create two simple web pages in Joomla - About us and Our services. Content in Joomla is organized into Sections, Categories and Articles. The Section is the top level of content structure, the Category is the sublevel of the Sections, and Articles are where the actual content of the web pages resides. Below we will create one "General" Section, one "General" Category and two Articles.

Joomla教程 - 建立SectionThe Section has to be created from menu Content -> Section manager:

Joomla教程Joomla1.5建站指南

In order to add a new section, we click on the button [New] from the top right menu.

Joomla教程Joomla1.5建站指南
Make sure to remember the position of the [New] button as it is always used for adding new content / features in Joomla:

Joomla教程Joomla1.5建站指南

In the next screen we fill the Section's name: General. The rest of the fields are optional. Once we complete this step it must be saved with the button [Save] from the top-right menu.

Joomla教程Joomla1.5建站指南
[Save] is another essential button to remember.

Joomla教程Joomla1.5建站指南

Joomla教程 - 建立分类After that we will add the "General" Category to it. This can be done from the top menu, Content -> Category manager:

Joomla教程Joomla1.5建站指南

Again we click on the [New] button to add the new category. Next we specify the category name which is "General". Once we are done, we save the progress with the [Save] button from the top-right menu.

Joomla教程 - 添加LogoIn our example we would like to include the company's logo (logo.png) in the "About us" page. For this purpose we go to menu Site -> Media Manager:

Joomla教程Joomla1.5建站指南

Then we will click on [Browse..] and navigate to the logo.png file:

Joomla教程Joomla1.5建站指南

Once we have chosen the image we click on [Start Upload]. This image can now be accessed at http://your_domain_name.com/images/logo.png.

Joomla教程Joomla1.5建站指南
It is important to remember the path to your image because you will need it later.

Joomla教程 - 新建文章Now we will create the page "About us". For this purpose we go to Content -> Article manager from the top admin panel:

Joomla教程Joomla1.5建站指南

Please, click on [New] and then make the following changes:

Title: About us
Section: General
Category: General
Frontpage: Change it to "Yes". This will allow it to appear the first page of our site.

You may leave the default values on the rest of the options.

Joomla教程Joomla1.5建站指南

Next we will insert the company logo. For this purpose we will click on the "Image icon" from the editor's menu:

Joomla教程Joomla1.5建站指南

In the popup window we can specify the details about the logo image and then click on [Insert]:

Joomla教程Joomla1.5建站指南

At last we will add some text about our company (SiteGround) and its business. We have now created our first page and we have to save it.

Next we will add the "Our services" page. We will follow the same steps as before: go to Content -> Article manager:

Joomla教程Joomla1.5建站指南

The we click on [New]. Again we will set the same Section and Category for our page: "General" - "General". This time we will add only text without images. Note how feature-rich the default Joomla text editor is. Its menu is intuitive and has familiar design.

After we are through with the editing we save the page with the [Save] button from the top-right panel.

Joomla教程Joomla1.5建站指南之 - 联系我们

Joomla教程 - 如何建立"联系我们"页面Next we will add a "Contact us" page with an online mail form. We first need to create a new Contacts Category. For this purpose we will go to Components -> Contacts -> Categories:

Joomla教程Joomla1.5建站指南

Then we click on [New]. Since we plan to have a simple Contact Us page, we will create only one single category called again "General" and click on [Save]. As you understand, here categories are also used for better content organizing.

Joomla教程Joomla1.5建站指南

Then we go to Components -> Contacts -> Contacts:

Joomla教程Joomla1.5建站指南

We click on [New] and fill in our information. You have to make sure the email you entered is valid since all the mails you receive via this contact form will be sent to it.

In order to avoid having your contact's name duplicated later, from the right box "Contacts parameters" check the button Hide next to "Name".

We are leaving unchanged the rest of the default options, which suit our basic needs and click on [Save] from the top-right menu.

Joomla教程Joomla1.5建站指南

 Joomla教程Joomla1.5建站指南之 - 链接

Joomla教程 - 如何添加文章到导航菜单Now we have to make sure our pages can be accessed. For this purpose we will link them in the site menu. From the admin panel, go to Menus -> Main Menu*.

Joomla教程Joomla1.5建站指南

We will add links to our articles and the "Contact us" page. For this purpose please, click on [New] from the top-left menu. Now we have to select the item type. In our case it will be Internal link - Article - Article Layout:

Joomla教程Joomla1.5建站指南

Next we have to fill in the information about the links. We will call the link "About us". Then from the left Parameters - Basic we click on [Select]:

Joomla教程Joomla1.5建站指南

Then appears a box with all our pages and we click on "About us":

Joomla教程Joomla1.5建站指南

Finally we save the link by clicking on [Save] from the top-right menu.

Joomla教程 - 如何设置页面为默认页When we are still in the Menu Item Manager, we will set our page "About us" as default. For this purpose we check its radio button and click on [Default] from the top menu:

Joomla教程Joomla1.5建站指南

Next we will remove the system placed link "Home" because it is not necessary in our case.

Joomla教程Joomla1.5建站指南

After that we will add a link to our other page "Our services". We click on [New] from the top menu in the Menu Item Manager, select Article -> Article Layout.

Then we fill the information about the link "Our services" and select it from Parameters - Basic. We click on "Our services" link from the box and click on [Save] to finalize the operation.

Joomla教程 - 如何添加 "联系我们" 到导航菜单
Finally we will add a link to the "Contact us" page. For this purpose we click on the [New] icon from the top menu and choose: Internal Link -> Contacts -> Category -> Standard Contact Layout.

Joomla教程Joomla1.5建站指南

Then we fill the information about our new menu item "Contact us". For our basic needs we don't have to change anything else but the "Title" and we can safely click on [Save].

Joomla教程Joomla1.5建站指南

 

Joomla教程 - 使用Joomla新建投票
Now we will place a poll for finding out what visitors think about our new site. For this purpose from the top menu choose Components -> Polls:

Joomla教程Joomla1.5建站指南

We are going to create a new poll by clicking on [New] from the top - right menu. We will call the poll: "What do you think about our site?".

In the left menu we will list all the options on the poll: "Great", "Not bad", "Awful".

Joomla教程Joomla1.5建站指南

To save the new poll, we click on [Save] from the top right menu.

Now the poll has to be made public, i.e. to be published. For this purpose we click on Extensions -> Module Manager from the top menu:

Joomla教程Joomla1.5建站指南

Then we choose [New] from the top - right menu and find Poll from the options listed and check it.

Joomla教程Joomla1.5建站指南

Then we click on "Next" from the top - right menu.

We will make the following changes

  1. Set the title to: What do you think about our new site?
  2. Set "Show title" to "No".
  3. From the right box, Module Parameters, Poll we select our poll called "What do you think about our new site".

Joomla教程Joomla1.5建站指南

Finally we click on [Save] from the top right menu and we will have a poll on our frontpage.

Incoming search terms:

Tags: 教程, Joomla

本文地址: http://www.21andy.com/new/20080125/789.html

5 评论 to “PHP开源CMS之MODx”

  1. Uncle_Bill 于 2008-05-14 07:44:46 发表:

    太小儿科了吧????

  2. 文痞'blog 于 2008-11-08 23:45:35 发表:

    说的很详细,要是中文版就更好了!

  3. lucy 于 2008-12-24 16:15:45 发表:

    本来觉得你转帖不容易,看看你的blog,可是你弄个左边侧边栏挡住一部分,什么东西啊,你从www.siteground.com转帖,本来就没有什么技术含量,还拿来显呗,真是弱智!严重鄙视你!

  4. tenny 于 2009-03-21 04:33:29 发表:

    谢谢你的文章。虽然你是转的贴,但也是为大家的嘛。我支持一下。
    很好。

  5. 123 于 2009-06-23 15:21:41 发表:

    你有毛病啊,批评别人,你装瞎别看不完了,你牛B,牛B你死去啊。