Viewing 11 posts - 1 through 11 (of 11 total)
  • Author
    Posts
  • marciello Friend
    #130362

    Hi guys,
    I’ve encountered this problem –
    The main menu ( I use css menu) did not appear in the main menu bar. Instead they appear vertically and it happens in IE. Everything work fine in firefox. I’ve attached the screenshot of my problem.

    I thought it was because of I’ve installed Xmap (site map component), but the problem still occurs when I’ve uninstalled that component. Hope you guys can help me out. Thanks in advance


    1. problem-screenshot
    bennitos Friend
    #257450

    Its rather hard to help if you dont post the url of your website 🙂

    So please post url

    marciello Friend
    #257458

    <em>@bennitos 63695 wrote:</em><blockquote>Its rather hard to help if you dont post the url of your website 🙂

    So please post url</blockquote>

    Sorry, I thought it was a common problem 🙂
    Here is the url

    ksn.com.my

    Thanks

    marciello Friend
    #257655

    Thanks nguoiabcd for editing my post. The previous username and password has limited access, by the way it can be twisted to alter the site. thanks again

    So, I’ve disabled the login page. Anyone care to help?

    Url – ksn.com.my

    I’ve put right click disable code previously but had taken it out, unfortunately the menu still not in the right place.

    marciello Friend
    #258205

    Nobody can help me out? I’ve tried to disable some modules but it seems that the modules are not causing this problem.

    marciello Friend
    #258307

    Sorry for not following the rule. Here are the information needed as stated in the rule

    1. Provide your website URL?
    — ksn.com.my

    2. Provide information about components/modules/mambots installed?
    — JCE editor, eventlist module, vvisit_counter module & xmap component (I’ve tried disable and even remove some of them but the problem still occur)

    3. Which version of Joomla do you use?
    — 1.5.2

    4. Have you made any modifications to the template?
    — Added 2 new module position before header, change some cosmetic (color of content background, column gradient, change header, increase slide show width)

    Hope these info will help to solve the problem. Thanks

    Menalto Friend
    #258310

    Try to change menu system and see if it helps out? Also try to replace the index.php from the template with a original one(but remember to backup the one you have)

    marciello Friend
    #258345

    <em>@Menalto 64734 wrote:</em><blockquote>Try to change menu system and see if it helps out? Also try to replace the index.php from the template with a original one(but remember to backup the one you have)</blockquote>

    Thanks Menalto…at least I know what are the possible actions to be taken other than what I’ve done

    1. Try to change menu system and see if it helps out?
    — I’ve changed the menu system to other…unfortunately the problem still occurs

    2. Also try to replace the index.php from the template with a original one(but remember to backup the one you have)
    — I’ll try afterward

    marciello Friend
    #258352

    2. Also try to replace the index.php from the template with a original one(but remember to backup the one you have)
    — Great! This is the problem. I’ve changed the index.php to the original and the problem did not occur. I’ve should known from the beginning. I just compare my index.pph page with the original previously and could not find any awkward code. Hope anyone can specify which is the mistake.

    Here is the code:

    <?php
    /**
    * @copyright Copyright (C) 2005 – 2007 Open Source Matters. All rights reserved.
    * @license GNU/GPL, see LICENSE.php
    * Joomla! is free software. This version may have been modified pursuant
    * to the GNU General Public License, and as distributed it includes or
    * is derivative of works licensed under the GNU General Public License or
    * other free or open source software licenses.
    * See COPYRIGHT.php for copyright notices and details.
    */

    // 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” src=”<?php echo $tmpTools->templateurl(); ?>/js/ja.script.js” </script>

    <!– Menu head –>
    <?php $jamenu->genMenuHead(); ?>

    <link href=”<?php echo $tmpTools->templateurl(); ?>/css/colors/<?php echo $tmpTools->getParam(JA_TOOL_COLOR); ?>.css” rel=”stylesheet” type=”text/css” />

    <!–>
    <style type=”text/css”>
    .clearfix {height: 1%;}
    img {border: none;}
    </style>
    <!–>

    <!–>
    <style type=”text/css”>
    .clearfix {display: inline-block;}
    </style>
    <!–>

    <?php if ($tmpTools->isIE6()) { ?>
    <!–>
    <script type=”text/javascript”>
    var siteurl = ‘<?php echo $tmpTools->baseurl();?>’;
    </script>
    <!–>
    <?php } ?>
    </head>

    <body id=”bd” class=”<?php echo $tmpTools->getParam(JA_TOOL_SCREEN);?> fs<?php echo $tmpTools->getParam(JA_TOOL_FONT);?>” >
    <a name=”Top” id=”Top”></a>
    <ul class=”accessibility”>
    <li><a href=”<?php echo $tmpTools->getCurrentURL();?>#ja-content” title=”<?php echo JText::_(“Skip to content”);?>”><?php echo JText::_(“Skip to content”);?></a></li>
    <li><a href=”<?php echo $tmpTools->getCurrentURL();?>#ja-mainnav” title=”<?php echo JText::_(“Skip to main navigation”);?>”><?php echo JText::_(“Skip to main navigation”);?></a></li>
    <li><a href=”<?php echo $tmpTools->getCurrentURL();?>#ja-col1″ title=”<?php echo JText::_(“Skip to 1st column”);?>”><?php echo JText::_(“Skip to 1st column”);?></a></li>
    <li><a href=”<?php echo $tmpTools->getCurrentURL();?>#ja-col2″ title=”<?php echo JText::_(“Skip to 2nd column”);?>”><?php echo JText::_(“Skip to 2nd column”);?></a></li>
    </ul>

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

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

    <div id=”ja-wrapper”>
    <!– 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>
    <!– 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>

    <?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 } ?>

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

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

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

    </div>

    <jdoc:include type=”modules” name=”debug” />

    </body>

    </html>

    Menalto Friend
    #258355

    Take the original index.php and place this here:

    <!-- BEGIN: BM -->
    <?php if($this->countModules('bm')) : ?>
    <div id="ja-bm">
    <jdoc:include type="modules" name="bm" />
    </div>
    <?php endif; ?>
    <!-- END: BM -->

    <!-- BEGIN: ENGLISH -->
    <?php if($this->countModules('english')) : ?>
    <div id="ja-english">
    <jdoc:include type="modules" name="english" />
    </div>
    <?php endif; ?>
    <!-- END: ENGLISH -->

    At the top where you have them, does it work then?

    marciello Friend
    #258400

    Thank you Menalto, problem solved. I think I messed up the index page and once again messed up in fixing it. Proper file management and file indexing should avoid this problem at first hand. Thanks again

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

This topic contains 11 replies, has 3 voices, and was last updated by  marciello 16 years, 4 months ago.

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