+ Antworten
Ergebnis 1 bis 6 von 6

Thema: Menü im IE weg

  1. #1
    Neu an Board
    Registriert seit
    02.06.2006
    Beiträge
    70
    Bedankte sich
    9
    1 Danksagung in 1 Beitrag

    Standard Menü im IE weg

    habe schon einiges über darstellungsprobs von IE und FF gelesen aber nix passendes gefunden und los gehts....

    im FF wird alles so dargestellt wie es sein soll aber im IE ist nur das banner zusehen habe in den Moduleinstellungen geschaut konnte aber nix finden was den IE dazu überredet die Menü´s anzuzeigen

    hier gehts zur HP

    und hier noch die index.php
    PHP-Code:
    <?php
    /**
    * @version $Id: index.php 3750 2006-05-31 10:39:39Z stingrey $
    * @package Joomla
    * @copyright Copyright (C) 2005 Open Source Matters. All rights reserved.
    * @license http://www.gnu.org/copyleft/gpl.html 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.
    */

    // Set flag that this is a parent file
    define'_VALID_MOS');

    // checks for configuration file, if none found loads installation page
    if (!file_exists'configuration.php' ) || filesize'configuration.php' ) < 10) {
        
    $self str_replace'/index.php',''strtolower$_SERVER['PHP_SELF'] ) ). '/';
        
    header("Location: http://" $_SERVER['HTTP_HOST'] . $self "installation/index.php" );
        exit();
    }

    include_once( 
    'globals.php' );
    require_once( 
    'configuration.php' );
    require_once( 
    'includes/joomla.php' );

    //Installation sub folder check, removed for work with SVN
    if (file_exists'installation/index.php' ) && $_VERSION->SVN == 0) {
        
    define'_INSTALL_CHECK');
        include ( 
    $mosConfig_absolute_path .'/offline.php');
        exit();
    }

    // displays offline/maintanance page or bar
    if ($mosConfig_offline == 1) {
        require( 
    $mosConfig_absolute_path .'/offline.php' );
    }

    // load system bot group
    $_MAMBOTS->loadBotGroup'system' );

    // trigger the onStart events
    $_MAMBOTS->trigger'onStart' );

    if (
    file_exists$mosConfig_absolute_path .'/components/com_sef/sef.php' )) {
        require_once( 
    $mosConfig_absolute_path .'/components/com_sef/sef.php' );
    } else {
        require_once( 
    $mosConfig_absolute_path .'/includes/sef.php' );
    }
    require_once( 
    $mosConfig_absolute_path .'/includes/frontend.php' );

    // retrieve some expected url (or form) arguments
    $option strvalstrtolowermosGetParam$_REQUEST'option' ) ) );
    $Itemid intvalmosGetParam$_REQUEST'Itemid'null ) );

    if (
    $option == '') {
        if (
    $Itemid) {
            
    $query "SELECT id, link"
            
    "\n FROM #__menu"
            
    "\n WHERE menutype = 'mainmenu'"
            
    "\n AND id = '$Itemid'"
            
    "\n AND published = '1'"
            
    ;
            
    $database->setQuery$query );
        } else {
            
    $query "SELECT id, link"
            
    "\n FROM #__menu"
            
    "\n WHERE menutype = 'mainmenu'"
            
    "\n AND published = 1"
            
    "\n ORDER BY parent, ordering LIMIT 1"
            
    ;
            
    $database->setQuery$query );
        }
        
    $menu = new mosMenu$database );
        if (
    $database->loadObject$menu )) {
            
    $Itemid $menu->id;
        }
        
    $link $menu->link;
        if ((
    $pos strpos$link'?' )) !== false) {
            
    $link substr$link$pos+). '&Itemid='.$Itemid;
        }
        
    parse_str$link$temp );
        
    /** this is a patch, need to rework when globals are handled better */
        
    foreach ($temp as $k=>$v) {
            
    $GLOBALS[$k] = $v;
            
    $_REQUEST[$k] = $v;
            if (
    $k == 'option') {
                
    $option $v;
            }
        }
    }
    if ( !
    $Itemid ) {
    // when no Itemid give a default value
        
    $Itemid 99999999;
    }

    // mainframe is an API workhorse, lots of 'core' interaction routines
    $mainframe = new mosMainFrame$database$option'.' );
    $mainframe->initSession();

    // trigger the onAfterStart events
    $_MAMBOTS->trigger'onAfterStart' );

    // checking if we can find the Itemid thru the content
    if ( $option == 'com_content' && $Itemid === ) {
        
    $id     intvalmosGetParam$_REQUEST'id') );
        
    $Itemid $mainframe->getItemid$id );
    }

    /** do we have a valid Itemid yet?? */
    if ( $Itemid === ) {
        
    /** Nope, just use the homepage then. */
        
    $query "SELECT id"
        
    "\n FROM #__menu"
        
    "\n WHERE menutype = 'mainmenu'"
        
    "\n AND published = 1"
        
    "\n ORDER BY parent, ordering"
        
    "\n LIMIT 1"
        
    ;
        
    $database->setQuery$query );
        
    $Itemid $database->loadResult();
    }

    // patch to lessen the impact on templates
    if ($option == 'search') {
        
    $option 'com_search';
    }

    // loads english language file by default
    if ($mosConfig_lang=='') {
        
    $mosConfig_lang 'english';
    }
    include_once( 
    $mosConfig_absolute_path .'/language/' $mosConfig_lang '.php' );

    // frontend login & logout controls
    $return     strvalmosGetParam$_REQUEST'return'NULL ) );
    $message     intvalmosGetParam$_POST'message') );
    if (
    $option == 'login') {
        
    $mainframe->login();

        
    // JS Popup message
        
    if ( $message ) {
            
    ?>
            <script language="javascript" type="text/javascript">
            <!--//
            alert( "<?php echo _LOGIN_SUCCESS?>" );
            //-->
            </script>
            <?php
        
    }

        if ( 
    $return && !( strpos$return'com_registration' ) || strpos$return'com_login' ) ) ) {
        
    // checks for the presence of a return url 
        // and ensures that this url is not the registration or login pages
            
    mosRedirect$return );
        } else {
            
    mosRedirect$mosConfig_live_site .'/index.php' );
        }

    } else if (
    $option == 'logout') {
        
    $mainframe->logout();

        
    // JS Popup message
        
    if ( $message ) {
            
    ?>
            <script language="javascript" type="text/javascript">
            <!--//
            alert( "<?php echo _LOGOUT_SUCCESS?>" );
            //-->
            </script>
            <?php
        
    }

        if ( 
    $return && !( strpos$return'com_registration' ) || strpos$return'com_login' ) ) ) {
        
    // checks for the presence of a return url 
        // and ensures that this url is not the registration or logout pages
            
    mosRedirect$return );
        } else {
            
    mosRedirect$mosConfig_live_site.'/index.php' );
        }
    }

    /** get the information about the current user from the sessions table */
    $my $mainframe->getUser();

    // detect first visit
    $mainframe->detect();

    // set for overlib check
    $mainframe->set'loadOverlib'false );

    $gid intval$my->gid );

    // gets template for page
    $cur_template $mainframe->getTemplate();
    /** temp fix - this feature is currently disabled */

    /** @global A places to store information from processing of the component */
    $_MOS_OPTION = array();

    // precapture the output of the component
    require_once( $mosConfig_absolute_path '/editor/editor.php' );

    ob_start();

    if (
    $path $mainframe->getPath'front' )) {
        
    $task     strvalmosGetParam$_REQUEST'task''' ) );
        
    $ret     mosMenuCheck$Itemid$option$task$gid );
        
        if (
    $ret) {
            require_once( 
    $path );
        } else {
            
    mosNotAuth();
        }
    } else {
        
    header'HTTP/1.0 404 Not Found' );
        echo 
    _NOT_EXIST;
    }

    $_MOS_OPTION['buffer'] = ob_get_contents();

    ob_end_clean();

    initGzip();

    header'Expires: Mon, 26 Jul 1997 05:00:00 GMT' );
    header'Last-Modified: ' gmdate'D, d M Y H:i:s' ) . ' GMT' );
    header'Cache-Control: no-store, no-cache, must-revalidate' );
    header'Cache-Control: post-check=0, pre-check=0'false );
    header'Pragma: no-cache' );

    // display the offline alert if an admin is logged in
    if (defined'_ADMIN_OFFLINE' )) {
        include( 
    $mosConfig_absolute_path .'/offlinebar.php' );
    }

    // loads template file
    if ( !file_exists$mosConfig_absolute_path .'/templates/'$cur_template .'/index.php' ) ) {
        echo 
    _TEMPLATE_WARN $cur_template;
    } else {
        require_once( 
    $mosConfig_absolute_path .'/templates/'$cur_template .'/index.php' );
        echo 
    '<!-- 'time() .' -->';
    }

    // displays queries performed for page
    if ($mosConfig_debug) {
        echo 
    $database->_ticker ' queries executed';
        echo 
    '<pre>';
         foreach (
    $database->_log as $k=>$sql) {
             echo 
    $k+"\n" $sql '<hr />';
        }
        echo 
    '</pre>';
    }

    doGzip();
    ?>


    hoffe ihr könnt mir helfen und die css hängt dran
    Angehängte Dateien
    Geändert von Nightblind (18.07.2006 um 16:25 Uhr)
    schreibe immer klein

  2. #2
    Neu an Board
    Registriert seit
    24.03.2005
    Beiträge
    42
    Bedankte sich
    0
    Erhielt 10 Danksagungen
    in 10 Beiträgen

    Standard

    hallo,

    die index.php die du gepostet hast nützt uns gar nichts das ist die standart index.php von joomla. was interessant wäre ist die index.php aus deinem template.

    wenn ich deine seite mit dem ie aufmache sehe ich auser das topmenü und den header nichts

    ich denke die backgroundgrafik bg_grad.jpg liegt über deinem inhalt nimm sie testhalber mal raus.

    im Quelltext ist der inhalt da und auch das menü.

    gruß suselix

  3. #3
    Verbringt hier viel Zeit
    Registriert seit
    28.05.2006
    Ort
    Grünburg
    Beiträge
    540
    Bedankte sich
    7
    Erhielt 120 Danksagungen
    in 115 Beiträgen

    Standard

    du hast 2 </div> drin, die nicht geöffnet wurden - vielleicht liegt's daran ...

  4. #4
    Neu an Board
    Registriert seit
    02.06.2006
    Beiträge
    70
    Bedankte sich
    9
    1 Danksagung in 1 Beitrag

    Standard

    PHP-Code:
    <?php defined"_VALID_MOS" ) or die( "Direct Access to this location is not allowed." );$iso split'='_ISO );echo '<?xml version="1.0" encoding="'$iso[1] .'"?' .'>';?>
    <!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">
    <head>
    <?php mosShowHead(); ?>
    <meta **********="Content-Type" content="text/html;><?php echo _ISO?>" />
    <?php if ( $my->id ) { initEditor(); } ?>
    <?php 
    include($GLOBALS['mosConfig_absolute_path']."/templates/247clean/splitmenu.php"); ?>
    <?php 
    echo "<link rel=\"stylesheet\" href=\"$GLOBALS[mosConfig_live_site]/templates/$GLOBALS[cur_template]/css/template_css.css\" type=\"text/css\"/>" ?><?php echo "<link rel=\"shortcut icon\" href=\"$GLOBALS[mosConfig_live_site]/<?php echo $mosConfig_live_site;?>/templates/247clean/images/favicon.ico\" />" ?>
    <link rel="alternate" title="<?php echo $mosConfig_sitename?>" href="<?php echo $GLOBALS['mosConfig_live_site']; ?>/index2.php?option=com_rss&no_html=1" type="application/rss+xml" />

    <?PHP
    // Image Changer 
    // image and site ID`s 
    $image1 = array(1,2,3,8,9,10,15,18,19);
    $image2 = array(4,5,6,7,11,12,13,14,20,21);
    $image3 = array(17,22,23,24,25,26,27,28,29,30);
    // $image4 = array(17,22,23,24,25,26,27,28,29,30);
    // $image5 = array(17,22,23,24,25,26,27,28,29,30);
    // $image6 = array(17,22,23,24,25,26,27,28,29,30);
    // $image7 = array(17,22,23,24,25,26,27,28,29,30);
    // etc.

    // looking for images
    $header="head.jpg";
    if (
    in_array($Itemid$image1)) $header="head.jpg";
    if (
    in_array($Itemid$image2)) $header="head01.jpg";
    if (
    in_array($Itemid$image3)) $header="head02.jpg";
    // if (in_array($Itemid, $image3)) $header="head03.jpg";
    // if (in_array($Itemid, $image3)) $header="head04.jpg";
    // if (in_array($Itemid, $image3)) $header="head05.jpg";
    // if (in_array($Itemid, $image3)) $header="head06.jpg";
    // if (in_array($Itemid, $image3)) $header="head07.jpg";
    // etc.
    ?>
    </head>
    <body background="<?php echo $mosConfig_live_site;?>/templates/247clean/images/bg_grad.jpg" style="background-repeat:repeat-x;">
    <div id="masthead">
      <h1 id="siteName" class="title"><?php echo $mosConfig_sitename?></h1>
      <div id="utility"><?php mosLoadModules 'user3' ); ?></div>
      <div id="globalNav"> <img alt="" src="<?php echo $mosConfig_live_site;?>/templates/247clean/images/gblnav_left.jpg" height="32" width="7" id="gnl" /> <img alt="" src="<?php echo $mosConfig_live_site;?>/templates/247clean/images/glbnav_right.jpg" height="32" width="7" id="gnr" />
        <div id="globalLink"><?php echo $mycssPSPLITmenu_content?></div>
          <?php if (mosCountModules('user4')) { ?><div id="search">
          <?php mosLoadModules 'user4' ); ?>                  
        </div><?php ?>
      </div>
      <div class="subbox"><?php echo $mycssSSPLITmenu_content?></div>

    <br />
    <div id="globalHead">           <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0" width="100%" height="140">
                            <param name="movie" value="templates/247clean/images/logonummer3.swf" />
                            <param name="quality" value="high" />
                            <embed src="templates/247clean/images/logonummer3.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="100%" height="140"></embed>       
      </div>
    <div id="globalInfo"> <img src="<?php echo $mosConfig_live_site;?>/templates/247clean/images/spacer.gif" alt="" name="gnl" width="7" height="20" id="gnl" /> <img src="<?php echo $mosConfig_live_site;?>/templates/247clean/images/spacer.gif" alt="" name="gnr" width="7" height="20" id="gnr" />
      <div id="globalPath"><?php mosPathWay(); ?></div>
        <div id="globalDate"><?php echo mosCurrentDate(); ?></div>
      </div>
    </div>
    </div>
    <div id="pagecell1">
      <img alt="" src="<?php echo $mosConfig_live_site;?>/templates/247clean/images/tl_curve_white.gif" height="6" width="6" id="tl" /> <img alt="" src="<?php echo $mosConfig_live_site;?>/templates/247clean/images/tr_curve_white.gif" height="6" width="6" id="tr" />
      <div id="pageTop">
        <table width="100%"  border="0" cellspacing="0" cellpadding="0" style="padding-left: 0px; padding-right: 0px;">
          <tr>
            <td><table width="100%"  border="0" align="center" cellpadding="0" cellspacing="0">
                <tr>
                  <td valign="top" style="border-right: 1px solid #EEEEEE;"><?php if (mosCountModules('left')) { ?>
                      <table width="180"  border="0" cellpadding="0" cellspacing="0">
                        <tr>
                          <td style="padding:5px;"><?php mosLoadModules 'left' ); ?></td>
                        </tr>
                      </table>
                    <?php ?></td>
                  <td style="padding-left: 5px; padding-right: 5px; padding-top:5px; border-left: 1px solid #FFF; border-right: 1px solid #FFF;" width="100%" valign="top"><table width="100%"  border="0" cellspacing="0" cellpadding="0">
                      <tr valign="top">
                        <?php if (mosCountModules('top')) { ?>
                        <td colspan="3"><div>
                            <?php mosLoadModules 'top' ); ?>
                        </div></td>
                        <?php ?>
                      </tr>
                      <tr>
                        <?php if (mosCountModules('user1')) { ?>
                        <td valign="top"><div style="padding-bottom: 5px;">
                            <?php mosLoadModules 'user1' ); ?>
                        </div></td>
                        <td width="2" valign="top"><?php ?>
                            <?php if (mosCountModules('user2')) { ?>
                        </td>
                        <td valign="top"><div style="padding-bottom: 5px;">
                            <?php mosLoadModules 'user2' ); ?>
                        </div></td>
                        <?php ?>
                      </tr>
                      <tr>
                        <td height="4" colspan="3"><table width="100%"  border="0" cellspacing="0" cellpadding="0">
                            <tr>
                              <td><img src="<?php echo $mosConfig_live_site;?>/templates/247clean/images/space.gif"  width="100" height="4" /></td>
                            </tr>
                        </table></td>
                      </tr>
                      <tr align="left" valign="top">
                        <td colspan="3"><?php mosMainBody(); ?></td>
                      </tr>
                      <tr>
                        <td colspan="3"><table width="100%"  border="0" cellspacing="0" cellpadding="0">
                            <tr>
                              <td><img src="<?php echo $mosConfig_live_site;?>/templates/247clean/images/space.gif"  width="100" height="4" /></td>
                            </tr>
                        </table></td>
                      </tr>
                      <tr valign="top">
                        <?php if (mosCountModules('bottom')) { ?>
                        <td colspan="3"><div>
                            <?php mosLoadModules 'bottom' ); ?>
                        </div></td>
                        <?php ?>
                      </tr>
                  </table></td>
                  <td valign="top" style="border-left: 1px solid #EEEEEE;"><?php if (mosCountModules('right')) { ?>
                      <table width="180"  border="0" cellpadding="0" cellspacing="0">
                        <tr>
                          <td style="padding: 5px;"><?php mosLoadModules 'right' ); ?></td>
                        </tr>
                      </table>
                    <?php ?></td>
                </tr>
            </table></td>
          </tr>
        </table>
      </div>
    <div id="siteInfo"><a href="http://www.joomlateam.com" target="_blank" style="font-size:10px; color:#CCCCCC;">Design by Joomlateam.com </a> | <a href="http://www.joomlapixel.com" target="_blank" style="font-size:10px; color:#CCCCCC;">Powered by Joomlapixel.com </a> |
      <div id="siteTop"><a href="#">Top</a></div>
    </div>
    </div>
    </body>
    </html>
    so hier haben wir nochmal die vom template warum da die andere reingerutscht is keine ahnung war wohl noch zu früh

    ich denke die backgroundgrafik bg_grad.jpg liegt über deinem inhalt nimm sie testhalber mal raus.
    test fehlgeschlagen :(
    Geändert von Nightblind (18.07.2006 um 13:28 Uhr)
    schreibe immer klein

  5. #5
    Neu an Board
    Registriert seit
    24.03.2005
    Beiträge
    42
    Bedankte sich
    0
    Erhielt 10 Danksagungen
    in 10 Beiträgen

    Standard

    hallo Nightblind ,

    mit der index.php kann was anfangen .

    der fehler: du hast dein flash nicht beendet.

    <object classid="clsid27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0" width="100%" height="140">

    musst du auch mit </object> beenden.

    gruß suselix

  6. Erhielt Danksagungen von:


  7. #6
    Neu an Board
    Registriert seit
    02.06.2006
    Beiträge
    70
    Bedankte sich
    9
    1 Danksagung in 1 Beitrag

    Standard

    das wars manchmal können die "großen fehler" so "kleine ursachen" haben besonders wenn man noch ziemlich am anfang ist
    schreibe immer klein

+ Antworten

Ähnliche Themen

  1. Patch 4.5.2 to 4.5.2.3 Admin Menü weg
    Von rejael im Forum Mambo Installation
    Antworten: 4
    Letzter Beitrag: 21.08.2006, 22:08
  2. Menü aus dem Backend im Frontend!?
    Von spice im Forum Joomla Komponenten
    Antworten: 0
    Letzter Beitrag: 04.05.2006, 11:23
  3. Menü, Itemid, Pathway, Grundsätzliche Fragen
    Von mts im Forum Allgemeine Fragen zu Joomla
    Antworten: 4
    Letzter Beitrag: 06.01.2006, 13:49
  4. static_content: Menü klappt ein und Pathway weg
    Von lindic im Forum Allgemeine Fragen zu Mambo
    Antworten: 2
    Letzter Beitrag: 26.08.2005, 15:35
  5. Menü im Admin-Bereich weg nach Datenbankumzug
    Von scherom im Forum Allgemeine Fragen zu Mambo
    Antworten: 3
    Letzter Beitrag: 09.06.2005, 11:27

Lesezeichen

Berechtigungen

  • Neue Themen erstellen: Nein
  • Themen beantworten: Nein
  • Anhänge hochladen: Nein
  • Beiträge bearbeiten: Nein