Adding module to main content area

I have develop a new module for joomla . I have succesfully installed it and now i want that it should be positioned where the content area should be look like.

So How to do this

Thanks In Advance
savsoftAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Panagiotis Sweb developer - designer Commented:
Add a new position under the content area and put it there
0
savsoftAuthor Commented:
that i was am not able to get.. please instruct me with steps for it.....
Thanks
0
Panagiotis Sweb developer - designer Commented:
         <div id="....some id... ">           
                  <jdoc:include type="modules" name="your_position" style="xhtml" />
         </div>

and then put the module to the new position (your_position)
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Dean OBrienCommented:
Savsoft,

To slightly extend upon what panagiotiss said:

You need to edit your template(s). To do this go to Template Manager -> select template -> select "edit html" (joomla 1.5 - 1.6).

Within here you need to look for the line which specifies where the main content area is:
<jdoc:include type="component" />

And then add your new module position below this, i.e.:

<jdoc:include type="component" />
<jdoc:include type="modules" name="your_position" />

Once you have done this, you also need to edit the templateDetails.xml file. You need to add the line:
<position>your_position</position>

Hope this helps.
Regards
Easynow
0
Abhijeet RananawareWeb & Mobile DeveloperCommented:
Simple Way will be use a plugin to embed module in article.ie content

http://extensions.joomla.org/extensions/core-enhancements/embed-a-include/6958

After installing using following syntax in editor

{module [65]}
where 65 is the modules id.

Second method will be adding custom position to the template,

Add following code in index.php

<div id="custompos">            
                  <jdoc:include type="modules" name="custompos"/>
</div>

Add css to template.css

#custompos{
Css goes here

}

Add <position>custompos</position> to templateDetails.xml

Regards,
Abhijit
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Joomla

From novice to tech pro — start learning today.