官术网_书友最值得收藏!

Time for action—publish your first article

  1. Navigate to Content | Article Manager (you can also use the Article Manager shortcut in the Control Panel).
  2. In the toolbar, click on the New button (the green one with the big plus sign).
  3. In the Article: [New] screen, fill out the Title and Alias field as shown in the following screenshot (the Alias will help Joomla! create user-friendly URLs; you'll learn more about that in Chapter 12 on Search Engine Optimization):
  4. In the Section drop-down box, choose News. In the Category drop-down box, choose Latest. This will make your article turn up among the other articles in the News section of the site.
  5. Joomla! uses a structure of sections and categories to organize content. In this example, the News section holds the Latest category, which holds articles. You'll learn more about this principle of organizing content in the next two chapters.
  6. Make sure Published is set to Yes. This is the default option.
  7. Click on Front Page: Yes to make sure your news will be shown on the home page.
  8. Add some text in the text editor box. Any text will do; for now we're just playing around in the example site.
  9. Click on the Apply button (with the green tick) in the toolbar in the top right-hand side of the page. Joomla! will inform you that it has successfully saved changes to your article.
  10. Click on Preview in the Preview and Info Bar section of the page. This will take you to the home page of your site.

You're done! As you can see, you news item is published on the front page. What's more, Joomla! has automatically added your feature to the Latest News links too.

There's even one other way the visitor can navigate to your news item. Because you've added the article to the News section, clicking on the menu link The News in the Main Menu will also reveal your new article:

What just happened?

In a few steps you have created and published brand new content. By categorizing your new article in the right way, and clicking on the Show on Front Page option, the article text is added to the home page. Moreover, the article title is added as a hyperlink to the dynamic Latest News list, and finally the article also turns up on the page that shows items from the News category.

Extension actions example: Managing modules

A good web page shows a clear structure. The Joomla! example site presents lots of content in quite a crowded layout; every single space is filled with text. The site displays more than ten little blocks of content around the main content area (the mainbody). There are four menus, three of which are shown in the left-hand side column. Putting that many blocks on the page will almost certainly distract the reader from the main content. We're going to give the content some breathing room and help the reader scan the page.

Let's clean things up a little. We'll rearrange our screen and remove some unnecessary items. In Joomla!, you use the Module Manager to change the position and other settings of the site's modules (building blocks).

主站蜘蛛池模板: 东兰县| 黑水县| 达尔| 永安市| 庄浪县| 昌邑市| 玛多县| 集贤县| 湘潭县| 松溪县| 铜川市| 赤壁市| 武山县| 青铜峡市| 葵青区| 临汾市| 铅山县| 石阡县| 开封县| 子洲县| 渭南市| 观塘区| 宿州市| 长阳| 清流县| 芮城县| 安陆市| 望奎县| 科尔| 漠河县| 平利县| 盐源县| 潮安县| 东光县| 诸城市| 昌乐县| 桃园市| 永城市| 镇远县| 珲春市| 理塘县|