Viewing 15 posts - 1 through 15 (of 15 total)
  • Author
    Posts
  • pelaestrada Friend
    #155507

    Good Moorning guys, please, in my index.php page on http://tiete.iof.mg.gov.br apears de code –> –!> and i have no idea to remove them.

    Can you guide me?

    Thanks

    Phill Moderator
    #359840

    Wierd, the head of your html is a mess. Do you still get the same if you switch to another template?

    pelaestrada Friend
    #359845

    phill luckhurst, my website need to follow a series of rules and procedures of government. However, they do not match anything in joomla.

    But as we evaluated this mess ended up there so I can olding the requirements of prerequisites.

    thanks. I tried with another template and do not show.

    Phill Moderator
    #359847

    There seems to be a <head> tag in the wrong place. If you could PM me an admin logon I will see if I can take a look.

    Phill Moderator
    #359850

    <em>@phill luckhurst 199604 wrote:</em><blockquote>There seems to be a <head> tag in the wrong place. If you could PM me an admin logon I will see if I can take a look.</blockquote>
    I’ve recieved your PM thanks. I’m having a little trouble logging on to your site due to a very poor internet connection here in the office. I shall investigate your problem when I get home later this evening.

    pelaestrada Friend
    #359858

    thanks phill, I’m waiting

    Phill Moderator
    #359893

    Hopefully that is fixed for you. It is very hard for me to tell because your site, both back and front end, is loading extremely slowly for me here in the UK. This is probably not a problem your end but the infrastructure between us.

    I have removed some unneeded code from your index.php file and things seem to look better.

    While looking in your back end I noticed that you are still running version 1.5.14 of Joomla. You are running quite a few vesrions behind so you really need to upgrade that asap. Currently you are at risk.

    The most recent version of Joomla can be found over at http://www.joomla.org along with instructions.

    pelaestrada Friend
    #359898

    owww, baga, sorry phill. I send another PM to you now, i send to you the whrong adress, but, no problem. Your chance its very welcome.

    Thanks

    Phill Moderator
    #359905

    Not received a new PM.

    Phill Moderator
    #359923

    I’ve got your new PM but your site is taken 10+minutes to load so I am unable to logon. Please zip and send me your templates>ja_opal>index.php file

    pelaestrada Friend
    #360648

    strange, normally enter here. Sometimes it takes because the admin connects to a virtual machine here. However, I will send you the template via PM, thanks

    Phill Moderator
    #360665

    Please replace all the code in your index.php with the code below. Seems to be a lot of mistakes.


    <?php
    /*------------------------------------------------------------------------
    # JA Opal for Joomla 1.5 - Version 1.0 - Licence Owner jSharing.com
    # ------------------------------------------------------------------------
    # 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.com - http://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 Strict//EN"
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="<?php echo $this->language; ?>" lang="<?php echo $this->language; ?>" >
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <?php
    // remove mootools 1.11 para guests e utilizadores reguistados
    // $utilizador =& JFactory::getUser();
    //if ($utilizador->get('guest') == 1 or $utilizador->usertype == 'Registered') {
    // $headerstuff = $this->getHeadData();
    // $headerstuff['scripts'] = array();
    // $this->setHeadData($headerstuff);
    // }
    ?>
    <head>
    <jdoc:include type="head" />
     
    <!-- A framework javascript que desejar -->
    <script type="text/javascript" src="media/system/js/mootools.js"></script>
    <?php //Remove 'caption.js'
    $header_data = $this->getHeadData();
    reset($header_data['scripts']);
    foreach($header_data['scripts'] as $key=>$value) {
    if(strpos($key, 'caption.js')) {
    unset($header_data['scripts'][$key]);
    }
    }
    $this->setHeadData($header_data); ?>
    <!-- outro codigo -->
    <jdoc:include type="head" />
    <?php JHTML::_('behavior.mootools'); ?>
    <link rel="stylesheet" href="<?php echo $tmpTools->templateurl(); ?>/css/template.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 -->
    <meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" />
    <!-- Menu head -->
    <?php if ($jamenu) $jamenu->genMenuHead(); ?>
    <link href="http://www.iof.mg.gov.br/templates/tpl_opal_j15-2/css/colors/default.css" rel="stylesheet" type="text/css" />
    <!-->
    <style type="text/css">
    .clearfix {display: inline-block;}
    </style>
    <!-->
    <!-->
    <style type="text/css">
    .clearfix {display: block;}
    </style>
    <!-->
    <!-->
    <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
    $mainbg = '';
    if ($tmpTools->getParam('ja_bgimg')) {
    $mainbg = 'class="ja-mainbg"';
    }
    ?>

    <style type="text/css">

    body {
    background-image: url();
    background-repeat: repeat-x;
    margin-left: 0px;
    margin-top: 0px;
    margin-right: 0px;
    margin-bottom: 0px;
    }

    </style>
    </head>

    <div id="recipiente">

    <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 align="center" id="img-gover">
    <img src="templates/tpl_opal_j15-2/images/govMinas-barra.jpg" alt="" width="1024" height="27" border="0" usemap="#Map2" />
    <map name="Map2" id="Map2">
    <area shape="rect" coords="6,2,92,23" href="http://www.mg.gov.br" target="_blank" alt="" />
    </map>
    </div>

    <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="menu-superior">
    <jdoc:include type="modules" name="menusup" style="raw" tabindex='1' accesskey='1' />
    </div>

    <div class="main clearfix">
    <?php if ($this->countModules('menusup')) : ?>

    <?php endif; ?>
    <?php if ( $this->countModules('banner') ) { ?>
    <div id="ja-banner">
    <jdoc:include type="modules" name="banner" style="raw" tabindex='3' accesskey='3'/>
    </div>

    <?php } ?>
    <?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>
    <script src="http://www.google.com/jsapi?key=ABQIAAAApPtdTrHooUP6G8q_w31t0BSgS_ccSdg-ORZV5YvuGYHL2TlRJxSFROB-OcV8toEN2GeOtp9jvy4SRQ" type="text/javascript"></script>
    <?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 } ?>
    </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); ?>
    <?php if($this->countModules('ja-login')) : ?>
    <div id="ja-headtools" class="ja-headtool">
    <ul>
    <jdoc:include type="modules" name="ja-login" />
    </ul>
    </div>
    <?php endif; ?>
    </div>
    </div>
    </div>
    <!-- //MAIN NAVIGATION -->
    <!-- PATHWAY -->
    <div id="ja-pathway" class="wrap">
    <div class="main">
    <div class="inner clearfix">
    <div class="ja-pathway-text"> <strong>Você está aqui:</strong>
    <jdoc:include type="module" name="breadcrumbs" />
    </div>
    <?php if ($this->countModules('user4')) { ?>
    <div id="ja-search">
    <jdoc:include type="modules" name="user4" style="raw" />
    </div>
    <?php } ?>
    </div>
    </div>
    </div>
    <!-- //PATHWAY -->
    <?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" tabindex='2' accesskey='2' />
    </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>
    <p>
    <?php } ?>
    </p>
    <?php if( $this->countModules('user7') ) {?>
    <?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="rodape-imagens"> <a href="http://www.mg.gov.br" target="_blank"> <img src="../../images/images/banners-home_01.jpg" width="182" height="69" border="0" alt="" /></a> <a href="http://www.abio.com.br/index.asp" target="_blank"> <img src="../../images/images/banners-home_02.jpg" width="154" height="69" border="0" alt="" /></a> <a href="http://www.tjmg.gov.br/" target="_blank"> <img src="../../images/images/banners-home_03.jpg" width="192" height="69" border="0" alt="" /></a> <a href="http://www.servas.org.br/" target="_blank"> <img src="../../images/images/banners-home_04.jpg" width="195" height="69" border="0" alt="" /></a><br />
    <img src="templates/tpl_opal_j15-2/images/governoMinasRod.png" width="753" height="30" border="0" usemap="#Map" alt="" />
    <map name="Map" id="Map">
    <area shape="rect" coords="556,4,756,34" href="index.php?option=com_content&view=article&id=113&Itemid=97" />
    </map>
    </div>

    <div id="ja-footer" class="wrap">
    <div class="main clearfix">
    <jdoc:include type="modules" name="user3" />
    <jdoc:include type="modules" name="footer" />
    </div>
    <div align="center">
    </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>
    <div align="center">
    </div>

    </div>

    </body>
    </html>

    pelaestrada Friend
    #360672

    Thanks Phill, it works perfectly!!!

    Phill Moderator
    #360675

    Excellent news.

    For future reference, download the free notepad++ as it is very good at highlighting code errors.

    http://notepad-plus-plus.org/release/5.8.2

    pelaestrada Friend
    #360765

    Thanks Phill, i will use notepad++ excelent program.

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

This topic contains 15 replies, has 2 voices, and was last updated by  pelaestrada 13 years, 12 months ago.

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