-
AuthorPosts
-
June 5, 2011 at 7:37 pm #164847
Hello, I can add a set of positions as shown in the image?
I hope you can help me ..
TomC ModeratorTomC
- Join date:
- October 2014
- Posts:
- 14077
- Downloads:
- 58
- Uploads:
- 137
- Thanks:
- 948
- Thanked:
- 3155 times in 2495 posts
June 5, 2011 at 7:54 pm #394787Do you have your template loaded on to your hosted server or on your localhost computer?
If it’s online, generate a support ticket with your admin login info and I will take a look for you.
It’s a relatively simple task, but I do need to get into the admin backend to give you the step-by-step.TOM
Sherlock FriendSherlock
- Join date:
- September 2014
- Posts:
- 11453
- Downloads:
- 0
- Uploads:
- 88
- Thanks:
- 221
- Thanked:
- 2478 times in 2162 posts
June 7, 2011 at 8:01 am #395046<em>@cj3666 245019 wrote:</em><blockquote>Hello, I can add a set of positions as shown in the image?
I hope you can help me ..
http://oi55.tinypic.com/2cgkbh2.jpg</blockquote>
hi cj3666,
You can try following steps for this issue
1) open the folder of templatesja_kyanite_iilayoutsblocks
create a new block file similar as the file of templatesja_kyanite_iilayoutsblocksbotsl.php,for example you name it botsl1.php
then you open the file templatesja_kyanite_iilayoutsblocksbotsl1.php and put into it this content
[php]
<?php
$spotlight = array (‘user11′,’user12′,’user13′,’user14′,’user15’);
$botsl = $this->calSpotlight ($spotlight,100);
if( $botsl ) :
?>
<!– BOTTOM SPOTLIGHT –>
<div id=”ja-botsl” class=”wrap”>
<div class=”main”>
<div class=”inner clearfix”>
<div class=”ja-box-br”><div class=”ja-box-bl”><div class=”ja-box-tr”><div class=”ja-box-tl clearfix”><?php if( $this->countModules(‘user11’) ): ?>
<div class=”ja-box column ja-box<?php echo $botsl[‘user11’][‘class’]; ?>” style=”width: <?php echo $botsl[‘user11’][‘width’]; ?>;”>
<jdoc:include type=”modules” name=”user11″ style=”JAxhtml” />
</div>
<?php endif; ?><?php if( $this->countModules(‘user12’) ): ?>
<div class=”ja-box column ja-box<?php echo $botsl[‘user12’][‘class’]; ?>” style=”width: <?php echo $botsl[‘user12’][‘width’]; ?>;”>
<jdoc:include type=”modules” name=”user12″ style=”JAxhtml” />
</div>
<?php endif; ?><?php if( $this->countModules(‘user13’) ): ?>
<div class=”ja-box column ja-box<?php echo $botsl[‘user13’][‘class’]; ?>” style=”width: <?php echo $botsl[‘user13’][‘width’]; ?>;”>
<jdoc:include type=”modules” name=”user13″ style=”JAxhtml” />
</div>
<?php endif; ?><?php if( $this->countModules(‘user14’) ): ?>
<div class=”ja-box column ja-box<?php echo $botsl[‘user14’][‘class’]; ?>” style=”width: <?php echo $botsl[‘user14’][‘width’]; ?>;”>
<jdoc:include type=”modules” name=”user14″ style=”JAxhtml” />
</div>
<?php endif; ?><?php if( $this->countModules(‘user15’) ): ?>
<div class=”ja-box column ja-box<?php echo $botsl[‘user15’][‘class’]; ?>” style=”width: <?php echo $botsl[‘user15’][‘width’]; ?>;”>
<jdoc:include type=”modules” name=”user15″ style=”JAxhtml” />
</div>
<?php endif; ?></div></div></div></div>
</div>
</div>
</div>
<!– //BOTTOM SPOTLIGHT –>
<?php endif; ?>
[/php]
2) You open the file templatesja_kyanite_iilayoutsdefault.php
Find this line of code [php] <?php $this->loadBlock(‘botsl’) ?> [/php]
And add below that line this code
[php] <?php $this->loadBlock(‘botsl1’) ?> [/php] -
AuthorPosts
This topic contains 3 replies, has 3 voices, and was last updated by Sherlock 13 years, 7 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum