-
AuthorPosts
-
May 22, 2008 at 10:36 pm #128816
i just added this line of code back to its position because i had take it out thinking i would use another script for the bottom of the page heres the script from u guys, after adding this code back in my template to use thse positions instead of using anothe script, i get this error Fatal error: Call to a member function calSpotlight() on a non-object in on my page and i can’t see also the bottom footer.
my website address is http://www.xtrahype.com/main/
<?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 } ?>May 22, 2008 at 10:43 pm #250198<em>@guru2085 54800 wrote:</em><blockquote>i just added this line of code back to its position because i had take it out thinking i would use another script for the bottom of the page heres the script from u guys, after adding this code back in my template to use thse positions instead of using anothe script, i get this error Fatal error: Call to a member function calSpotlight() on a non-object in on my page and i can’t see also the bottom footer.
my website address is http://www.xtrahype.com/main/
<?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 } ?></blockquote>thanks anyway guys i already fix this..i was using the code from joomla1.5 got the original from 1.0 and its working fine now.
-
AuthorPosts
This topic contains 2 replies, has 1 voice, and was last updated by guru2085 16 years, 6 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum