Viewing 15 posts - 1 through 15 (of 23 total)
  • Author
    Posts
  • beyondsports Friend
    #132880

    i initially thought about adding 5 to the top—hence earlier email— it just didnt look right… i would like to add 5 more mod’s below the existing 5 at the bottom… i have edited the template details and added the positions in hierarchy…and i have edited the index.php file as well to add the additional mods in the bottom spotlight section

    when i preview the page – instead of 2 rows – i have 1 column with 10 items…. what do i need to do so their are 2 rows…

    see attached please


    1. cga4
    Sherlock Friend
    #268478

    Hi beyondsports !
    You can do it following way below :
    Open index.php file in templates/ja_edenite folder , add following code section :


    <?php
    $spotlight2 = array ('user10','user11','user12','user13','user14','user15');
    $botsl2 = $tmpTools->calSpotlight ($spotlight,$tmpTools->isOP()?100:99.9);
    if( $botsl2 ) {
    ?>
    <!-- BEGIN: BOTTOM SPOTLIGHT -->
    <div id="ja-botsl" class="clearfix">

    <?php if( $this->countModules('user1') ) {?>
    <div class="ja-box<?php echo $botsl['user10']['class']; ?>" style="width: <?php echo $botsl['user1']['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['user2']['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['user5']['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['user6']['width']; ?>;">
    <jdoc:include type="modules" name="user13" style="xhtml" />
    </div>
    <?php } ?>

    <?php if( $this->countModules('user14') ) {?>
    <div class="ja-box<?php echo $botsl['user14']['class']; ?>" style="width: <?php echo $botsl['user7']['width']; ?>;">
    <jdoc:include type="modules" name="user14" style="xhtml" />
    </div>
    <?php } ?>

    <?php if( $this->countModules('user15') ) {?>
    <div class="ja-box<?php echo $botsl['user15']['class']; ?>" style="width: <?php echo $botsl['user8']['width']; ?>;">
    <jdoc:include type="modules" name="user15" style="xhtml" />
    </div>
    <?php } ?>

    </div>
    <!-- END: BOTTOM SPOTLIGHT -->
    <?php } ?>

    below following code at about line 222:


    <?php if( $this->countModules('user8') ) {?>
    <div class="ja-box<?php echo $botsl['user8']['class']; ?>" style="width: <?php echo $botsl['user8']['width']; ?>;">
    <jdoc:include type="modules" name="user8" style="xhtml" />
    </div>
    <?php } ?>

    </div>
    <!-- END: BOTTOM SPOTLIGHT -->
    <?php } ?>

    beyondsports Friend
    #268503

    thanks haihnn…. you added 1 extra mod— 15 i removed it…assumed it was a typo…. i added the code to the index.php file— and i know i am missing something—instead of row #2…. i have the mods going vertical in a column under mod#1…
    here is my index.php code: my change’s in red and bold…

    <!– BEGIN: HEADER –>
    <div id=”ja-header” class=”clearfix”>

    <?php
    $siteName = $tmpTools->sitename();
    if ($tmpTools->getParam(‘logoType’)==’image’) { ?>
    <h1 class=”logo”>
    <a href=”index.php” title=”<?php echo $siteName; ?>”><span><?php echo $siteName; ?></span></a>
    </h1>
    <?php } else {
    $logoText = (trim($tmpTools->getParam(‘logoText’))==”) ? $config->sitename : $tmpTools->getParam(‘logoText’);
    $sloganText = (trim($tmpTools->getParam(‘sloganText’))==”) ? JText::_(‘SITE SLOGAN’) : $tmpTools->getParam(‘sloganText’); ?>
    <h1 class=”logo-text”>
    <a href=”index.php” title=”<?php echo $siteName; ?>”><span><?php echo $logoText; ?></span></a>
    </h1>
    <p class=”site-slogan”><?php echo $sloganText;?></p>
    <?php } ?>

    <?php if ($this->countModules(‘top’)) { ?>
    <div id=”ja-login”>
    <jdoc:include type=”modules” name=”top” style=”raw” />
    </div>
    <?php } ?>

    </div>
    <!– END: HEADER –>

    <!– BEGIN: MAIN NAVIGATION –>
    <div id=”ja-mainnavwrap”>

    <div id=”ja-mainnav”>
    <?php $jamenu->genMenu (0); ?>
    </div>

    <?php if ($this->countModules(‘user4’)) { ?>
    <div id=”ja-search”>
    <jdoc:include type=”modules” name=”user4″ style=”raw” />
    </div>
    <?php } ?>

    </div>

    <?php if ($hasSubnav) { ?>
    <div id=”ja-subnav” class=”clearfix”>
    <?php $jamenu->genMenu (1,1); ?>
    </div>
    <?php } ?>
    <!– END: MAIN NAVIGATION –>

    <div id=”ja-containerwrap<?php echo $divid; ?>”>
    <div id=”ja-container”>
    <div id=”ja-container2″ class=”clearfix”>

    <div id=”ja-mainbody” class=”clearfix”>

    <!– BEGIN: CONTENT –>
    <div id=”ja-content” class=”clearfix”>

    <jdoc:include type=”message” />

    <?php if($this->countModules(‘topsl’)) : ?>
    <!– BEGIN: TOPSL –>
    <div id=”ja-topsl”>
    <jdoc:include type=”modules” name=”topsl” />
    </div>
    <!– END: TOPSL –>
    <?php endif; ?>

    <div id=”ja-current-content” class=”clearfix”>

    <jdoc:include type=”component” />

    <?php if($this->countModules(‘banner’)) : ?>
    <!– BEGIN: BANNER –>
    <div id=”ja-banner”>
    <jdoc:include type=”modules” name=”banner” />
    </div>
    <!– END: BANNER –>
    <?php endif; ?>

    </div>

    </div>
    <!– END: CONTENT –>

    <?php if ($ja_right) { ?>
    <!– BEGIN: RIGHT COLUMN –>
    <div id=”ja-col2″>
    <jdoc:include type=”modules” name=”right” style=”xhtml” />
    </div><br />
    <!– END: RIGHT COLUMN –>
    <?php } ?>

    </div>

    <?php if ($ja_left) { ?>
    <!– BEGIN: LEFT COLUMN –>
    <div id=”ja-col1″>
    <jdoc:include type=”modules” name=”left” style=”xhtml” />
    </div>
    <!– END: LEFT COLUMN –>
    <?php } ?>

    </div></div></div>

    <!– BEGIN: PATHWAY –>
    <div id=”ja-pathway”>
    <strong>You are here  :</strong><jdoc:include type=”module” name=”breadcrumbs” />
    </div>
    <!– END: PATHWAY –>

    <?php
    $spotlight = array (‘user1′,’user2′,’user5′,’user6′,’user7′,’user8’);
    $botsl = $tmpTools->calSpotlight ($spotlight,$tmpTools->isOP()?100:99.9);
    if( $botsl ) {
    ?>
    <!– BEGIN: BOTTOM SPOTLIGHT –>
    <div id=”ja-botsl” class=”clearfix”>

    <?php if( $this->countModules(‘user1’) ) {?>
    <div class=”ja-box<?php echo $botsl[‘user1’][‘class’]; ?>” style=”width: <?php echo $botsl[‘user1’][‘width’]; ?>;”>
    <jdoc:include type=”modules” name=”user1″ style=”xhtml” />
    </div>
    <?php } ?>

    <?php if( $this->countModules(‘user2’) ) {?>
    <div class=”ja-box<?php echo $botsl[‘user2’][‘class’]; ?>” style=”width: <?php echo $botsl[‘user2’][‘width’]; ?>;”>
    <jdoc:include type=”modules” name=”user2″ style=”xhtml” />
    </div>
    <?php } ?>

    <?php if( $this->countModules(‘user5’) ) {?>
    <div class=”ja-box<?php echo $botsl[‘user5’][‘class’]; ?>” style=”width: <?php echo $botsl[‘user5’][‘width’]; ?>;”>
    <jdoc:include type=”modules” name=”user5″ style=”xhtml” />
    </div>
    <?php } ?>

    <?php if( $this->countModules(‘user6’) ) {?>
    <div class=”ja-box<?php echo $botsl[‘user6’][‘class’]; ?>” style=”width: <?php echo $botsl[‘user6’][‘width’]; ?>;”>
    <jdoc:include type=”modules” name=”user6″ style=”xhtml” />
    </div>
    <?php } ?>

    <?php if( $this->countModules(‘user7’) ) {?>
    <div class=”ja-box<?php echo $botsl[‘user7’][‘class’]; ?>” style=”width: <?php echo $botsl[‘user7’][‘width’]; ?>;”>
    <jdoc:include type=”modules” name=”user7″ style=”xhtml” />
    </div>
    <?php } ?>

    <?php if( $this->countModules(‘user8’) ) {?>
    <div class=”ja-box<?php echo $botsl[‘user8’][‘class’]; ?>” style=”width: <?php echo $botsl[‘user8’][‘width’]; ?>;”>
    <jdoc:include type=”modules” name=”user8″ style=”xhtml” />
    </div>
    <?php } ?>

    </div>
    <!– END: BOTTOM SPOTLIGHT –>
    <?php } ?>

    <?php
    $spotlight2 = array (‘user10′,’user11′,’user12′,’user13′,’user14’);
    $botsl2 = $tmpTools->calSpotlight ($spotlight,$tmpTools->isOP()?100:99.9);
    if( $botsl2 ) {
    ?>
    <!– BEGIN: BOTTOM SPOTLIGHT –>
    <div id=”ja-botsl” class=”clearfix”>

    <?php if( $this->countModules(‘user10’) ) {?>
    <div class=”ja-box<?php echo $botsl[‘user10’][‘class’]; ?>” style=”width: <?php echo $botsl[‘user1’][‘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[‘user2’][‘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[‘user5’][‘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[‘user6’][‘width’]; ?>;”>
    <jdoc:include type=”modules” name=”user13″ style=”xhtml” />
    </div>
    <?php } ?>

    <?php if( $this->countModules(‘user14’) ) {?>
    <div class=”ja-box<?php echo $botsl[‘user14’][‘class’]; ?>” style=”width: <?php echo $botsl[‘user7’][‘width’]; ?>;”>
    <jdoc:include type=”modules” name=”user14″ style=”xhtml” />
    </div>
    <?php } ?>

    </div>
    <!– END: BOTTOM SPOTLIGHT –>
    <?php } ?>

    <!– BEGIN: FOOTER –>
    <div id=”ja-footer” class=”clearfix”>

    <jdoc:include type=”modules” name=”user3″ />
    <jdoc:include type=”modules” name=”footer” />

    </div>
    <!– END: FOOTER –>

    beyondsports Friend
    #268585

    i still need your help!!!!

    beyondsports Friend
    #268638

    again i am only looking to add 5 more mod’s ( user 10, 11, 12, 13 , 14 ) to the bottom under the existing one’s… right now they all go vertical under user 1….

    please help!!!!!
    thanks
    trey

    Sherlock Friend
    #268641

    Hi beyondsports !
    sorry for delay ! it is me . here. 😀

    Sherlock Friend
    #268642

    Please send url of your site.

    beyondsports Friend
    #268645

    its on a localhost… here is the template details and index… please let me know what i need to correct…

    <?xml version=”1.0″ encoding=”utf-8″?>
    <install version=”1.5″ type=”template”>
    <name>JA_Edenite</name>
    <creationDate>21 March 08</creationDate>
    <author>JoomlArt.com</author>
    <copyright>JoolArt Design Team</copyright>
    <authorEmail>webmaster@joomlart.com</authorEmail>
    <authorUrl>www.joomlart.com</authorUrl>
    <version>1.4</version>
    <description>JA Edenite</description>
    <files>
    <filename>component.php</filename>
    <filename>css/index.html</filename>
    <filename>favicon.ico</filename>
    <filename>html/index.html</filename>
    <filename>html/modules.php</filename>
    <filename>html/mod_banners/default.php</filename>
    <filename>html/mod_banners/index.html</filename>
    <filename>html/mod_footer/default.php</filename>
    <filename>html/mod_footer/index.html</filename>
    <filename>html/mod_login/default.php</filename>
    <filename>html/mod_login/index.html</filename>
    <filename>html/pagination.php</filename>
    <filename>images/icons_license.txt</filename>
    <filename>images/index.html</filename>
    <filename>index.html</filename>
    <filename>index.php</filename>
    <filename>ja_menus/Base.class.php</filename>
    <filename>ja_menus/CSSmenu.class.php</filename>
    <filename>ja_menus/DLmenu.class.php</filename>
    <filename>ja_menus/ja_cssmenu/img/index.html</filename>
    <filename>ja_menus/ja_cssmenu/index.html</filename>
    <filename>ja_menus/ja_cssmenu/ja.cssmenu.js</filename>
    <filename>ja_menus/ja_cssmenu/ja.moomenu.js</filename>
    <filename>ja_menus/ja_moomenu/img/index.html</filename>
    <filename>ja_menus/ja_moomenu/index.html</filename>
    <filename>ja_menus/ja_moomenu/ja.moomenu.js</filename>
    <filename>ja_menus/ja_scriptdlmenu/img/index.html</filename>
    <filename>ja_menus/ja_scriptdlmenu/index.html</filename>
    <filename>ja_menus/ja_scriptdlmenu/ja.scriptdlmenu.js</filename>
    <filename>ja_menus/ja_splitmenu/img/index.html</filename>
    <filename>ja_menus/ja_splitmenu/index.html</filename>
    <filename>ja_menus/Moomenu.class.php</filename>
    <filename>ja_menus/Splitmenu.class.php</filename>
    <filename>ja_templatetools_1.5.php</filename>
    <filename>ja_vars_1.5.php</filename>
    <filename>js/ja.script.js</filename>
    <filename>params.ini</filename>
    <filename>templateDetails.xml</filename>
    </files>
    <images>
    <filename>images/arrow.png</filename>
    <filename>images/arrow2.png</filename>
    <filename>images/arrow3.png</filename>
    <filename>images/bd-bg.gif</filename>
    <filename>images/blank.png</filename>
    <filename>images/bub1-bl.gif</filename>
    <filename>images/bub1-br.gif</filename>
    <filename>images/bub1-tl.gif</filename>
    <filename>images/bub1-tr.gif</filename>
    <filename>images/bub2-bl.gif</filename>
    <filename>images/bub2-br.gif</filename>
    <filename>images/bub2-tl.gif</filename>
    <filename>images/bub2-tr.gif</filename>
    <filename>images/bub3-bl.gif</filename>
    <filename>images/bub3-br.gif</filename>
    <filename>images/bub3-tl.gif</filename>
    <filename>images/bub3-tr.gif</filename>
    <filename>images/bub4-bl.gif</filename>
    <filename>images/bub4-br.gif</filename>
    <filename>images/bub4-tl.gif</filename>
    <filename>images/bub4-tr.gif</filename>
    <filename>images/bullet.gif</filename>
    <filename>images/dot.gif</filename>
    <filename>images/download-bg.gif</filename>
    <filename>images/emailbutton.png</filename>
    <filename>images/grad1.gif</filename>
    <filename>images/grad2-1.gif</filename>
    <filename>images/grad2-2.gif</filename>
    <filename>images/grad2.gif</filename>
    <filename>images/grad3.gif</filename>
    <filename>images/grad4.gif</filename>
    <filename>images/hline.gif</filename>
    <filename>images/icon-arrow.gif</filename>
    <filename>images/icon-author.gif</filename>
    <filename>images/icon-checklist.gif</filename>
    <filename>images/icon-error.gif</filename>
    <filename>images/icon-help.gif</filename>
    <filename>images/icon-info.gif</filename>
    <filename>images/icon-key.gif</filename>
    <filename>images/icon-pages.gif</filename>
    <filename>images/icon-plus.gif</filename>
    <filename>images/icon-search.gif</filename>
    <filename>images/icon-star.gif</filename>
    <filename>images/icon-tips.gif</filename>
    <filename>images/icon-user.gif</filename>
    <filename>images/indent1.png</filename>
    <filename>images/indent2.png</filename>
    <filename>images/indent3.png</filename>
    <filename>images/indent4.png</filename>
    <filename>images/input-bg.gif</filename>
    <filename>images/logo.gif</filename>
    <filename>images/main-bg1-n.gif</filename>
    <filename>images/main-bg1.gif</filename>
    <filename>images/main-bg2-n.gif</filename>
    <filename>images/main-bg2.gif</filename>
    <filename>images/mainnav-active.gif</filename>
    <filename>images/mainnav-sep.gif</filename>
    <filename>images/mainwrap2.gif</filename>
    <filename>images/ol-bg.gif</filename>
    <filename>images/opaque.png</filename>
    <filename>images/orange/grad2-1.gif</filename>
    <filename>images/orange/grad2.gif</filename>
    <filename>images/orange/logo.gif</filename>
    <filename>images/pdf_button.png</filename>
    <filename>images/printbutton.png</filename>
    <filename>images/red/grad2-1.gif</filename>
    <filename>images/red/grad2-2.gif</filename>
    <filename>images/red/grad2.gif</filename>
    <filename>images/red/logo.gif</filename>
    <filename>images/sc-q.gif</filename>
    <filename>images/shadow.gif</filename>
    <filename>images/so-q.gif</filename>
    <filename>images/spacer.png</filename>
    <filename>images/sticky-bg.gif</filename>
    <filename>images/trans-bg.png</filename>
    <filename>images/vline.gif</filename>
    <filename>images/vline2.gif</filename>
    <filename>template_thumbnail.png</filename>
    </images>
    <css>
    <filename>css/colors/default.css</filename>
    <filename>css/colors/orange.css</filename>
    <filename>css/colors/red.css</filename>
    <filename>css/ja.news.css</filename>
    <filename>css/template.css</filename>
    <filename>css/typo.css</filename>
    <filename>ja_menus/ja_cssmenu/ja.cssmenu.css</filename>
    <filename>ja_menus/ja_moomenu/ja.moomenu.css</filename>
    <filename>ja_menus/ja_scriptdlmenu/ja.scriptdlmenu.css</filename>
    <filename>ja_menus/ja_splitmenu/ja.splitmenu.css</filename>
    </css>
    <languages>
    <language tag=”en-GB”>en-GB.tpl_ja_edenite.ini</language>
    </languages>
    <administration>
    <languages>
    <language tag=”en-GB”>admin/en-GB.tpl_ja_edenite.ini</language>
    </languages>
    </administration>

    <positions>
    <position>hornav</position>
    <position>breadcrumbs</position>
    <position>banner</position>
    <position>left</position>
    <position>right</position>
    <position>top</position>
    <position>topsl</position>
    <position>user1</position>
    <position>user2</position>
    <position>user3</position>
    <position>user4</position>
    <position>user5</position>
    <position>user6</position>
    <position>user7</position>
    <position>user8</position>
    <position>user9</position>
    <position>user10</position>
    <position>user11</position>
    <position>user12</position>
    <position>user13</position>
    <position>user14</position>
    <position>footer</position>
    <position>syndicate</position>
    <position>debug</position>
    </positions>

    <params>
    <param name=”logoType” type=”list” default=”image” label=”Logo type” description=”LOGO TYPE DESCRIPTION”>
    <option value=”image”>Image</option>
    <option value=”text”>Text</option>
    </param>
    <param name=”logoText” type=”text” default=”” size=”50″ label=”Logo text” description=”LOGO TEXT DESCRIPTION” />
    <param name=”sloganText” type=”text” default=”” size=”50″ label=”Slogan” description=”SLOGAN DESCRIPTION” />

    <param name=”ja_font” type=”list” default=”3″ label=”Font size” description=”FONT SIZE DESCRIPTION”>
    <option value=”1″>1</option>
    <option value=”2″>2</option>
    <option value=”3″>3</option>
    <option value=”4″>4</option>
    <option value=”5″>5</option>
    <option value=”6″>6</option>
    </param>

    <param name=”ja_screen” type=”list” default=”950″ label=”Template Width” description=”TEMPLATE WIDTH DESCRIPTION”>
    <option value=”narrow”>Narrow Screen</option>
    <option value=”wide”>Wide Screen</option>
    </param>

    <param name=”ja_color” type=”list” default=”default” label=”Color Variation” description=”Color variation to use”>
    <option value=”default”>Default</option>
    <option value=”red”>Red</option>
    <option value=”orange”>Orange</option>
    </param>

    <param name=”menutype” type=”menu” default=”mainmenu” label=”Menu Type” description=”MENU TYPE DESCRIPTION” />
    <param name=”ja_menu” type=”list” default=”2″ label=”Menu Module” description=”MENU’S TYPE”>
    <option value=”split”>Split Menu</option>
    <option value=”css”>CSS Menu</option>
    <option value=”moo”>Moo Menu</option>
    <option value=”dropline”>Dropline Menu</option>
    </param>

    <param name=”showComponent” type=”radio” default=”1″ label=”Show Component” description=”SHOW COMPONENT DESCRIPTION”>
    <option value=”0″>No</option>
    <option value=”1″>Yes</option>
    </param>
    </params>
    </install>

    here is the index.php

    <!– BEGIN: HEADER –>
    <div id=”ja-header” class=”clearfix”>

    <?php
    $siteName = $tmpTools->sitename();
    if ($tmpTools->getParam(‘logoType’)==’image’) { ?>
    <h1 class=”logo”>
    <a href=”index.php” title=”<?php echo $siteName; ?>”><span><?php echo $siteName; ?></span></a>
    </h1>
    <?php } else {
    $logoText = (trim($tmpTools->getParam(‘logoText’))==”) ? $config->sitename : $tmpTools->getParam(‘logoText’);
    $sloganText = (trim($tmpTools->getParam(‘sloganText’))==”) ? JText::_(‘SITE SLOGAN’) : $tmpTools->getParam(‘sloganText’); ?>
    <h1 class=”logo-text”>
    <a href=”index.php” title=”<?php echo $siteName; ?>”><span><?php echo $logoText; ?></span></a>
    </h1>
    <p class=”site-slogan”><?php echo $sloganText;?></p>
    <?php } ?>

    <?php if ($this->countModules(‘top’)) { ?>
    <div id=”ja-login”>
    <jdoc:include type=”modules” name=”top” style=”raw” />
    </div>
    <?php } ?>

    </div>
    <!– END: HEADER –>

    <!– BEGIN: MAIN NAVIGATION –>
    <div id=”ja-mainnavwrap”>

    <div id=”ja-mainnav”>
    <?php $jamenu->genMenu (0); ?>
    </div>

    <?php if ($this->countModules(‘user4’)) { ?>
    <div id=”ja-search”>
    <jdoc:include type=”modules” name=”user4″ style=”raw” />
    </div>
    <?php } ?>

    </div>

    <?php if ($hasSubnav) { ?>
    <div id=”ja-subnav” class=”clearfix”>
    <?php $jamenu->genMenu (1,1); ?>
    </div>
    <?php } ?>
    <!– END: MAIN NAVIGATION –>

    <div id=”ja-containerwrap<?php echo $divid; ?>”>
    <div id=”ja-container”>
    <div id=”ja-container2″ class=”clearfix”>

    <div id=”ja-mainbody” class=”clearfix”>

    <!– BEGIN: CONTENT –>
    <div id=”ja-content” class=”clearfix”>

    <jdoc:include type=”message” />

    <?php if($this->countModules(‘topsl’)) : ?>
    <!– BEGIN: TOPSL –>
    <div id=”ja-topsl”>
    <jdoc:include type=”modules” name=”topsl” />
    </div>
    <!– END: TOPSL –>
    <?php endif; ?>

    <div id=”ja-current-content” class=”clearfix”>

    <jdoc:include type=”component” />

    <?php if($this->countModules(‘banner’)) : ?>
    <!– BEGIN: BANNER –>
    <div id=”ja-banner”>
    <jdoc:include type=”modules” name=”banner” />
    </div>
    <!– END: BANNER –>
    <?php endif; ?>

    </div>

    </div>
    <!– END: CONTENT –>

    <?php if ($ja_right) { ?>
    <!– BEGIN: RIGHT COLUMN –>
    <div id=”ja-col2″>
    <jdoc:include type=”modules” name=”right” style=”xhtml” />
    </div><br />
    <!– END: RIGHT COLUMN –>
    <?php } ?>

    </div>

    <?php if ($ja_left) { ?>
    <!– BEGIN: LEFT COLUMN –>
    <div id=”ja-col1″>
    <jdoc:include type=”modules” name=”left” style=”xhtml” />
    </div>
    <!– END: LEFT COLUMN –>
    <?php } ?>

    </div></div></div>

    <!– BEGIN: PATHWAY –>
    <div id=”ja-pathway”>
    <strong>You are here  :</strong><jdoc:include type=”module” name=”breadcrumbs” />
    </div>
    <!– END: PATHWAY –>

    <?php
    $spotlight = array (‘user1′,’user2′,’user5′,’user6′,’user7′,’user8’);
    $botsl = $tmpTools->calSpotlight ($spotlight,$tmpTools->isOP()?100:99.9);
    if( $botsl ) {
    ?>
    <!– BEGIN: BOTTOM SPOTLIGHT –>
    <div id=”ja-botsl” class=”clearfix”>

    <?php if( $this->countModules(‘user1’) ) {?>
    <div class=”ja-box<?php echo $botsl[‘user1’][‘class’]; ?>” style=”width: <?php echo $botsl[‘user1’][‘width’]; ?>;”>
    <jdoc:include type=”modules” name=”user1″ style=”xhtml” />
    </div>
    <?php } ?>

    <?php if( $this->countModules(‘user2’) ) {?>
    <div class=”ja-box<?php echo $botsl[‘user2’][‘class’]; ?>” style=”width: <?php echo $botsl[‘user2’][‘width’]; ?>;”>
    <jdoc:include type=”modules” name=”user2″ style=”xhtml” />
    </div>
    <?php } ?>

    <?php if( $this->countModules(‘user5’) ) {?>
    <div class=”ja-box<?php echo $botsl[‘user5’][‘class’]; ?>” style=”width: <?php echo $botsl[‘user5’][‘width’]; ?>;”>
    <jdoc:include type=”modules” name=”user5″ style=”xhtml” />
    </div>
    <?php } ?>

    <?php if( $this->countModules(‘user6’) ) {?>
    <div class=”ja-box<?php echo $botsl[‘user6’][‘class’]; ?>” style=”width: <?php echo $botsl[‘user6’][‘width’]; ?>;”>
    <jdoc:include type=”modules” name=”user6″ style=”xhtml” />
    </div>
    <?php } ?>

    <?php if( $this->countModules(‘user7’) ) {?>
    <div class=”ja-box<?php echo $botsl[‘user7’][‘class’]; ?>” style=”width: <?php echo $botsl[‘user7’][‘width’]; ?>;”>
    <jdoc:include type=”modules” name=”user7″ style=”xhtml” />
    </div>
    <?php } ?>

    <?php if( $this->countModules(‘user8’) ) {?>
    <div class=”ja-box<?php echo $botsl[‘user8’][‘class’]; ?>” style=”width: <?php echo $botsl[‘user8’][‘width’]; ?>;”>
    <jdoc:include type=”modules” name=”user8″ style=”xhtml” />
    </div>
    <?php } ?>

    </div>
    <!– END: BOTTOM SPOTLIGHT –>
    <?php } ?>

    <?php
    $spotlight2 = array (‘user10′,’user11′,’user12′,’user13′,’user14’);
    $botsl2 = $tmpTools->calSpotlight ($spotlight,$tmpTools->isOP()?100:99.9);
    if( $botsl2 ) {
    ?>
    <!– BEGIN: BOTTOM SPOTLIGHT –>
    <div id=”ja-botsl” class=”clearfix”>

    <?php if( $this->countModules(‘user10’) ) {?>
    <div class=”ja-box<?php echo $botsl[‘user10’][‘class’]; ?>” style=”width: <?php echo $botsl[‘user1’][‘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[‘user2’][‘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[‘user5’][‘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[‘user6’][‘width’]; ?>;”>
    <jdoc:include type=”modules” name=”user13″ style=”xhtml” />
    </div>
    <?php } ?>

    <?php if( $this->countModules(‘user14’) ) {?>
    <div class=”ja-box<?php echo $botsl[‘user14’][‘class’]; ?>” style=”width: <?php echo $botsl[‘user7’][‘width’]; ?>;”>
    <jdoc:include type=”modules” name=”user14″ style=”xhtml” />
    </div>
    <?php } ?>

    </div>
    <!– END: BOTTOM SPOTLIGHT –>
    <?php } ?>

    <!– BEGIN: FOOTER –>
    <div id=”ja-footer” class=”clearfix”>

    <jdoc:include type=”modules” name=”user3″ />
    <jdoc:include type=”modules” name=”footer” />

    </div>
    <!– END: FOOTER –>

    </div>

    Sherlock Friend
    #268648

    Hi beyondsports !
    this is difficult for me when can’t view your site. this is problem in html and css code . i must see it and detect the problem, i have try to add code of your in local in my pc and it runs well. Please try to upload your site to internet and send url for me !

    Menalto Friend
    #268735

    The code is almost correct, however when you say they all og under user1. what have you added into the module positions there?
    i have tested it here and it works,but i would correct a couple of things:
    do a search in the css file for
    #ja-botsl
    and add #ja-botsl2 there

    #ja-botsl {
    background:#F8F8F7 url(../images/grad1.gif) repeat-x center top;
    border:1px solid #E7E8E6;
    color:#626A69;
    padding:10px 0;
    }

    Replace with:

    #ja-botsl, #ja-botsl2 {
    background:#F8F8F7 url(../images/grad1.gif) repeat-x center top;
    border:1px solid #E7E8E6;
    color:#626A69;
    padding:10px 0;
    }

    And replace:

    #ja-header, #ja-mainnav, #ja-subnav, #ja-pathway, #ja-container, #ja-topsl, #ja-botsl, #ja-footer {
    clear:both;
    }

    With:

    #ja-header, #ja-mainnav, #ja-subnav, #ja-pathway, #ja-container, #ja-topsl, #ja-botsl, #ja-botsl2, #ja-footer {
    clear:both;
    }

    in the index.php file for the code you have added you can change this:

    <!-- BEGIN: BOTTOM SPOTLIGHT -->
    <div id="ja-botsl" class="clearfix">

    into:

    <!-- BEGIN: BOTTOM SPOTLIGHT -->
    <div id="ja-botsl2" class="clearfix">

    In ja.scripts in the js folder you can find this here:

    function equalHeight(){
    makeEqualHeight ($('ja-botsl').getChildren());

    And chage to this:

    function equalHeight(){
    makeEqualHeight ($('ja-botsl').getChildren());
    makeEqualHeight ($('ja-botsl2').getChildren());

    beyondsports Friend
    #268804

    what must i do for this to work!!!!

    i followed all the instruction’s menalto and the 2nd row instead of going across the screen below the first set … goes down in a single column under user 1…

    beyondsports Friend
    #268805

    what must i do for this to work!!!!

    i followed all the instruction’s menalto and the 2nd row instead of going across the screen below the first set … goes down in a single column under user 1…

    beyondsports Friend
    #268809

    after i made the change’s menalto suggested…any idea’s… highlights in red..thanks

    index.php

    <?php
    $spotlight = array (‘user1′,’user2′,’user5′,’user6′,’user7′,’user8’);
    $botsl = $tmpTools->calSpotlight ($spotlight,$tmpTools->isOP()?100:99.9);
    if( $botsl ) {
    ?>
    <!– BEGIN: BOTTOM SPOTLIGHT –>
    <div id=”ja-botsl” class=”clearfix”>

    <?php if( $this->countModules(‘user1’) ) {?>
    <div class=”ja-box<?php echo $botsl[‘user1’][‘class’]; ?>” style=”width: <?php echo $botsl[‘user1’][‘width’]; ?>;”>
    <jdoc:include type=”modules” name=”user1″ style=”xhtml” />
    </div>
    <?php } ?>

    <?php if( $this->countModules(‘user2’) ) {?>
    <div class=”ja-box<?php echo $botsl[‘user2’][‘class’]; ?>” style=”width: <?php echo $botsl[‘user2’][‘width’]; ?>;”>
    <jdoc:include type=”modules” name=”user2″ style=”xhtml” />
    </div>
    <?php } ?>

    <?php if( $this->countModules(‘user5’) ) {?>
    <div class=”ja-box<?php echo $botsl[‘user5’][‘class’]; ?>” style=”width: <?php echo $botsl[‘user5’][‘width’]; ?>;”>
    <jdoc:include type=”modules” name=”user5″ style=”xhtml” />
    </div>
    <?php } ?>

    <?php if( $this->countModules(‘user6’) ) {?>
    <div class=”ja-box<?php echo $botsl[‘user6’][‘class’]; ?>” style=”width: <?php echo $botsl[‘user6’][‘width’]; ?>;”>
    <jdoc:include type=”modules” name=”user6″ style=”xhtml” />
    </div>
    <?php } ?>

    <?php if( $this->countModules(‘user7’) ) {?>
    <div class=”ja-box<?php echo $botsl[‘user7’][‘class’]; ?>” style=”width: <?php echo $botsl[‘user7’][‘width’]; ?>;”>
    <jdoc:include type=”modules” name=”user7″ style=”xhtml” />
    </div>
    <?php } ?>

    <?php if( $this->countModules(‘user8’) ) {?>
    <div class=”ja-box<?php echo $botsl[‘user8’][‘class’]; ?>” style=”width: <?php echo $botsl[‘user8’][‘width’]; ?>;”>
    <jdoc:include type=”modules” name=”user8″ style=”xhtml” />
    </div>
    <?php } ?>

    </div>
    <!– END: BOTTOM SPOTLIGHT –>
    <?php } ?>

    <?php
    $spotlight2 = array (‘user10′,’user11′,’user12′,’user13′,’user14’);
    $botsl2 = $tmpTools->calSpotlight ($spotlight,$tmpTools->isOP()?100:99.9);
    if( $botsl2 ) {
    ?>

    <!– BEGIN: BOTTOM SPOTLIGHT –>
    <div id=”ja-botsl2″ class=”clearfix”>

    <?php if( $this->countModules(‘user10’) ) {?>
    <div class=”ja-box<?php echo $botsl[‘user10’][‘class’]; ?>” style=”width: <?php echo $botsl[‘user1’][‘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[‘user2’][‘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[‘user5’][‘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[‘user6’][‘width’]; ?>;”>
    <jdoc:include type=”modules” name=”user13″ style=”xhtml” />
    </div>
    <?php } ?>

    <?php if( $this->countModules(‘user14’) ) {?>
    <div class=”ja-box<?php echo $botsl[‘user14’][‘class’]; ?>” style=”width: <?php echo $botsl[‘user7’][‘width’]; ?>;”>
    <jdoc:include type=”modules” name=”user14″ style=”xhtml” />
    </div>
    <?php } ?>

    </div>
    <!– END: BOTTOM SPOTLIGHT –>
    <?php } ?>

    and i have added the info to the template details…. along with the added info to the template.css menalto said to enter…


    1. cga10
    beyondsports Friend
    #268946

    does anyone have any idea’s why it isnt working????
    trey
    i have viewed it in firefox… explorer and even the new google browser and still nothing…

    Menalto Friend
    #269061

    Can you zip up the whole template and send me?

Viewing 15 posts - 1 through 15 (of 23 total)

This topic contains 23 replies, has 4 voices, and was last updated by  beyondsports 16 years, 2 months ago.

We moved to new unified forum. Please post all new support queries in our New Forum