Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • kevinag Friend
    #143228

    I am trying to add a poll to the Left Position in JA Opal and for some reason, it’s about 20 pixels wider than everything else in that position/column. I also tried putting it in the Right Position but the problem didn’t go away.

    If you go to cwstaging.com you can see what I’m talking about. On the homepage there is a Poll that doesn’t fit correctly into the column.

    Any help would be greatly appreciated.

    Thanks,
    Kevin

    Anonymous Moderator
    #313324

    Hi kevinag

    Maybe you have changed some code.

    I checked your website and saw that the structure of website is incorrect.
    You should download our template and upload template/ja_opal/index.php again.

    Anonymous Moderator
    #313344

    Hi kevinag

    I have tried to view your administrator but could not. The link which you sent me does not correct.

    please kindly check again.

    kevinag Friend
    #313394

    Hi,

    Thanks for the help. I have PM’d my login information to you again. I didn’t have the user set to Administrator before. Sorry about that.

    If I upload template/ja_opal/index.php again won’t it revert back to having the breadcrumb, user4 and ja-login positions? The problem is, I don’t want those positions to be there. How do I remove those without it breaking the structure of the website?

    Thanks again,
    Kevin

    Anonymous Moderator
    #313455

    Hi

    Please try to replace your templates/ja_opal/index.php file with this code:

    [PHP]
    <?php
    /*————————————————————————
    # $JA#PRODUCT_NAME$ – Version $JA#VERSION$ – Licence Owner $JA#OWNER$
    # ————————————————————————
    # Copyright (C) 2004-2008 J.O.O.M Solutions Co., Ltd. All Rights Reserved.
    # @license – Copyrighted Commercial Software
    # Author: J.O.O.M Solutions Co., Ltd
    # Websites: http://www.joomlart.comhttp://www.joomlancers.com
    # This file may not be redistributed in whole or significant part.
    ————————————————————————-*/

    // no direct access
    defined( ‘_JEXEC’ ) or die( ‘Restricted access’ );

    include_once (dirname(__FILE__).DS.’ja_vars_1.5.php’);

    ?>

    <!DOCTYPE html PUBLIC “-//W3C//DTD XHTML 1.0 Transitional//EN” “http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd”>

    <html xmlns=”http://www.w3.org/1999/xhtml” xml:lang=”<?php echo $this->language; ?>” lang=”<?php echo $this->language; ?>”>

    <head>
    <jdoc:include type=”head” />
    <?php JHTML::_(‘behavior.mootools’); ?>
    <link rel=”stylesheet” href=”<?php echo $tmpTools->baseurl(); ?>templates/system/css/system.css” type=”text/css” />
    <link rel=”stylesheet” href=”<?php echo $tmpTools->baseurl(); ?>templates/system/css/general.css” type=”text/css” />
    <link rel=”stylesheet” href=”<?php echo $tmpTools->templateurl(); ?>/css/template.css” type=”text/css” />
    <link rel=”stylesheet” href=”<?php echo $tmpTools->templateurl(); ?>/css/typo.css” type=”text/css” />

    <script language=”javascript” type=”text/javascript”>
    var siteurl = ‘<?php echo $tmpTools->baseurl();?>’;
    var tmplurl = ‘<?php echo $tmpTools->templateurl();?>’;
    </script>

    <script language=”javascript” type=”text/javascript” src=”<?php echo $tmpTools->templateurl(); ?>/js/ja.script.js”></script>
    <!– js for dragdrop –>

    <!– Menu head –>
    <?php if ($jamenu) $jamenu->genMenuHead(); ?>
    <link href=”<?php echo $tmpTools->templateurl(); ?>/css/colors/<?php echo strtolower ($tmpTools->getParam(JA_TOOL_COLOR)); ?>.css” rel=”stylesheet” type=”text/css” />

    <!–>
    <style type=”text/css”>
    img {border: none;}
    <?php if ($iebgpng) : ?>
    #ja-bdbg {
    filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src='<?php echo $tmpTools->templateurl();?>/images/background/<?php echo $bgimg;?>’, sizingMethod=’image’);
    }
    body {
    background-image: none!important;
    }
    <?php endif; ?>
    </style>
    <!–>

    <?php if ($tmpTools->isIE()) { ?>

    <link href=”<?php echo $tmpTools->templateurl(); ?>/css/ie.php” rel=”stylesheet” type=”text/css” />
    <link href=”<?php echo $tmpTools->templateurl(); ?>/css/colors/<?php echo strtolower ($tmpTools->getParam(JA_TOOL_COLOR)); ?>-ie.php” rel=”stylesheet” type=”text/css” />
    <!–>
    <script type=”text/javascript”>
    window.addEvent (‘load’, makeTransBG);
    function makeTransBG() {
    makeTransBg($$(‘img’));
    }
    </script>
    <!–>
    <?php } ?>
    <?php
    $mainbg = ”;
    if ($tmpTools->getParam(‘ja_bgimg’)) {
    $mainbg = ‘class=”ja-mainbg”‘;
    }
    ?>
    </head>
    <body id=”bd” class=”<?php echo $tmpTools->getParam(JA_TOOL_LAYOUT);?> <?php echo $tmpTools->getParam(JA_TOOL_SCREEN);?> fs<?php echo $tmpTools->getParam(JA_TOOL_FONT);?>”<?php //echo $bodybg;?>>

    <div id=”ja-wrapper” <?php echo $mainbg;?>>
    <a name=”Top” id=”Top”></a>
    <?php if ($iebgpng) : ?>
    <div id=”ja-bdbgwrap” class=”wrap”>
    <div id=”ja-bdbg”></div>
    </div>
    <?php endif; ?>

    <!– HEADER –>
    <div id=”ja-header” class=”wrap”>
    <div class=”main 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’); ?>
    <div class=”logo-text”>
    <p class=”site-slogan”><?php echo $sloganText;?></p>
    <h1>
    <a href=”index.php” title=”<?php echo $siteName; ?>”><span><?php echo $logoText; ?></span></a>
    </h1>
    </div>
    <?php } ?>

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

    </div>
    </div>
    <!– //HEADER –>

    <!– MAIN NAVIGATION –>
    <div id=”ja-mainnav” class=”wrap”>
    <div class=”main”>
    <div class=”inner clearfix”>

    <ul class=”no-display”>
    <li><a href=”<?php echo $tmpTools->getCurrentURL();?>#ja-content” title=”<?php echo JText::_(“Skip to content”);?>”><?php echo JText::_(“Skip to content”);?></a></li>
    </ul>

    <?php if ($jamenu) $jamenu->genMenu (0); ?>

    </div>
    </div>
    </div>
    <!– //MAIN NAVIGATION –>

    <?php if ($this->countModules(‘ja-slideshow’) && $this->countModules(‘user5’) ) { ?>
    <!– TOP SPOTLIGHT –>
    <div id=”ja-topsl” class=”wrap”>
    <div class=”main”>
    <div class=”inner clearfix”>

    <div id=”ja-slideshow”>
    <jdoc:include type=”modules” name=”ja-slideshow” style=”raw” />
    </div>

    <div id=”ja-hl”>
    <jdoc:include type=”modules” name=”user5″ style=”jamodule” />
    </div>

    </div>
    </div>
    </div>
    <!– //TOP SPOTLIGHT –>
    <?php } ?>

    <div id=”ja-container<?php echo $divid; ?>” class=”wrap clearfix”>
    <div class=”main”><div class=”inner clearfix”>

    <!– CONTENT –>

    <div id=”ja-mainbody”>
    <jdoc:include type=”message” />

    <div id=”ja-current-content” class=”clearfix”>
    <jdoc:include type=”component” />
    </div>

    <?php if ( $this->countModules(‘ja-news’) ) { ?>
    <!– JA NEWS –>
    <div id=”ja-news”>
    <jdoc:include type=”modules” name=”ja-news” style=”jamodule” />
    </div>
    <!– //JA NEWS –>
    <?php } ?>

    <?php if ($this->countModules(‘ja-contentslide’) ) { ?>
    <!– JA CONTENT SLIDER –>
    <div id=”ja-cs”>
    <div class=”clearfix”>
    <jdoc:include type=”modules” name=”ja-contentslide” style=”jamodule” />
    </div>
    </div>
    <!– //JA CONTENT SLIDER –>
    <?php } ?>

    </div>
    <!– //CONTENT –>

    <?php if ( $ja_left || $ja_right ) { ?>
    <!– RIGHT COLUMN –>
    <div id=”ja-colwrap”>
    <div class=”ja-innerpad”>

    <?php if ($hasSubnav) : ?>
    <div id=”ja-subnav” class=”moduletable_menu”>
    <h3 class=”clearfix”><span class=”right-bg clearfix”><span class=”left-bg”>On this page</span></span></h3>
    <div class=”ja-boxct-wrap”><div class=”ja-box-ct”>
    <?php if ($jamenu) $jamenu->genMenu (1,1); ?>
    </div></div>
    </div>
    <?php endif; ?>

    <jdoc:include type=”modules” name=”left” style=”jamodule” />
    <jdoc:include type=”modules” name=”right” style=”jamodule” />
    </div></div>
    <!– //RIGHT COLUMN –>
    <?php } ?>

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

    <?php
    $spotlight = array (‘user1′,’user2′,’user7′,’user8’);
    $botsl = $tmpTools->calSpotlight ($spotlight,$tmpTools->isOP()?100:99.5);
    if( $botsl ) {
    ?>
    <!– BOTTOM SPOTLIGHT–>
    <div id=”ja-botsl” class=”wrap”>
    <div class=”main 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=”jamodule” />
    </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=”jamodule” />
    </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=”jamodule” />
    </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=”jamodule” />
    </div>
    <?php } ?>

    </div></div>
    <!– //BOTTOM SPOTLIGHT 2 –>
    <?php } ?>

    <!– FOOTER –>
    <div id=”ja-footer” class=”wrap”>
    <div class=”main clearfix”>
    <jdoc:include type=”modules” name=”user3″ />
    <jdoc:include type=”modules” name=”footer” />
    </div>
    </div>
    <!– //FOOTER –>

    <jdoc:include type=”modules” name=”debug” />
    <script type=”text/javascript”>
    //addSpanToTitle();
    //jaAddFirstItemToTopmenu();
    //jaRemoveLastContentSeparator();
    //jaRemoveLastTrBg();
    //moveReadmore();
    //addIEHover();
    //slideshowOnWalk ();
    //apply png ie6 main background
    </script>
    </div>
    </body>

    </html>

    [/PHP]

    kevinag Friend
    #313536

    OK, I replaced the code as you suggested. I’m still having the problem where whatever module I put in the bottom “Left Position” or “Right Position” doesn’t fit properly as you can see at cwstaging.com. Any other ideas?

    I appreciate your help.

    Kevin

Viewing 6 posts - 1 through 6 (of 6 total)

This topic contains 6 replies, has 2 voices, and was last updated by  kevinag 15 years, 3 months ago.

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