简体   繁体   English

模板Joomla

[英]Template Joomla

I'm trying to create my own template in Joomla 2.5, and here is my structure of the template : 我正在尝试在Joomla 2.5中创建自己的模板,这是模板的结构:

I have in the bottom three boxes 我在底部的三个框中

  • box 1 盒子1

  • box 2 盒子2

  • box 3 盒子3

How I can put my articles in these boxes similar to this template Template example ? 我如何将我的文章放在类似于此模板模板示例的这些框中? any ideas? 有任何想法吗?

Template of joomla can have only one place for displaying content (for example, 'articles') - <jdoc:include type="component" /> . joomla的模板只能在一个位置显示内容(例如,“文章”)- <jdoc:include type="component" /> In bottom area you should insert position for modules 在底部区域,您应该插入模块的位置

<div id="box1"><jdoc:include type="modules" name="box1" /></div>
<div id="box2"><jdoc:include type="modules" name="box2" /></div>
<div id="box3"><jdoc:include type="modules" name="box3" /></div>

After, for each position, you should assign module with content. 之后,对于每个位置,您都应该为模块分配内容。 http://extensions.joomla.org - this site help you find module for displaying articles. http://extensions.joomla.org-此站点可帮助您找到用于显示文章的模块。 Also you can adjust bottom area in such way <div id="box1"><jdoc:include type="modules" name="box1" /></div> - in this case you should assign 3 modules on one position or one module which will display 3 articles. 同样,您也可以通过<div id="box1"><jdoc:include type="modules" name="box1" /></div>调整底部区域-在这种情况下,您应该在一个位置上分配3个模块,或者一个模块,将显示3篇文章。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM