ZOO配置教程——分配一个元素到布局位置

这里学习如何分配一个类型元素到你的网站上形成某种布局,我们接下来演示不同界面布局样式,以及你的网站如何显示这些元素。

如何创建一个文章类型及元素, 请见我们上节内容

选择布局

你可以选择你要显示在网站前台的元素.例如:你可以在一个文章中显示所有元素,  item view (使用full设定 )并且,如果你喜欢你可以设置一些元素只显示在分类界面中显示(使用teaser设定).

下面是在不同布局中的使用说明.

  1. Feed layout: 它使用在feed界面.分配元素到feed布局中,并且在feeds中显示 
  2. Full layout: 它将设置文章界面,分配元素到full布局中,这些元素将在最终文章详情页中显示.
  3. Related layout: 它将设置相关文件界面.分配元素在related中,这些元素会显示在最终文章详情页下面的相关文章位置.
  4. Teaser layout:设置分类界面.分配元素在 teaser 中,将会在网站前台的分类界面、Tag页面显示(文章汇总页面).
  5. Item Module: 在  style="text-decoration: none; color: #0096d7;" title="Set Up the ZOO Item Module ">ZOO Item Module中显示所有元素. Currently the default layout is used by most themes of the Item Module. Assign elements to this layout to show them in the Item Module.
  6. Search Plugin: 显示在  style="text-decoration: none; color: #0096d7;" title="Set Up the ZOO Tag Module">ZOO Search Plugin布局中.分配元素到默认布局中显示在搜索结果中。.
请注意, 不同的模板和Apps的布局样式不同,这种情况很常见

Each of the above mentioned layouts have different predefined positions. If you want to edit the positions of a specific layout or if you want to create a new layout, follow  style="text-decoration: none; color: #0096d7;" title="Create a new Template">this tutorial.

ASSIGNING THE ELEMENTS

Click on the specific layout (see first part of this tutorial for a description) to assign the elements to it.

Now on the left hand side you see all available layout positions. If you are editing a predefined item type of the ZOO extension there are already elements assigned. If you've created a new item type the left site is empty.

On the right side you see all elements of the type (see  style="text-decoration: none; color: #0096d7;" title="Create new Types">this tutorial on creating a new item type). On the top you see the core elements which are available for every type and underneath it the custom elements which you have assigned to the type.

去设定元素的布局位置,只需点击旁边的小砖图标拖放到它的新位置.

每个元素你拖到一个位置会自动打开并配置在这个位置.

请自己试着去添加每个元素体会这种变化 .

然后单击保存(Save )这个元素将固定在你的网站Zoo扩展管理界面.

当然,你也可以设定文章类型元素到多种布局形式,使它显示在不同界面上..

在中国六艺专注Joomla建站与策划设计,为您的品牌发展创造动力!

chuangye

chuangye

chuangye

 

chuangye

Joomla的老巢