本節(jié)我們學(xué)習(xí)如何在ZOO中創(chuàng)建一個新的文章類型,你將要學(xué)習(xí)如何添加一個元素到類型中并且管理它們在網(wǎng)站模板中顯示的位置.
創(chuàng)建類型并添加元素到類型中
登錄的Joomla管理后臺,打開ZOO組件管理。點擊最后面的齒輪行政圖標(biāo),將看到所有已經(jīng)存在的APP場景應(yīng)用。隨便點擊選擇一個應(yīng)用,將出現(xiàn)創(chuàng)建類型界面。
接下來你看到了所有已存在的類型列表,這些類型來自這個APP應(yīng)用. 要創(chuàng)建一個新的類型,在左上方點擊 New 按鈕.
給這個新類型定義一個名字,并點擊左上方的 Save 按鈕
你可以看到,你創(chuàng)建的新類型出現(xiàn)在下面的列表中了.現(xiàn)在我們要添加一些元素到這個類型中去:鼠標(biāo)放在類型名稱上面,會出現(xiàn)Edit Elements 點擊它就可以編輯元素了。.
現(xiàn)在,你看到窗口左側(cè)區(qū)域是空白的,因為還沒有任何元素被創(chuàng)建。在右側(cè),你可以看到各種類型的元素。它們被分組顯示Form \ Social\ Medai。。。.
To add a new one to the type, choose the element you want to add from the list of available elements on the right side and simply click on it. The element will automatically be added to the list on the left, ready to be configured. Please see our tutorials for the elements to see the different configurations of each element.
The order of the elements on the left is the order they appear when you create an item of this type. So if you not want to have the new added element right on the top of the list, you can change it very easily. Just move your cursor over the small brick icon in front of the element and drag & drop the whole element to its new position. Very easy. By clicking the small pencil icon next to each used element, a small form slides out and you can configure this element and of course you can delete an element by clicking the small delete icon next to the pencil icon.
After you've set up the type, click on Save in the top right corner. Now you can create new items of the new type but to show the items to your visitors in the frontend of your site, you have to assign the elements to their layout positions.
在中國六翼專注Joomla建站與策劃設(shè)計,為您的品牌發(fā)展創(chuàng)造動力!





