Simple question...but the answer may not be so simple. I have a website www.journeyoftheanimals.com I like it for the most part. However I want to add modual positions to the template somehow. Everything is on the left side of the page and I would like to mosve some stuff to the right because the left is getting quite crowded. How simple is this task? I feel somewhat confident with changing code and know enough to backup things first. However I am just not sure what code to change to be able to add postions to the right side of the template. As always, thank you in advance for any help you can give.
Adding a new position on a template may be easy or hard depending on the layout of the template .i am listing crude list of steps you need to follow 1 ) In your template , add a div after the body1 div , make it float left and give it a width so that it will fit nicely in your design 2) Inside the div place the following code <?php if($this->countModules('positionname')) : ?> <jdoc:include type="modules" name="positionname" style="xhtml" /> <?php endif; ?> PHP: This will add a position names 'positionname' in your template. Hope this helps
OK that is what I found somewhere else but was not sure where to add it. Thank you. Will have to lookup how to make it float. But since I want it on the right wouldn't I float it right?
Had to edit templatedetails.xml also to add position name. But looks like it worked, just need to tweak it a little. Thank you greatly
Adding it in templatedetails.xml only makes the position name add to the list of positions in the dropdown . you can still use the position if you just type it in , without adding to templatedetails.xml.