-
AuthorPosts
-
brucetaylor Friend
brucetaylor
- Join date:
- May 2008
- Posts:
- 60
- Downloads:
- 0
- Uploads:
- 4
- Thanks:
- 8
- Thanked:
- 2 times in 1 posts
September 17, 2008 at 9:14 pm #133457Whats the best way to split user 5 in to 3 new modules? :confused:
brucetaylor Friendbrucetaylor
- Join date:
- May 2008
- Posts:
- 60
- Downloads:
- 0
- Uploads:
- 4
- Thanks:
- 8
- Thanked:
- 2 times in 1 posts
September 17, 2008 at 9:15 pm #271073(I have already moved L to the left)
Sherlock FriendSherlock
- Join date:
- September 2014
- Posts:
- 11453
- Downloads:
- 0
- Uploads:
- 88
- Thanks:
- 221
- Thanked:
- 2478 times in 2162 posts
September 19, 2008 at 2:07 am #271236Can i mark this topic is solved ?
brucetaylor Friendbrucetaylor
- Join date:
- May 2008
- Posts:
- 60
- Downloads:
- 0
- Uploads:
- 4
- Thanks:
- 8
- Thanked:
- 2 times in 1 posts
September 19, 2008 at 7:27 am #271307nguoiabcd,
I still have the same problem. I am not a developer so I am struggling a bit with this
Bruce
Sherlock FriendSherlock
- Join date:
- September 2014
- Posts:
- 11453
- Downloads:
- 0
- Uploads:
- 88
- Thanks:
- 221
- Thanked:
- 2478 times in 2162 posts
September 19, 2008 at 7:33 am #271309can u make some screenshots in more detail about what you want ?
brucetaylor Friendbrucetaylor
- Join date:
- May 2008
- Posts:
- 60
- Downloads:
- 0
- Uploads:
- 4
- Thanks:
- 8
- Thanked:
- 2 times in 1 posts
September 19, 2008 at 7:49 am #271315Nguoiabcd,
I was hoping to do something like this with the template – http://www.designandbuild.org/newmodules.jpg
I have moved the L to the left already, so was hoping to split user 5 up so I can have a number of different modules
Thanks
Bruce
brucetaylor Friendbrucetaylor
- Join date:
- May 2008
- Posts:
- 60
- Downloads:
- 0
- Uploads:
- 4
- Thanks:
- 8
- Thanked:
- 2 times in 1 posts
September 19, 2008 at 2:51 pm #271376After looking through the forum, I have added this to the index.php file –
<?php if ($this->countModules('user5')) { ?>
<!-- BEGIN: TOPSPOTLIGHT -->
<div id="ja-topslwrap">
<div id="ja-topsl">
<jdoc:include type="modules" name="user5" style="xhtml" />
</div>
</div>
<?php } ?><?php if ($this->countModules('user9')) { ?>
<div id="ja-topsl">
<div id="ja-topslwrap">
<jdoc:include type="modules" name="user9" style="xhtml" />
</div>
</div>
<?php } ?><?php if ($this->countModules('user10')) { ?>
<div id="ja-topsl">
<div id="ja-topslwrap">
<jdoc:include type="modules" name="user10" style="xhtml" />
</div>
</div>
<?php } ?><?php if ($this->countModules('user11')) { ?>
<div id="ja-topsl">
<div id="ja-topslwrap">
<jdoc:include type="modules" name="user11" style="xhtml" />
</div>
</div>
<?php } ?><!-- END: TOPSPOTLIGHT -->
This displays the modules but they display under user 5/. How can I get them to go to the side?
I really am a php beginner !! 🙂
brucetaylor Friendbrucetaylor
- Join date:
- May 2008
- Posts:
- 60
- Downloads:
- 0
- Uploads:
- 4
- Thanks:
- 8
- Thanked:
- 2 times in 1 posts
September 21, 2008 at 11:41 am #271585Nguoiabcd,
I have just noticed a problem with the left and right menus, I have posted it on –
http://www.joomlart.com/forums/topic/main-menu-position/
Any help you or the other mods can give me this will be very greatfully recieved. I am little stuck to say the least ….
brucetaylor Friendbrucetaylor
- Join date:
- May 2008
- Posts:
- 60
- Downloads:
- 0
- Uploads:
- 4
- Thanks:
- 8
- Thanked:
- 2 times in 1 posts
September 22, 2008 at 7:52 am #271661This is J 1.5 by the way …
brucetaylor Friendbrucetaylor
- Join date:
- May 2008
- Posts:
- 60
- Downloads:
- 0
- Uploads:
- 4
- Thanks:
- 8
- Thanked:
- 2 times in 1 posts
September 22, 2008 at 8:26 am #271667I am getting somewhere with this, I have added the following into the index.php
<?php
$spotlight = array ('user10','user11','user12','user13','user14');
$topsl = $tmpTools->calSpotlight ($spotlight,$tmpTools->isOP()?100:99.9);
if( $topsl ) {
?>
<!-- BEGIN: TOP SPOTLIGHT -->
<div id="ja-topslwrap">
<div id="ja-topsl" class="clearfix"><?php if( $this->countModules('user10') ) {?>
<div class="ja-box<?php echo $topsl['user10']['class']; ?>" style="width: <?php echo $topsl['user10']['width']; ?>;">
<jdoc:include type="modules" name="user10" style="xhtml" />
</div>
<?php } ?><?php if( $this->countModules('user11') ) {?>
<div class="ja-box<?php echo $topsl['user11']['class']; ?>" style="width: <?php echo $topsl['user11']['width']; ?>;">
<jdoc:include type="modules" name="user11" style="xhtml" />
</div>
<?php } ?><?php if( $this->countModules('user12') ) {?>
<div class="ja-box<?php echo $topsl['user12']['class']; ?>" style="width: <?php echo $topsl['user12']['width']; ?>;">
<jdoc:include type="modules" name="user12" style="xhtml" />
</div>
<?php } ?><?php if( $this->countModules('user13') ) {?>
<div class="ja-box<?php echo $topsl['user13']['class']; ?>" style="width: <?php echo $topsl['user13']['width']; ?>;">
<jdoc:include type="modules" name="user13" style="xhtml" />
</div>
<?php } ?><?php if( $this->countModules('user14') ) {?>
<div class="ja-box<?php echo $topsl['user14']['class']; ?>" style="width: <?php echo $topsl['user14']['width']; ?>;">
<jdoc:include type="modules" name="user14" style="xhtml" />
</div>
<?php } ?></div>
</div>
<!-- END: TOP SPOTLIGHT -->
<?php } ?>
In IE 7.0 it looks fine. See –
when I look at firefox or chrome I get this –
brucetaylor Friendbrucetaylor
- Join date:
- May 2008
- Posts:
- 60
- Downloads:
- 0
- Uploads:
- 4
- Thanks:
- 8
- Thanked:
- 2 times in 1 posts
September 23, 2008 at 9:38 am #271856Finally fixed it 🙂
I changed
#ja-topsl div.moduletable {
padding: 0;
margin: 0;
width: 100%;
position: absolute
top: 20px;
}to this
#ja-topsl div.moduletable {
padding: 0;
margin: 0;
width: 100%;
position: relative;
top: 20px;
} -
AuthorPosts
This topic contains 11 replies, has 2 voices, and was last updated by brucetaylor 16 years, 2 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum