more specifically a -200px rignt margin, and then probably minus left margin -- something like -20px or whatever it takes to move that new banner module into the position you want it to be.
Main Topics
Browse All TopicsAnyone know how to move a Joomla module/Component outside of template? I hav a webpage www.newutd.no where I want banners to be displayed on the right side, outside of template. The module I have choosen is called FlexBanner. How can I move this? :)
The index.php contains the following code
This Question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.
Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.
If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.
Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.
Access the answers to your technology questions today.
30-day free trial. Register in 60 seconds.
Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Try it out and discover for yourself.
30-day free trial. Register in 60 seconds.
Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.
Hi rowby!
You are correct regarding the position of the module :)
I dont have much experience in hmt/php development so I need someone to help me on the way with the coding of the module!?
What code do I need to "call" the module? I assume I need to insert the code in the index.php for the template? Or do I hardcode it directy to the index.php of the joomla installation? :)
I have added a module class suffix called _flexbanner for the module I want on the right. Is this the correct code to insert into template? I cannot get the module to show.
table.moduletable_flexbann
font-size : small;
font-weight : bold;
color : #888;
background : #FFF;
text-align : right;
padding-left : 3px;
padding-right : 20px;
letter-spacing : -1px;
border-bottom : 2px solid #999999;
}
Before I edited the CSS it looked like this
Nope, you don't insert any code in index.php. It's all handled by the admin section of Joomla.
Go to the module manger and select the module you want to have the banners. I assume it's the banner module, unless you have created or downloaded some other module.
ENABLE the banner module if it is disabled.
I don't know the positions of your module, but I assume the right side column is called "right". So select Right ( if it exists) in the module for the the module position
And see where it shows up on the front end of the site. I assume it will show up on the right side. Do that first and we will both look at the link.
No need to modify the above css for now. First give the module a suffix like you did the flexbanner module.
Then give the banner the position you want. Probably "right".
Then go to the front of the site and see if it is showing. Then also look at your source code to make sure the module suffix is showing in the source code.
The you do the css for the module suffix thing.
Hopefully by giving the module suffix css a minus margin, i.e. -200px, it will move the module to the right side of the browser. No guarantees. We can just try it.
Rowby
Gave the module suffix name _banners and setup google ads banner to test
After going to frontpage and checked the source code the following came up:
<div class="bannergroup_banners
<div class="banneritem_banners"
google_ad_client = "pub-9056479098173674";
/* 468x60, opprettet 02.08.09 */
google_ad_slot = "6275147973";
google_ad_width = 468;
google_ad_height = 60;
//-->
</script>
<script type="text/javascript"
src="http://pagead2.google
</script><div class="clr"></div>
Could you help me out with the css code to insert? :)
Hi
I would put the CSS code at the bottom.
Here's what I suggest.
Go to the CSS part of experts exchange.
Reference this question. http://www.experts-exchang
Include your web page and see what the CSS experts have to say about using CSS to positon "banneritem_banners"
The CSS experts will use tools (probably Firebug) to see if the CSS can do the positioning you at.
Rowby
If you don't get a response here regarding the css -- do check out the css Experts Exchange section. They have the best of the CSS pros there -- and will let us know if this css will work or if there is another approach.
It is possible that CSs will not fix this, and that would require a modification to the template. but I am hoping that CSS will make it happen.
Rowby
Business Accounts
Answer for Membership
by: rowbyPosted on 2009-08-05 at 12:57:55ID: 25027429
Hi WhiteMafiosi,
Just so I understand it you want the banners to be to the right of the module that is titled "Neste kamp", Siste kamper,and the "Vote" module?
You want the banner to be in the right "margin", where nothing is now?
Well you might try doing that with a Module Class Suffix. You might give the module you want to be in the right area unique Module Class Suffix that you will find in the module itself.
Are you familiar with css? If so you would then try giving the unique style a negative margin, such as -200px.
Is this something you might want to try?
Rowby