Wrapping article around a module

This forum is for general questions about extensions for Joomla! version 1.5.x.

Moderator: General Support Moderators

Forum rules
Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting, this means YOU.
Forum Post Assistant - If you are serious about wanting help, you will use this tool to help you post.
Locked
ianballantine
Joomla! Apprentice
Joomla! Apprentice
Posts: 10
Joined: Tue Aug 25, 2009 6:18 am

Wrapping article around a module

Post by ianballantine » Mon Aug 31, 2009 9:16 am

Ok I am a newbie and probably missing soemthing really simple but can someone tell me how to have an article wrap around a (menu) module.

I have created a user position called user7 and placed it inside the component div. Here is code:

Code: Select all

<div id="component">
           <?php if($this->countModules('user7')) : ?>	
              <div id="user7">
              <jdoc:include type="modules" name="user7" style="xhtml" /></div>
            <?php endif; ?>
            <jdoc:include type="component" style="xhtml" />
</div>
In the css file I have added:

Code: Select all

#user7 {
float:right;
right:0;
margin-top:0px;
width:205px;
}
Then I have assigned a small menu to user7. When it appears on a Category/Blog type page it appears to the right of the article but the article doesn't wrap around it. Example page is http://www.new2.docv.org/index.php?opti ... &Itemid=61.

On a Single Article type page, the article starts below the menu. Example page is http://www.new2.docv.org/index.php?opti ... &Itemid=63

I did try to use Content-Load Module but wasn't very successful and thought that including the position in the template would be better solution.

I would really appreciate any help anyone could give me.

User avatar
dhuelsmann
Joomla! Master
Joomla! Master
Posts: 19659
Joined: Sun Oct 02, 2005 12:50 am
Location: Omaha, NE
Contact:

Re: Wrapping article around a module

Post by dhuelsmann » Mon Aug 31, 2009 9:56 am

Regards, Dave
Past Treasurer Open Source Matters, Inc.
Past Global Moderator
http://www.kiwaniswest.org

ianballantine
Joomla! Apprentice
Joomla! Apprentice
Posts: 10
Joined: Tue Aug 25, 2009 6:18 am

Re: Wrapping article around a module

Post by ianballantine » Mon Aug 31, 2009 4:34 pm

Ok thanks for the advice but load content not really that satisfactory. I can get the sub menu aligned ok using a table but it starts level with first line of text because it's inside the article ie too far down the page. Sub menu should be at the top. Also, when there is another table in the article they overlap as well.
If I can just get the module to work inside the component.....


Locked

Return to “Extensions for Joomla! 1.5”