简体   繁体   中英

Joomla and (not default) positions

I am trying to transfer my simple website to 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. I have my design, so I decided to give templates a go.

I understand how on the templateDetails.xml you defined the locations:

<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 .

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 id="content" class="float"> <jdoc:include type="component" /></div>  

But then I don't think I am really taking advantage of 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%).

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. Then you can assign a module at the backend. Don't forget to add <position>bottom_right</position> to the XML of your template.

If you need to clarify anything please raise your question here

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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