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

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).

主站蜘蛛池模板: 凭祥市| 临清市| 额尔古纳市| 北票市| 云霄县| 屏南县| 河源市| 页游| 青州市| 龙海市| 黄龙县| 河南省| 赣州市| 彭山县| 岱山县| 晴隆县| 红安县| 石台县| 绥阳县| 滦南县| 瑞金市| 宜昌市| 无锡市| 新龙县| 北川| 昔阳县| 凤山县| 贞丰县| 高州市| 林周县| 甘德县| 崇信县| 赞皇县| 延庆县| 赞皇县| 明星| 林芝县| 清河县| 苏尼特左旗| 尖扎县| 皋兰县|