Back to top

Autore Topic: i.e non visualizza icone  (Letto 2991 volte)

Offline smithz

  • Esploratore
  • **
  • Post: 131
    • Mostra profilo
i.e non visualizza icone
« il: 02 Apr 2007, 20:40:06 »
Ciao..ho installato un template..e mi succede una cosa stranissima:carico la pagina e per 3 secondi si vede il logo,i links del topmenu,e le icone affianco ai link..quando la pagina ha caricato tutto non vedo più ne il logo,ne i links,ne le icone..questo solo con internet explorer,mentre con firefox tutto è ok...qualcuno sa di che si tratta? grazie  ;D

Offline maxdg

  • Esploratore
  • **
  • Post: 158
  • Sesso: Maschio
    • Mostra profilo
Re: i.e non visualizza icone
« Risposta #1 il: 02 Apr 2007, 22:13:07 »
Formato delle icone?
PNG ?
"Okey gua'da, se tu vienei qui, vienei qui solo pe' dire che non vienei" (C.Boulet - MWAT)

Offline smithz

  • Esploratore
  • **
  • Post: 131
    • Mostra profilo
Re: i.e non visualizza icone
« Risposta #2 il: 02 Apr 2007, 22:46:15 »
si,png...firefox le visualizza.la cosa strana è che per 4 secondi appaiono..poi quando la pagina è completata spariscono..che strano.. ???

Offline maxdg

  • Esploratore
  • **
  • Post: 158
  • Sesso: Maschio
    • Mostra profilo
Re: i.e non visualizza icone
« Risposta #3 il: 03 Apr 2007, 00:31:44 »
Per pura curiosità... prova questo plugin

Se non funziona, il problema dev'essere nel metodo utilizzato per puntare alle immagini di quel template, forse c'è una variabile, invece di un indirizzo.. ma senza vedere l'index.php ... è tanto duretta...
« Ultima modifica: 03 Apr 2007, 00:34:12 da maxdg »
"Okey gua'da, se tu vienei qui, vienei qui solo pe' dire che non vienei" (C.Boulet - MWAT)

Offline nirovi

  • Appassionato
  • ***
  • Post: 540
    • Mostra profilo
Re: i.e non visualizza icone
« Risposta #4 il: 09 Apr 2007, 14:47:25 »
Ho lo stesso problema, ho provato il plugin ma nulla di fatto.
posto il mio Index.php
Codice: [Seleziona]
<?php
/**
* @version $Id: index.php 6022 2006-12-18 22:30:07Z friesengeist $
* @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 rtrimdirname$_SERVER['PHP_SELF'] ), '/\\' ) . '/';
header("Location: http://" $_SERVER['HTTP_HOST'] . $self "installation/index.php" );
exit();
}

require( 
'globals.php' );
require_once( 
'configuration.php' );

// SSL check - $http_host returns <live site url>:<port number if it is 443>
$http_host explode(':'$_SERVER['HTTP_HOST'] );
if( (!empty( 
$_SERVER['HTTPS'] ) && strtolower$_SERVER['HTTPS'] ) != 'off' || isset( $http_host[1] ) && $http_host[1] == 443) && substr$mosConfig_live_site0) != 'https://' ) {
$mosConfig_live_site 'https://'.substr$mosConfig_live_site);
}

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 = " . (int) $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"
;
$database->setQuery$query0);
}
$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"
;
$database->setQuery$query0);
$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 addslashes_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
// If a sessioncookie exists, redirect to the given page. Otherwise, take an extra round for a cookiecheck
if (isset( $_COOKIE[mosMainFrame::sessionCookieName()] )) {
mosRedirect$return );
} else {
mosRedirect$mosConfig_live_site .'/index.php?option=cookiecheck&return=' urlencode$return ) );
}
} else {
// If a sessioncookie exists, redirect to the start page. Otherwise, take an extra round for a cookiecheck
if (isset( $_COOKIE[mosMainFrame::sessionCookieName()] )) {
mosRedirect$mosConfig_live_site .'/index.php' );
} else {
mosRedirect$mosConfig_live_site .'/index.php?option=cookiecheck&return=' urlencode$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 addslashes_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' );
}
} else if (
$option == 'cookiecheck') {
// No cookie was set upon login. If it is set now, redirect to the given page. Otherwise, show error message.
if (isset( $_COOKIE[mosMainFrame::sessionCookieName()] )) {
mosRedirect$return );
} else {
mosErrorAlert_ALERT_ENABLED );
}
}

/** 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();
?>

Grazie

vn
Non c'è futuro che tenga senza un passato vissuto nel rigore della passione per una vita umile e piena di principi.

Offline maxdg

  • Esploratore
  • **
  • Post: 158
  • Sesso: Maschio
    • Mostra profilo
Re: i.e non visualizza icone
« Risposta #5 il: 10 Apr 2007, 14:39:31 »
Scusa l'imprecisione nella richiesta.. intendevo l'index.php del template che usi.. ;)

Già che ci sei, se cambi template il problema resta?
"Okey gua'da, se tu vienei qui, vienei qui solo pe' dire che non vienei" (C.Boulet - MWAT)

Offline nirovi

  • Appassionato
  • ***
  • Post: 540
    • Mostra profilo
Re: i.e non visualizza icone
« Risposta #6 il: 15 Apr 2007, 15:04:22 »
eccomi, sto utilizzando il template [rhuk_solarflare_ii]:

Codice: [Seleziona]
<!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 defined'_VALID_MOS' ) or die( 'Restricted access' );
// needed to seperate the ISO number from the language file constant _ISO
$iso explode'='_ISO );
// xml prolog
echo '<?xml version="1.0" encoding="'$iso[1] .'"?' .'>';
?>
<?php mosShowHead(); ?><?php if ( $my->id ) {
initEditor();
}
$collspan_offset = ( mosCountModules'right' ) + mosCountModules'user2' ) ) ? 1;
//script to determine which div setup for layout to use based on module configuration
$user1 0;
$user2 0;
$colspan 0;
$right 0;
// banner combos
//user1 combos
if ( mosCountModules'user1' ) + mosCountModules'user2' ) == 2) {
$user1 2;
$user2 2;
$colspan 3;
} elseif ( 
mosCountModules'user1' ) == ) {
$user1 1;
$colspan 1;
} elseif ( 
mosCountModules'user2' ) == ) {
$user2 1;
$colspan 1;
}
//right based combos
if ( mosCountModules'right' ) and ( empty( $_REQUEST['task'] ) || $_REQUEST['task'] != 'edit' ) ) {
$right 1;
}
?>

  <meta content="text/html; <?php echo _ISO?>" http-equiv="Content-Type" />

  <link type="text/css" rel="stylesheet" href="<?php echo $mosConfig_live_site;?>/templates/rhuk_solarflare_ii/css/template_css.css" />

</head>



<body>

<div align="center">
<table border="0" cellpadding="0" cellspacing="0" width="825">

  <tbody>

    <tr>

      <td class="outline">
      <div id="buttons_outer">
      <div id="buttons_inner">
      <div id="buttons"><?php mosLoadModules 'user3', -1); ?></div>

      </div>

      </div>

      <div id="search_outer">
      <div id="search_inner"><?php mosLoadModules 'user4', -); ?></div>

      </div>

      <div class="clr"></div>

      <div id="header_outer">
      <div id="header"> &nbsp; </div>

      <div id="top_outer">
      <div id="top_inner"><?php if ( mosCountModules'top' ) ) {
mosLoadModules 'top', -);
} else {
?>
<span class="error">Top Module Empty</span><?php }
?>

      </div>

      </div>

      </div>

      <div id="left_outer">
      <div id="left_inner"><?php mosLoadModules 'left', -); ?></div>

      </div>

      <div id="content_outer">
      <div id="content_inner"><?php if ( mosCountModules ('banner') ) {
?>

      <table class="content_table" border="0" cellpadding="0" cellspacing="0" width="100%">

        <tbody>

          <tr>

            <td>
            <div id="banner_inner"> <img src="<?php echo $mosConfig_live_site;?>/templates/rhuk_solarflare_ii/images/advertisement.png" alt="advertisement.png, 0 kB" title="advertisement" border="0" height="8" width="400" /><br />

<?php mosLoadModules'banner', -); ?><br />

            </div>

            <div id="poweredby_inner"> <img src="<?php echo $mosConfig_live_site;?>/templates/rhuk_solarflare_ii/images/powered_by.png" alt="powered_by.png, 1 kB" title="powered_by" border="0" height="68" width="165" /><br />

            </div>

            </td>

          </tr>

        </tbody>
      </table>

<?php }
?>

      <table class="content_table" border="0" cellpadding="0" cellspacing="0" width="100%">

        <tbody>

          <tr valign="top">

            <td width="99%">
            <table class="content_table" border="0" cellpadding="0" cellspacing="0" width="100%">

<?php if ($colspan 0) {
?>
<tbody>

                <tr valign="top">

<?php if ( $user1 ) {
?>
<td width="50%">
                  <div class="user1_inner"><?php mosLoadModules 'user1', -); ?></div>

                  </td>

<?php }
if ( 
$colspan == 3) {
?>
<td width="2">
                  <img src="<?php echo $mosConfig_live_site;?>/templates/rhuk_solarflare_ii/images/spacer.png" alt="" title="spacer" border="0" height="10" width="2" /> </td>

<?php }
if ( 
$user2 ) {
?>
<td width="50%">
                  <div class="user2_inner"><?php mosLoadModules 'user2', -); ?></div>

                  </td>

<?php }
?>
</tr>

                <tr>

                  <td colspan="<?php echo $colspan?>"> <img src="<?php echo $mosConfig_live_site;?>/templates/rhuk_solarflare_ii/images/spacer.png" alt="" title="spacer" border="0" height="2" width="100" /><br />

                  </td>

                </tr>

<?php }
?>
<tr>

                  <td colspan="<?php echo $colspan?>">
                  <div id="pathway_text"><?php mosPathWay(); ?></div>

                  </td>

                </tr>

                <tr>

                  <td colspan="<?php echo $colspan?>" class="body_outer"><?php mosMainBody(); ?> </td>

                </tr>

              </tbody>
            </table>

            </td>

<?php if ( $right ) {
?>
<td>
            <div id="right_outer">
            <div id="right_inner"><?php mosLoadModules 'right', -); ?></div>

            </div>

            </td>

<?php }
?>
</tr>

        </tbody>
      </table>

      </div>

      </div>

      </td>

    </tr>

  </tbody>
</table>

</div>

<?php include_once( $GLOBALS['mosConfig_absolute_path'] . '/includes/footer.php' ); ?>
<?php mosLoadModules'debug', -);?>
</body>
</html>
Non c'è futuro che tenga senza un passato vissuto nel rigore della passione per una vita umile e piena di principi.

Offline maxdg

  • Esploratore
  • **
  • Post: 158
  • Sesso: Maschio
    • Mostra profilo
Re: i.e non visualizza icone
« Risposta #7 il: 28 Apr 2007, 16:26:16 »
Fai un tentativo.
Sostituisci la variabile <?php echo $mosConfig_live_site;?> con l'indirizzo reale, in questa riga:

Codice: [Seleziona]
  <link type="text/css" rel="stylesheet" href="<?php echo $mosConfig_live_site;?>/templates/rhuk_solarflare_ii/css/template_css.css" />
"Okey gua'da, se tu vienei qui, vienei qui solo pe' dire che non vienei" (C.Boulet - MWAT)

 



Web Design Bolzano Kreatif