- Posts: 30
- Thank you received: 0
Add Module position Next To User9
-
bins
Inactive member -
Topic Author
- Member
-
Less
More
12 years 10 months ago #18334
by bins
Add Module position Next To User9 was created by bins
As the title,how can I add a module position next to user9/below User4?
Please Log in to join the conversation.
-
ivan.milic
Support Staff -
- Moderator
-
Less
More
- Posts: 14116
- Thank you received: 1639
12 years 10 months ago #18348
by ivan.milic
Replied by ivan.milic on topic Re: Add Module position Next To User9
You must edit index.php of template,
you will see this:
add position like this:
You must define position first in templateDetails.xml in above example it's named your_postion, by adding <position>your_postion</position> po <postions> XML element.
you will see this:
Code:
...
<div id="header_search">
<div class="header_search_pad">
<jdoc:include type="modules" name="user4" style="none" />
</div>
</div>
...
add position like this:
Code:
...
<div id="header_search">
<div class="header_search_pad">
<jdoc:include type="modules" name="user4" style="none" />
<jdoc:include type="modules" name="your_postion" style="none" />
</div>
</div>
...
You must define position first in templateDetails.xml in above example it's named your_postion, by adding <position>your_postion</position> po <postions> XML element.
Please Log in to join the conversation.
-
bins
Inactive member -
Topic Author
- Member
-
Less
More
- Posts: 30
- Thank you received: 0
12 years 10 months ago #18352
by bins
Replied by bins on topic Re: Add Module position Next To User9
Ivan, thanks for this, however, I want the new position next to user9 (so, user9 left/new right). Your code puts it above User9!
I have been playing with the code for a few hours and cannot get it right!
I have been playing with the code for a few hours and cannot get it right!
Please Log in to join the conversation.
-
ivan.milic
Support Staff -
- Moderator
-
Less
More
- Posts: 14116
- Thank you received: 1639
12 years 10 months ago #18355
by ivan.milic
Replied by ivan.milic on topic Re: Add Module position Next To User9
You must restyle layout, we can not help you any further because you want template modification, you can request custom job.
Please Log in to join the conversation.
Time to create page: 0.173 seconds