• Bannato User Attivo

    Ottimizzazione sito CMS, tag </ul>

    Salve ecco la pagina in questione alla riga 715 ho un errore, solo che non riesco ad individuarlo nel codice :?, potreste postarmi la parte di codice con il tag in questione e magari aiutarmi a risolverlo? Grazie


  • Bannato User Attivo

    Quanto possono pesare di più 5 errori rispetto a 1? Può influire sulposizionamento?


  • User

    credo che all'interno dell'elenco tu utilizzi qualche elemento che crea un errore posta il codice relativo o leggi qualche guida.


  • Bannato User Attivo

    Il codice del template è [HTML]<?php
    /*------------------------------------------------------------------------

    JA Xenia 1.0 - Nov, 2006

    ------------------------------------------------------------------------

    Copyright (C) 2004-2006 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.com - http://www.joomlancers.com

    -------------------------------------------------------------------------*/

    defined( '_VALID_MOS' ) or die( 'Restricted access' );
    $iso = split( '=', _ISO );
    /echo "<?xml version="1.0" encoding="'. $iso[1] .'"?' .'>";/
    global $ja_color_themes, $ja_header_images, $ja_width_default, $ja_color_default, $ja_font_size_default, $ja_tool, $ja_menutype, $ja_template_path, $ja_template_absolute_path, $ja_headerimg, $ja_color, $ja_width, $ja_font_size, $ja_template_name;

    $ja_template_name = 'ja_xenia';

    BEGIN: TEMPLATE CONFIGURATIONS

    ####################################

    Change the width of the template

    $ja_width_default = 'wide'; // 'narrow': 800x600; 'wide': 1024x768; 'auto': fluid width

    default color

    $ja_color_default = 'blue'; //blank for default, else pick one of in extra color themes $ja_color_themes
    #font size default
    $ja_font_size_default = 3;

    Enable users option

    $ja_tool = 3; // 0: disable all; 1: disable color, enable font; 2: enable color, disable font; 3: enable all.

    Choose your prefer Menu Type

    $ja_menutype = 1; // 1: Split Menu; 2: Son of Suckerfish Dropdown Menu; 3: Transmenu; 4: Script Dropline Menu;

    END: TEMPLATE CONFIGURATIONS

    Define the template path

    $ja_template_path = $mosConfig_live_site.'/templates/'.$ja_template_name;
    $ja_template_absolute_path = $mosConfig_absolute_path.'/templates/'.$ja_template_name;
    include ($ja_template_absolute_path."/ja_templatetools.php");

    $topnav = "";
    $subnav = "";
    if ($ja_menutype == 1) {
    require($ja_template_absolute_path."/ja_splitmenu.php");
    $topnav = ja_topNav('topmenu', array('default'));
    $subnav = ja_subNav('topmenu');
    } else if ($ja_menutype == 4) {
    require($ja_template_absolute_path."/ja_scriptdlmenu.php");
    $topnav = $jamenu->menuObj->main;
    $subnav = $jamenu->menuObj->sub;
    }

    Auto Collapse Divs Functions

    $ja_left = mosCountModules( 'left' );
    $ja_right = mosCountModules( 'right' );

    if ( $ja_left && $ja_right ) {
    $divid = '';
    } elseif ( $ja_left ) {
    $divid = '-fr';
    } elseif ( $ja_right ) {
    $divid = '-fl';
    } else {
    $divid = '-f';
    }

    ?>

    <!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 http-equiv="Content-Type" content="text/html; <?php echo _ISO; ?>" />
    <meta http-equiv="Content-Style-Type" content="text/css" />

    <link href="<?php echo $ja_template_path;?>/css/template_css.css" rel="stylesheet" type="text/css" />
    <link href="<?php echo $ja_template_path;?>/css/colors/<?php echo $ja_color; ?>.css" rel="stylesheet" type="text/css" />
    <link href="<?php echo $ja_template_path;?>/css/ja-news.css" rel="stylesheet" type="text/css" />

    <script language="javascript" type="text/javascript" src="<?php echo $ja_template_path;?>/scripts/ja.script.js"></script>

    <?php genMenuHead(); ?>

    <?php if ( $my->id ) { initEditor(); } ?>

    <!--[if lte IE 6]>
    <style type="text/css">
    .clearfix { height: 1%;}
    </style>
    <![endif]-->

    <!--[if gte IE 7.0]>
    <style type="text/css">
    .clearfix { display: inline-block;}
    </style>
    <![endif]-->
    </head>
    <?
    $load_time = microtime();
    $load_time = explode(' ',$load_time);
    $load_time = $load_time[1] + $load_time[0];
    $page_start = $load_time;

    ?>

    <body id="bd" class="<?php echo "$ja_width fs".$ja_font_size;?>">
    <a title="Skip to content" href="<?php echo getCurrentURL();?>#Content" style="display: none;">Skip to content</a>
    <a name="Top" id="Top"></a>

    <div id="ja-wrapper">
    <div id="ja-wrapper-inner">

    <!-- BEGIN: HEADER -->
    <div id="ja-headerwrap">
    <div id="ja-header" class="clearfix">
    <h1>
    <a href="index.php">
    <img src="<?php echo $ja_template_path;?>/images/neohw_head.jpg" alt="<?php echo $mosConfig_sitename?>" />
    </a>
    </h1>

        <!--<div id="ja-topnavwrap" class="clearfix">
            <?php mosLoadModules ( 'user3', -1 ); ?>
        </div> -->
    
        <?php if (mosCountModules('user4')) {?>
        <div id="ja-search">
            <?php mosLoadModules ( 'user4', -1 ); ?>
        </div>
        <?php } ?>
    
    </div>
    

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

    <!-- BEGIN: MAIN NAVIGATION -->
    <div id="ja-mainnavwrap" class="clearfix">
    <div id="ja-mainnav">
    <?php
    switch ($ja_menutype) {
    case 1: echo $topnav;
    break;
    case 2:
    include($ja_template_absolute_path."/ja_cssmenu.php");
    break;
    case 3:
    echo "<div class="transmenu-inner">";
    include($ja_template_absolute_path."/ja_transmenu.php");
    echo "</div>";
    case 4:
    echo $topnav;
    break;
    }
    ?>

    </div>

    <?php if ($ja_tool || mosCountModules('user4')) {?>
    <div id="ja-usertoolswrap">
    <span class="ja-sitetool">Aspetto</span>
    <div id="ja-usertools">
    <?php genToolMenu($ja_tool); ?>
    </div>
    </div>
    <?php } ?>
    </div>

    <div class="ja-mainnavshadow"></div>

    <?php if ($subnav) { ?>
    <div id="ja-subnav" class="clearfix">
    <?php echo $subnav; ?> 
    </div>
    <?php } ?>

    <div id="ja-containerwrap">
    <div id="ja-container<?php echo $divid ?>" class="clearfix">

        <!-- BEGIN: CONTENT -->
        <div id="ja-mainbody<?php echo $divid; ?>">
        
        <?php if( mosCountModules('header') ) {?>
            <div id="ja-sh" class="clearfix">
                <?php mosLoadModules('header', -1); ?>
            </div>
        <?php } ?>
    
        <script type="text/javascript"><!--
    

    google_ad_client = "pub-1709756843841148";
    google_ad_width = 728;
    google_ad_height = 90;
    google_ad_format = "728x90_as";
    google_ad_type = "text";
    //2007-01-26: bestpc_home
    google_ad_channel = "5302572718";
    google_color_border = "FFFFFF";
    google_color_bg = "FFFFFF";
    google_color_link = "0066CC";
    google_color_text = "4C4C4C";
    google_color_url = "B3B3B3";
    //--></script>
    <script type="text/javascript"
    src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
    </script>

    <p><a name="Content" id="Content"></a>
    </p>
    <div id="ja-contentwrap">
    <div id="ja-content">
    <div id="ja-pathway">
    <strong>Sei qui :</strong> <?php mosPathway(); ?>
    </div>

                <?php     
                $spotlight = array ('user1','user2','top');
                $topspl = calSpotlight ($spotlight);
                if( $topspl ) { 
                ?>
                <!-- BEGIN: TOP SPOTLIGHT -->
                <div id="ja-topslwrap">
                    <div id="ja-topsl" class="clearfix">
                      <?php if( mosCountModules('user1') ) {?>
    

    <div id="ja-topsl1" class="ja-box<?php echo $topspl['modules']['user1']; ?>" style="width: <?php echo $topspl['width']; ?>;">
    <?php mosLoadModules('user1', -2); ?>
    </div>
    <?php } ?>

                      <?php if( mosCountModules('user2') ) {?>
    

    <div id="ja-topsl2" class="ja-box<?php echo $topspl['modules']['user2']; ?>" style="width: <?php echo $topspl['width']; ?>;">
    <?php mosLoadModules('user2', -2); ?>
    </div>
    <?php } ?>

                      <?php if( mosCountModules('top') ) {?>
    

    <div id="ja-topsl3" class="ja-box<?php echo $topspl['modules']['top']; ?>" style="width: <?php echo $topspl['width']; ?>;">
    <?php mosLoadModules('top', -2); ?>
    </div>
    <?php } ?>
    </div>
    </div>
    <!-- END: TOP SPOTLIGHT -->
    <?php } ?>
    <?php
    global $mainframe, $option;
    $m_menu = $mainframe->get( 'menu' );
    $m_params = new mosParameters( $m_menu->params );

                $m_intro        = $m_params->def( 'intro',     4 );
                $m_leading     = $m_params->def( 'leading',     1 );
                if ( $option != 'com_frontpage' || $m_intro || $m_leading) { 
                ?>
                <?php mosMainBody(); ?>
                <?php } ?>
                <?php if ( mosCountModules('ja-news') ) { ?>
                <div id="ja-newswrap">      
                    <?php mosLoadModules ( 'ja-news', -2 ); ?>            
                </div>
                <?php } ?>
                
            <?php if( mosCountModules('user8') ) {?>
    

    <div class="ja-box<?php echo $botsl['modules']['user8']; ?>" style="width: <?php echo $botsl['width']; ?>;">
    <?php mosLoadModules('user8', -2); ?>
    </div>
    <?php } ?>

            </div>
        </div>
    
        <?php if ($ja_right) { ?>
        <!-- BEGIN: RIGHT COLUMN -->
        <div id="ja-rightcol">
            <div id="ja-rightcol-inner">
                <?php    echo
                    mosLoadModules ( 'right',-3 );
                ?>
            </div>
        </div>
        <!-- END: RIGHT COLUMN -->
        <?php } ?>
    
        </div>
        <!-- END: CONTENT -->
    
        <?php if ($ja_left) { ?>
        <!-- BEGIN: LEFT COLUMN -->
            <div id="ja-leftcol">
                <?php    echo
                    mosLoadModules ( 'left',-2 );
                ?>
            </div>
        <br />
        <!-- END: LEFT COLUMN -->
        <?php } ?>
    
    </div>
    

    </div>

    <!-- BEGIN: FOOTER -->
    <div id="ja-footerwrap">

    <?php
    $spotlight = array ('user7','user9');
    $botsl = calSpotlight ($spotlight);
    if( $botsl ) {
    ?>
    <div id="ja-botsl" class="clearfix">
    <?php if( mosCountModules('user7') ) {?>
    <div class="ja-box<?php echo $botsl['modules']['user7']; ?>" style="width: <?php echo $botsl['width']; ?>;">
    <?php mosLoadModules('user7', -2); ?>
    </div>
    <?php } ?>

    <?php if( mosCountModules('user9') ) {?>
    <div class="ja-box<?php echo $botsl['modules']['user9']; ?>" style="width: <?php echo $botsl['width']; ?>;">
    <?php mosLoadModules('user9', -2); ?>
    </div>
    <?php } ?>
    </div>
    <?php } ?>
    <table width="100%" border="0.5" cellpadding="0.5">
    <tr>
    <th scope="col"><div align="center">| <a href="http://www.neohw.com/contact/amministratore/">Contact</a> | <a href="http://www.neohw.com/links/">Links</a> | <a href="http://it.azseek.org">Directory</a> |</div></th>
    </tr>
    <tr>
    <td><div align="center">
    <p>Copyright @ Neo Hardware - Portale News e Recensioni Hardware e Software</p>
    <p>"<em>Condividi la passione</em>" </p>
    </div></td>
    </tr>
    </table>
    <div id="ja-footer">
    <div id="ja-sublogo">
    <a href="index.php">
    </a>
    <?php include_once( $ja_template_absolute_path.'/footer.php' ); ?>
    </div>
    <p id="ja-bottomline">  </p>

    <div id="ja-cert"> <a href="http://www.computerguru.it"></a> 
      <?
    

    $load_time = microtime();
    $load_time = explode(' ',$load_time);
    $load_time = $load_time[1] + $load_time[0];
    $page_end = $load_time;
    $final_time = ($page_end - $page_start);
    $page_load_time = number_format($final_time, 4, '.', '');
    echo("Pagina caricata in " . $page_load_time . " secondi");

    ?>

        <?php if ($ja_menutype != 3 ) { ?>
    

    <a href="http://jigsaw.w3.org/css-validator/validator?uri=<?php echo $mosConfig_live_site;?>" target="_blank" title="Our site is valid CSS" style="text-decoration: none;"> </a>
    <?php } ?>
    <a href="http://validator.w3.org/check/referer" target="_blank" title="Our site is valid XHTML 1.0 Transitional" style="text-decoration: none;"> </a>
    <a href="<?php echo getCurrentURL();?>#Top" title="Go to top" style="text-decoration: none;">
    <img src="<?php echo $ja_template_path;?>/images/but-top-<?php echo $ja_color; ?>.gif" alt="Go to top!" /> </a><!-- Start of StatCounter Code -->
    <script type="text/javascript" language="javascript">
    var sc_project=2350545;
    var sc_invisible=0;
    var sc_partition=21;
    var sc_security="d53f70b9";
    </script>

    <script type="text/javascript" language="javascript" src="http://www.statcounter.com/counter/counter.js"></script>
    <!-- End of StatCounter Code -->
    </div>
    </div>
    </div>
    <!-- END: FOOTER -->

    </div>
    </div>

    <?php mosLoadModules( 'debug', -1 );?>
    <div align="center"></div>
    <script src="http://www.google-analytics.com/urchin.js" type="text/javascript">
    </script>
    <script type="text/javascript">
    _uacct = "UA-1433473-1";
    urchinTracker();
    </script>

    </body>

    </html>[/HTML]

    La sorgente della pagina la potete vedere su http://www.neohw.com


  • User Attivo

    Presumo sia il modulo che usi per partners nella colonna sx:
    [HTML]<div class="moduletable">
    <h3>

    				Partners				</h3>
    			<p>
    

    <a href="http://www.deux.it" target="_blank">Deux Ex Machina</a> <br />
    <a href="http://www.computerguru.it" target="_blank">Assistenza Milano</a><br />
    <a href="http://www.programmi-freeware.sielfree.com/">Software freeware</a><span style="color: #ffffff">{hidetags}</span>
    </p>
    <p>
     
    </p>

    <ul>
    </ul>
    </div>[/HTML]
    vedi perchè il modulo genera i tag ul per niente...


  • Bannato User Attivo

    Era proprio quello! Ho risolto 😄 adesso le pagine principali sono valide.


  • User

    ciao, anch'io ho un problema con lo stesso template..
    Il validator mi restituisce questo errore:

    Error Line 57 column 673: document type does not allow element "link" here.

    ...ss" rel="stylesheet" type="text/css"/>

    ma leggendo il file non trovo quella linea, trovo tre referenze simili una di seguito all'altra, ma non quella che genera l'errore..

    <?php
    /*------------------------------------------------------------------------

    JA Xenia 1.0 - Nov, 2006

    ------------------------------------------------------------------------

    Copyright (C) 2004-2006 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.com - http://www.joomlancers.com

    -------------------------------------------------------------------------*/

    defined( '_VALID_MOS' ) or die( 'Restricted access' );
    $iso = split( '=', _ISO );
    /echo "<?xml version="1.0" encoding="'. $iso[1] .'"?' .'>";/
    global $ja_color_themes, $ja_header_images, $ja_width_default, $ja_color_default, $ja_font_size_default, $ja_tool, $ja_menutype, $ja_template_path, $ja_template_absolute_path, $ja_headerimg, $ja_color, $ja_width, $ja_font_size, $ja_template_name;

    $ja_template_name = 'ja_xenia';

    BEGIN: TEMPLATE CONFIGURATIONS

    ####################################
    #support extra color themes
    $ja_color_themes = array('default', 'blue', 'green'); // You can add more color array if needed
    ####################################

    Change the width of the template

    $ja_width_default = 'wide'; // 'narrow': 800x600; 'wide': 1024x768; 'auto': fluid width

    default color

    $ja_color_default = 'default'; //blank for default, else pick one of in extra color themes $ja_color_themes
    #font size default
    $ja_font_size_default = 3;

    Enable users option

    $ja_tool = 3; // 0: disable all; 1: disable color, enable font; 2: enable color, disable font; 3: enable all.

    Choose your prefer Menu Type

    $ja_menutype = 1; // 1: Split Menu; 2: Son of Suckerfish Dropdown Menu; 3: Transmenu; 4: Script Dropline Menu;

    END: TEMPLATE CONFIGURATIONS

    Define the template path

    $ja_template_path = $mosConfig_live_site.'/templates/'.$ja_template_name;
    $ja_template_absolute_path = $mosConfig_absolute_path.'/templates/'.$ja_template_name;
    include ($ja_template_absolute_path."/ja_templatetools.php");

    $topnav = "";
    $subnav = "";
    if ($ja_menutype == 1) {
    require($ja_template_absolute_path."/ja_splitmenu.php");
    $topnav = ja_topNav('mainmenu', array('default'));
    $subnav = ja_subNav('mainmenu');
    } else if ($ja_menutype == 4) {
    require($ja_template_absolute_path."/ja_scriptdlmenu.php");
    $topnav = $jamenu->menuObj->main;
    $subnav = $jamenu->menuObj->sub;
    }

    Auto Collapse Divs Functions

    $ja_left = mosCountModules( 'left' );
    $ja_right = mosCountModules( 'right' );

    if ( $ja_left && $ja_right ) {
    $divid = '';
    } elseif ( $ja_left ) {
    $divid = '-fr';
    } elseif ( $ja_right ) {
    $divid = '-fl';
    } else {
    $divid = '-f';
    }

    ?>

    <!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 http-equiv="Content-Type" content="text/html; <?php echo _ISO; ?>" />
    <meta http-equiv="Content-Style-Type" content="text/css" />

    <link href="<?php echo $ja_template_path;?>/css/template_css.css" rel="stylesheet" type="text/css" />
    <link href="<?php echo $ja_template_path;?>/css/colors/<?php echo $ja_color; ?>.css" rel="stylesheet" type="text/css" />
    <link href="<?php echo $ja_template_path;?>/css/ja-news.css" rel="stylesheet" type="text/css" />
    <script language="javascript" type="text/javascript" src="<?php echo $ja_template_path;?>/scripts/ja.script.js"></script>

    <?php genMenuHead(); ?>

    <?php if ( $my->id ) { initEditor(); } ?>

    <!--[if lte IE 6]>
    <style type="text/css">
    .clearfix { height: 1%;}
    </style>
    <![endif]-->

    <!--[if gte IE 7.0]>
    <style type="text/css">
    .clearfix { display: inline-block;}
    </style>
    <![endif]-->
    </head>

    <body id="bd" class="<?php echo "$ja_width fs".$ja_font_size;?>">

    <a title="Skip to content" href="<?php echo getCurrentURL();?>#Content" style="display: none;">Skip to content</a>
    <a name="Top" id="Top"></a>

    <div id="ja-wrapper">
    <div id="ja-wrapper-inner">

    <!-- BEGIN: HEADER -->
    <div id="ja-headerwrap">
    <div id="ja-header" class="clearfix">
    <h1>
    <a href="index.php">
    <img src="<?php echo $ja_template_path;?>/images/logo-<?php echo $ja_color; ?>.jpg" alt="<?php echo $mosConfig_sitename?>" />
    </a>
    </h1>

    	<div id="ja-topnavwrap" class="clearfix">
    		<?php mosLoadModules ( 'user3', -1 ); ?>
    	</div>
    
    	<?php if (mosCountModules('user4')) {?>
    	<div id="ja-search">
    		<?php mosLoadModules ( 'user4', -1 ); ?>
    	</div>
    	<?php } ?>
    
    </div>
    

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

    <!-- BEGIN: MAIN NAVIGATION -->
    <div id="ja-mainnavwrap" class="clearfix">
    <div id="ja-mainnav">
    <?php
    switch ($ja_menutype) {
    case 1: echo $topnav;
    break;
    case 2:
    include($ja_template_absolute_path."/ja_cssmenu.php");
    break;
    case 3:
    echo "<div class="transmenu-inner">";
    include($ja_template_absolute_path."/ja_transmenu.php");
    echo "</div>";
    case 4:
    echo $topnav;
    break;
    }
    ?>
    </div>

    <?php if ($ja_tool) {?>
    <div id="ja-usertoolswrap">
    <span class="ja-sitetool">Site Tools</span>
    <div id="ja-usertools" style="left:<?php echo ($ja_tool==3)?-120:(($ja_tool==2)?0:-60); ?>px">
    <?php genToolMenu($ja_tool); ?>
    </div>
    </div>
    <?php } ?>
    </div>

    <div class="ja-mainnavshadow"></div>

    <?php if ($subnav) { ?>
    <div id="ja-subnav" class="clearfix">
    <?php echo $subnav; ?> 
    </div>
    <?php } ?>

    <div id="ja-containerwrap">
    <div id="ja-container<?php echo $divid ?>" class="clearfix">

    	<!-- BEGIN: CONTENT -->
    	<div id="ja-mainbody<?php echo $divid; ?>">
        
        <?php if( mosCountModules('header') ) {?>
            <div id="ja-sh" class="clearfix">
                <?php mosLoadModules('header', -1); ?>
            </div>
        <?php } ?>
    
    	<a name="Content" id="Content"></a>
    	<div id="ja-contentwrap">
    		<div id="ja-content">
    			<div id="ja-pathway">
    				<strong>You are here:</strong> <?php mosPathway(); ?>
    			</div>
    
    			<?php 	
    			$spotlight = array ('user1','user2','top');
    			$topspl = calSpotlight ($spotlight);
    			if( $topspl ) { 
    			?>
    			<!-- BEGIN: TOP SPOTLIGHT -->
    			<div id="ja-topslwrap">
    				<div id="ja-topsl" class="clearfix">
    				  <?php if( mosCountModules('user1') ) {?>
    				  <div id="ja-topsl1" class="ja-box<?php echo $topspl['modules']['user1']; ?>" style="width: <?php echo $topspl['width']; ?>;">
    				    <?php mosLoadModules('user1', -2); ?>
    				  </div>
    				  <?php } ?>
    				  
    				  <?php if( mosCountModules('user2') ) {?>
    				  <div id="ja-topsl2" class="ja-box<?php echo $topspl['modules']['user2']; ?>" style="width: <?php echo $topspl['width']; ?>;">
    				    <?php mosLoadModules('user2', -2); ?>
    				  </div>
    				  <?php } ?>
    				  
    				  <?php if( mosCountModules('top') ) {?>
    				  <div id="ja-topsl3" class="ja-box<?php echo $topspl['modules']['top']; ?>" style="width: <?php echo $topspl['width']; ?>;">
    				    <?php mosLoadModules('top', -2); ?>
    				  </div>
    				  <?php } ?>
    				</div>
    			</div>
    			<!-- END: TOP SPOTLIGHT -->
    			<?php } ?>
    			<?php
    			global $mainframe, $option;
    			$m_menu = $mainframe->get( 'menu' );
    			$m_params = new mosParameters( $m_menu->params );	
    
    			$m_intro		= $m_params->def( 'intro', 	4 );
    			$m_leading 	= $m_params->def( 'leading', 	1 );
    			if ( $option != 'com_frontpage' || $m_intro || $m_leading) { 
    			?>
    			<?php mosMainBody(); ?>
    			<?php } ?>
    			<?php if ( mosCountModules('ja-news') ) { ?>
    			<div id="ja-newswrap">	  
    				<?php mosLoadModules ( 'ja-news', -2 ); ?>	  	  
    			</div>
    			<?php } ?>
    			
    			<?php if ( mosCountModules('banner') ) { ?>
    			<div id="ja-banner">
    				<?php	echo mosLoadModules ( 'banner',-1 ); ?>
    			</div>
    			<?php } ?>
    
    		</div>
    	</div>
    
    	<?php if ($ja_right) { ?>
    	<!-- BEGIN: RIGHT COLUMN -->
    	<div id="ja-rightcol">
    		<div id="ja-rightcol-inner">
    			<?php	echo
    				mosLoadModules ( 'right',-3 );
    			?>
    		</div>
    	</div>
    	<!-- END: RIGHT COLUMN -->
    	<?php } ?>
    
    	</div>
    	<!-- END: CONTENT -->
    
    	<?php if ($ja_left) { ?>
    	<!-- BEGIN: LEFT COLUMN -->
    		<div id="ja-leftcol">
    			<?php	echo
    				mosLoadModules ( 'left',-2 );
    			?>
    		</div>
    	<br />
    	<!-- END: LEFT COLUMN -->
    	<?php } ?>
    
    </div>
    

    </div>

    <!-- BEGIN: FOOTER -->
    <div id="ja-footerwrap">
    <?php
    $spotlight = array ('user7','user8','user9');
    $botsl = calSpotlight ($spotlight);
    if( $botsl ) {
    ?>
    <div id="ja-botsl" class="clearfix">
    <?php if( mosCountModules('user7') ) {?>
    <div class="ja-box<?php echo $botsl['modules']['user7']; ?>" style="width: <?php echo $botsl['width']; ?>;">
    <?php mosLoadModules('user7', -2); ?>
    </div>
    <?php } ?>

    <?php if( mosCountModules('user8') ) {?>
    <div class="ja-box<?php echo $botsl['modules']['user8']; ?>" style="width: <?php echo $botsl['width']; ?>;">
    <?php mosLoadModules('user8', -2); ?>
    </div>
    <?php } ?>

    <?php if( mosCountModules('user9') ) {?>
    <div class="ja-box<?php echo $botsl['modules']['user9']; ?>" style="width: <?php echo $botsl['width']; ?>;">
    <?php mosLoadModules('user9', -2); ?>
    </div>
    <?php } ?>
    </div>
    <?php } ?>
    <div class="clr" ></div>
    <div id="ja-footer">
    <div id="ja-sublogo">
    <a href="index.php">
    <img src="<?php echo $ja_template_path;?>/images/sub-logo.gif" alt="<?php echo $mosConfig_sitename?>" />
    </a>
    </div>
    <p id="ja-bottomline">
    <?php include_once( $ja_template_absolute_path.'/footer.php' ); ?>
    </p>

    <div id="ja-cert">
     <a href="<?php echo $mosConfig_live_site ?>/index.php?option=com_rss&amp;feed=RSS2.0&amp;no_html=1" target="_blank" title="RSS 2.0" style="text-decoration: none;">
    	<img src="<?php echo $ja_template_path;?>/images/but-rss.gif" alt="RSS 2.0" />
     </a>
    	<?php if ($ja_menutype != 3 ) { ?>
    	<a href="http://jigsaw.w3.org/css-validator/validator?uri=<?php echo $mosConfig_live_site;?>" target="_blank" title="Our site is valid CSS" style="text-decoration: none;">
    		<img src="<?php echo $ja_template_path;?>/images/but-css-<?php echo $ja_color; ?>.gif" alt="Our site is valid CSS" />
    	</a>
    	<?php } ?>
    	<a href="http://validator.w3.org/check/referer" target="_blank" title="Our site is valid XHTML 1.0 Transitional" style="text-decoration: none;">
    		<img src="<?php echo $ja_template_path;?>/images/but-xhtml10-<?php echo $ja_color; ?>.gif" alt="Our site is valid XHTML 1.0 Transitional" />
    	</a>
    	<a href="<?php echo getCurrentURL();?>#Top" title="Go to top" style="text-decoration: none;">
    		<img src="<?php echo $ja_template_path;?>/images/but-top-<?php echo $ja_color; ?>.gif" alt="Go to top!" />
    	</a>
    </div>	
    

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

    </div>
    </div>

    <?php mosLoadModules( 'debug', -1 );?>
    </body>

    </html>


  • User

    con l'opzione verbose ho tovato la riga.. ma come fare ad eliminare l'errore?

    <div id="ja-topnavwrap" class="clearfix">
    <ul id="mainlevel-nav"><li><a href="http://www.pinkwall.net/philobook2/index.php" class="mainlevel-nav" >Home</a></li><li><a href="http://www.pinkwall.net/philobook2/index.php?option=com_contact&Itemid=3" class="mainlevel-nav" >Contattaci</a></li><li><a href="http://www.pinkwall.net/philobook2/index.php?option=com_content&task=section&id=1&Itemid=2" class="mainlevel-nav" >Notizie</a></li><li><a href="http://www.pinkwall.net/philobook2/index.php?option=com_weblinks&Itemid=23" class="mainlevel-nav" >Collegamenti web</a></li></ul><link href="http://www.pinkwall.net/philobook2/modules/mod_jflanguageselection.css" rel="stylesheet" type="text/css"/>
    <label for="jflanguageselection" class="jflanguageselection">Seleziona</label>


  • User Attivo

    @gnappoman said:

    ciao, anch'io ho un problema con lo stesso template..
    Il validator mi restituisce questo errore:

    Error Line 57 column 673: document type does not allow element "link" here.

    ...ss" rel="stylesheet" type="text/css"/>

    ma leggendo il file non trovo quella linea, trovo tre referenze simili una di seguito all'altra, ma non quella che genera l'errore..

    Molto probabile che un componente piazzi un tag <link> dentro il <body> per far caricare il suo css, quando quel tag deve essere dentro <head>.

    Link del sito?


  • User Attivo

    ah ecco è un modulo...
    cerca dove lo genera, commentalo e metti dentro il file template fra <head></head> ...