-
AuthorPosts
-
June 2, 2007 at 9:30 pm #120614
hello ..
please help me .. i want to add footer modules like in the shown in the demo ..
there are these sections .. i hope u can see .. ” special report , video , lyrics and features .. please help me out i want to add these modules / sections in my site how i will add these modules in this theme .. http://www.joomlart.com/templates_demo.php?template=ja_quillajaSherlock FriendSherlock
- Join date:
- September 2014
- Posts:
- 11453
- Downloads:
- 0
- Uploads:
- 88
- Thanks:
- 221
- Thanked:
- 2478 times in 2162 posts
April 15, 2008 at 9:23 am #245563Hi thewebking !
What joomla version do you use ? 1.0.x or 1.5.x ?
Following code is code for add extra module :
with version 1.5.x ( you can find this code section in index.php file at about line 270 :
<?php
$spotlight = array ('user10', 'user11','user12','user13');
$botsl = $tmpTools->calSpotlight ($spotlight);
if( $botsl ) {
?>
<!-- BEGIN: BOTTOM SPOTLIGHT -->
<div id="ja-botslwrap">
<div class="ja-w1"><div class="ja-w2">
<div id="ja-botsl">
<div class="ja-botsl-inner clearfix"><?php if( $this->CountModules('user10') ) {?>
<div class="ja-box<?php echo $botsl['user10']['class']; ?>" style="width: <?php echo $botsl['user10']['width']; ?>;">
<jdoc:include type="modules" name="user10" style="xhtml" />
</div>
<?php } ?><?php if( $this->CountModules('user11') ) {?>
<div class="ja-box<?php echo $botsl['user11']['class']; ?>" style="width: <?php echo $botsl['user11']['width']; ?>;">
<jdoc:include type="modules" name="user11" style="xhtml" />
</div>
<?php } ?><?php if( $this->CountModules('user12') ) {?>
<div class="ja-box<?php echo $botsl['user12']['class']; ?>" style="width: <?php echo $botsl['user12']['width']; ?>;">
<jdoc:include type="modules" name="user12" style="xhtml" />
</div>
<?php } ?><?php if( $this->CountModules('user13') ) {?>
<div class="ja-box<?php echo $botsl['user13']['class']; ?>" style="width: <?php echo $botsl['user13']['width']; ?>;">
<jdoc:include type="modules" name="user13" style="xhtml" />
</div>
<?php } ?></div>
</div>
</div></div>
</div>
<!-- END: BOTTOM SPOTLIGHT -->
<?php } ?>with version 1.0.x ( you can find this code section in index.php file at about line 346) :
<?php
$spotlight = array ('user10', 'user11','user12','user13');
$botsl = calSpotlight ($spotlight);
if( $botsl ) {
?>
<!-- BEGIN: BOTTOM SPOTLIGHT -->
<div id="ja-botslwrap">
<div class="ja-w1"><div class="ja-w2">
<div id="ja-botsl">
<div class="ja-botsl-inner clearfix"><?php if( mosCountModules('user10') ) {?>
<div class="ja-box<?php echo $botsl['modules']['user10']; ?>" style="width: <?php echo $botsl['width']; ?>;">
<?php mosLoadModules('user10', -2); ?>
</div>
<?php } ?><?php if( mosCountModules('user11') ) {?>
<div class="ja-box<?php echo $botsl['modules']['user11']; ?>" style="width: <?php echo $botsl['width']; ?>;">
<?php mosLoadModules('user11', -2); ?>
</div>
<?php } ?><?php if( mosCountModules('user12') ) {?>
<div class="ja-box<?php echo $botsl['modules']['user12']; ?>" style="width: <?php echo $botsl['width']; ?>;">
<?php mosLoadModules('user12', -2); ?>
</div>
<?php } ?><?php if( mosCountModules('user13') ) {?>
<div class="ja-box<?php echo $botsl['modules']['user13']; ?>" style="width: <?php echo $botsl['width']; ?>;">
<?php mosLoadModules('user13', -2); ?>
</div>
<?php } ?></div>
</div>
</div></div>
</div>
<!-- END: BOTTOM SPOTLIGHT -->
<?php } ?>
with all version. You must config module for enable ( user10, user11, user12, user13)
mfcphil Friendmfcphil
- Join date:
- September 2007
- Posts:
- 2866
- Downloads:
- 3
- Uploads:
- 218
- Thanks:
- 211
- Thanked:
- 388 times in 133 posts
April 15, 2008 at 11:39 am #245578You could copy an existing module (must be able to add text) then go to the demo page copy all the text and images from the module you require then paste this into the text area of the copied module, update the images with some of your own or put in the correct path to where ever you placed the copied ones.
Then name your new module and publish it to the required place.
-
AuthorPosts
This topic contains 3 replies, has 3 voices, and was last updated by mfcphil 16 years, 7 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum