[英]Joomla and (not default) positions
I am trying to transfer my simple website to joomla. 我正在尝试将我的简单网站转移到joomla。 I like the design and style I did in html5/css3, but I think that the content management is something that I could take advantage of.
我喜欢在html5 / css3中所做的设计和样式,但是我认为内容管理是我可以利用的东西。 I have my design, so I decided to give templates a go.
我有我的设计,所以我决定尝试一下模板。
I understand how on the templateDetails.xml you defined the locations: 我了解如何在templateDetails.xml上定义位置:
<positions>
<position>breadcrumb</position>
<position>right</position>
<position>top</position>
<position>footer</position>
</positions>
But I don't understand how can I create a new position. 但是我不知道如何创建新职位。 For example if I wanted to create a position on the bottom right below the main content or even more specific where should this information go?
例如,如果我想在主要内容的右下角创建一个位置,或者甚至更具体地将该信息放到哪里? I see this are the default positions http://docs.joomla.org/Module_Map .
我看到这是默认位置http://docs.joomla.org/Module_Map 。
The idea I have right now is to do my template with all the div tags, that I already have but just erase the content and then in the content create aa div tag where I put 我现在的想法是使用所有div标签来做我的模板,我已经拥有了,但是只是擦除了内容,然后在内容中创建了一个div标签,
<div id="content" class="float"> <jdoc:include type="component" /></div>
But then I don't think I am really taking advantage of joomla. 但是后来我认为我并没有真正利用joomla。
Or whats a better way to move a html/css3 website to joomla without having to use a template (I have not liked any 100%). 或者,是一种无需使用模板即可将html / css3网站移动到joomla的更好方法(我不喜欢100%)。
If I understand your question right <jdoc:include type="modules" name="bottom_right" style="xhtml" />
will allow you to add the position to the index.php of your template. 如果我理解您的问题正确,那么
<jdoc:include type="modules" name="bottom_right" style="xhtml" />
将允许您将位置添加到模板的index.php中。 Then you can assign a module at the backend. 然后,您可以在后端分配模块。 Don't forget to add
<position>bottom_right</position>
to the XML of your template. 不要忘记将
<position>bottom_right</position>
到模板的XML中。
If you need to clarify anything please raise your question here 如果您需要澄清任何事情,请在这里提出您的问题
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.