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

Time for action—adding items to the home page

Let's add some stuff to the home page through the Article Manager.

  1. Navigate to Content | Article Manager.
  2. In the Front Page column, click on the red cross of four articles: Deplorable Still Lifes, Ugly Art Lecture, The Art of Bob Ross, and This Years Meeting. The red cross turns into a green check mark. The results are shown in the following screenshot. Four articles are set to show on the Front Page:
  3. Click on Preview. You've got a home page filled with content! Four articles are displayed on the home page as intro texts with Read more links:

What just happened?

By clicking on the icon in the Front Page column in the Article Manager you have added four articles to the home page. On the frontend, these four articles are now shown in the default Joomla! Front Page layout; the first intro text is displayed in the full mainbody width, the intro texts below that are presented in two columns. We'll leave this for now—but rest assured, you'll learn how to tweak these display options to your heart's content in the later chapters.

Tip

Remove the "Welcome to the Front Page" heading

By default, a Joomla! home page shows the headline "Welcome to the Front Page". We don't want to keep that message. To remove it, we'll have to tweak the settings of the Home link in the Main Menu:

  1. Navigate to Menus | Main Menu.
  2. Click on Home.
  3. In the Parameters (System) section, delete the text in the Page Title box.
  4. Click on Save. The Page Title has now been removed.

It's not enough to just leave the welcome message and change Show Page Title to No. In that case, the page title would effectively disappear from your home page. However, it would still show in the browser Title Bar.

The Front Page is not the home page (or is it?)

Are you in for a little confusion on Joomla! jargon? You'll notice Joomla! uses the word Front Page instead of home page. Technically, these two are not the same:

  • The home page is the full page the user sees when clicking on Home in the Main Menu; it's the top level page of your site.
  • In Joomla!, the Front Page is the main content area (the mainbody) within the home page. The home page can feature other items—modules—around the mainbody.

In other words, there is more to the home page than just the Front Page in the form of modules. As modules aren't part of the Front Page, you cannot control them through the Front Page settings. You'll use the settings of the modules themselves to control whether they appear on the home page. We'll see an example of that when we add a Poll module later in this chapter.

主站蜘蛛池模板: 山丹县| 修武县| 榆社县| 汾西县| 新泰市| 兰溪市| 江都市| 海盐县| 玉门市| 清镇市| 银川市| 鄂尔多斯市| 商城县| 兴业县| 民权县| 福泉市| 张家川| 青海省| 固原市| 永靖县| 昆明市| 浦东新区| 友谊县| 揭阳市| 邵东县| 侯马市| 天津市| 会宁县| 宁乡县| 郸城县| 延庆县| 甘德县| 左云县| 水富县| 贵港市| 沙河市| 上虞市| 陇西县| 肇州县| 阿克陶县| 河南省|