-
AuthorPosts
-
February 5, 2009 at 1:00 am #137799
Hello Team,
the template is very nice, but I need the same Modul-part User 1-7 … as a kopie under this line… like modul position User 13-20 … I hope you understand what I mean 🙂
I have kopie the part in the index.php and it works… but on which file I must put some informations more about these new module positions?
Hope anybody can help me 😀
Thanks Melanie
Sherlock FriendSherlock
- Join date:
- September 2014
- Posts:
- 11453
- Downloads:
- 0
- Uploads:
- 88
- Thanks:
- 221
- Thanked:
- 2478 times in 2162 posts
February 5, 2009 at 7:24 am #289622Dear webkonzept !
You can do it following some steps below :
1. Open index.php file in templatesja_zeolite folder, add following code section :
<?php
$spotlight2 = array ('user8','user9','user10','user11','user12');
$botsl2 = $tmpTools->calSpotlight ($spotlight2,$tmpTools->isOP()?100:99.9);
if( !$tmpTools->isContentEdit() && $botsl2 ) {
?>
<!-- BEGIN: BOTTOM SPOTLIGHT-->
<div id="ja-botsl22"><div id="ja-botsl2-bot"><div id="ja-botsl2-top" class="clearfix"><?php if( $this->countModules('user8') ) {?>
<div class="ja-box<?php echo $botsl2['user8']['class']; ?>" style="width: <?php echo $botsl2['user8']['width']; ?>;">
<jdoc:include type="modules" name="user8" style="xhtml" />
</div>
<?php } ?><?php if( $this->countModules('user9') ) {?>
<div class="ja-box<?php echo $botsl2['user9']['class']; ?>" style="width: <?php echo $botsl2['user9']['width']; ?>;">
<jdoc:include type="modules" name="user9" style="xhtml" />
</div>
<?php } ?><?php if( $this->countModules('user10') ) {?>
<div class="ja-box<?php echo $botsl2['user10']['class']; ?>" style="width: <?php echo $botsl2['user10']['width']; ?>;">
<jdoc:include type="modules" name="user10" style="xhtml" />
</div>
<?php } ?><?php if( $this->countModules('user11') ) {?>
<div class="ja-box<?php echo $botsl2['user11']['class']; ?>" style="width: <?php echo $botsl2['user11']['width']; ?>;">
<jdoc:include type="modules" name="user11" style="xhtml" />
</div>
<?php } ?><?php if( $this->countModules('user12') ) {?>
<div class="ja-box<?php echo $botsl2['user12']['class']; ?>" style="width: <?php echo $botsl2['user12']['width']; ?>;">
<jdoc:include type="modules" name="user12" style="xhtml" />
</div>
<?php } ?></div></div></div>
<!-- END: BOTTOM SPOTLIGHT -->
<?php } ?>
to under code below (at about line 262):
</div></div></div>
<!-- END: BOTTOM SPOTLIGHT -->
<?php } ?>
2. Open templateDetails.xml file in templatesja_zeolite folder, find following code section at about line 58 :
<position>user11</position>
change to :
<position>user11</position>
<position>user12</position>
3. Add following code section to template.css file in templates/ja_zeolite/css folder :
/* Bottom spotlight */
#ja-botsl2 {
background: url(../images/content-center1.gif) repeat-y center top;
margin-bottom: 20px;
padding: 0;
}#ja-botsl2-bot {
background: url(../images/content-bot1.gif) no-repeat center bottom;
}#ja-botsl2-top {
clear: both;
padding: 10px 20px;
background: url(../images/content-top1.gif) no-repeat center top;
}#ja-botsl2 div.moduletable,
#ja-botsl2 div.moduletable_default {
padding: 0 10px;
margin-bottom: 0;
}#ja-botsl2 .ja-box-left div.moduletable,
#ja-botsl2 .ja-box-left div.moduletable_default {
padding: 0 10px 0 0;
}#ja-botsl2 .ja-box-right div.moduletable,
#ja-botsl2 .ja-box-right div.moduletable_default {
padding: 0 0 0 10px;
}#ja-botsl2 .ja-box-center div.moduletable,
#ja-botsl2 .ja-box-center div.moduletable_default {
padding: 0 10px;
margin-bottom: 0;
}#ja-botsl2 div.moduletable h3 {
color: #04A504;
background: none;
border-bottom: 1px solid #DDDDDD;
margin: 0 0 10px 0;
padding: 0;
}#ja-botsl2 div.moduletable h3 span {
margin: 0;
padding: 0;
}#ja-botsl2 ul {
margin: 0;
}#ja-botsl2 ul.latestnews, #ja-botsl ul.mostread {
margin-top: -5px;
}#ja-botsl2 ul li {
background: url(../images/dot.gif) repeat-x left bottom;
padding: 5px 0;
}#ja-botsl2 li a {
background: url(../images/bullet.gif) no-repeat left center;
padding-left: 10px;
}
1 user says Thank You to Sherlock for this useful post
February 5, 2009 at 9:34 pm #289768Wwwwooooowww It works very perfekt!!!! Thanks 🙂
-
AuthorPosts
This topic contains 3 replies, has 2 voices, and was last updated by Webkonzept 15 years, 10 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum